Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 9.3 with file:/home/runner/work/DependencyCheck/DependencyCheck/src/main/config/checkstyle-checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
8 0 0 18

Details

org/owasp/dependencycheck/analyzer/AbstractNpmAnalyzer.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.owasp.dependencycheck.dependency.Reference. 31
 Error regexp RegexpSingleline Line matches the illegal pattern '\s+$'. 508
 Error coding FinalLocalVariable Variable 'found' should be declared final. 508
 Error whitespace OperatorWrap '&&' should be on a new line. 508
 Error whitespace WhitespaceAround '->' is not followed by whitespace. 510
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 510

org/owasp/dependencycheck/data/composer/ComposerLockParser.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Expected @param tag for 'skipDev'. 65

org/owasp/dependencycheck/data/nvdcve/CveDB.java

Severity Category Rule Message Line
 Error sizes FileLength File length is 2,344 lines (max allowed is 2,000). 1
 Error sizes MethodCount Total number of methods is 87 (max allowed is 80). 79
 Error sizes MethodLength Method getVulnerability length is 338 lines (max allowed is 180). 710
 Error sizes LineLength Line is longer than 150 characters (found 151). 1005
 Error sizes MethodLength Method updateOrInsertVulnerability length is 212 lines (max allowed is 180). 1168

org/owasp/dependencycheck/data/update/KnownExploitedDataSource.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '=' should be on the previous line. 83

org/owasp/dependencycheck/data/update/NvdApiDataSource.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 150 characters (found 162). 388

org/owasp/dependencycheck/data/update/nvd/api/CveItemSource.java

Severity Category Rule Message Line
 Error annotation MissingDeprecated Javadoc comment at column 32 has parse error. Details: mismatched input 'if' expecting END while parsing HTML_ELEMENT_END 29
 Error javadoc JavadocStyle Extra HTML tag found: </code>. 30

org/owasp/dependencycheck/reporting/ReportGenerator.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 150 characters (found 177). 129

org/owasp/dependencycheck/utils/Settings.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line matches the illegal pattern '\s+$'. 453