Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
198 0 0 28

Details

org/owasp/dependencycheck/agent/DependencyCheckScanAgent.java

Violation Message Line
Errors Total number of methods is 72 (max allowed is 40). 60
Errors Expected an @return tag. 971

org/owasp/dependencycheck/analyzer/AssemblyAnalyzer.java

Violation Message Line
Errors Inner assignments should be avoided. 124
Errors Must have at least one statement. 239

org/owasp/dependencycheck/analyzer/JarAnalyzer.java

Violation Message Line
Errors Unused import - java.io.FileInputStream. 22
Errors Unused import - java.io.FileNotFoundException. 23
Errors Unused import - java.io.UnsupportedEncodingException. 30
Errors Unused import - javax.xml.transform.sax.SAXSource. 49
Errors Unused import - org.owasp.dependencycheck.utils.NonClosingStream. 60
Errors Unused import - org.owasp.dependencycheck.xml.pom.PomParser. 62
Errors Unused import - org.xml.sax.InputSource. 63
Errors Variable 'model' should be declared final. 423

org/owasp/dependencycheck/analyzer/JavaScriptAnalyzer.java

Violation Message Line
Errors Variable 'file' should be declared final. 114
Errors Variable 'sb' should be declared final. 116

org/owasp/dependencycheck/data/nexus/NexusSearch.java

Violation Message Line
Errors Variable 'url' should be declared final. 173

org/owasp/dependencycheck/dependency/Dependency.java

Violation Message Line
Errors Total number of methods is 56 (max allowed is 40). 43

org/owasp/dependencycheck/xml/pom/License.java

Violation Message Line
Errors Line does not match expected header line of '^ \* This file is part of dependency-check-(ant|core|cli|maven)\.\s*$'. 2
Errors Missing a Javadoc comment. 24
Errors Expected @param tag for 'name'. 33
Errors Expected @param tag for 'url'. 33

org/owasp/dependencycheck/xml/pom/PomHandler.java

Violation Message Line
Errors Must have at least one statement. 158
Errors Must have at least one statement. 169

org/owasp/dependencycheck/xml/pom/PomParseException.java

Violation Message Line
Errors Using the '.*' form of import should be avoided - org.owasp.dependencycheck.suppression.*. 20

org/owasp/dependencycheck/xml/pom/PomParser.java

Violation Message Line
Errors Unused import - java.util.List. 27
Errors Unable to get class information for @throws tag 'SuppressionParseException'. 80
Errors Unused @throws tag for 'SuppressionParseException'. 80
Errors Expected @throws tag for 'PomParseException'. 82

org/owasp/dependencycheck/xml/pom/PomUtils.java

Violation Message Line
Errors Variable 'parser' should be declared final. 58