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
12 0 0 10

Details

org/owasp/dependencycheck/App.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - io.github.jeremylong.jcs3.slf4j.Slf4jAdapter. 53
 Error sizes LineLength Line is longer than 150 characters (found 153). 324
 Error sizes LineLength Line is longer than 150 characters (found 155). 721

org/owasp/dependencycheck/CliParser.java

Severity Category Rule Message Line
 Error sizes MethodLength Method addAdvancedOptions length is 200 lines (max allowed is 180). 361

org/owasp/dependencycheck/PluginLoader.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline. 1
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 1
 Error javadoc JavadocType Type Javadoc comment is missing @author tag. 17
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 17
 Error coding FinalLocalVariable Variable 'pluginsDir' should be declared final. 26
 Error coding FinalLocalVariable Variable 'files' should be declared final. 28