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
416 0 0 59

Details

org/owasp/dependencycheck/CliParser.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 364
 Error javadoc JavadocStyle First sentence should end with a period. 1133

org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Expected @param tag for 'engine'. 192
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally). 213
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally). 227
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally). 234

org/owasp/dependencycheck/analyzer/PinnedMavenInstallAnalyzer.java

Severity Category Rule Message Line
 Error coding FinalLocalVariable Variable 'jsonNode' should be declared final. 126
 Error coding FinalLocalVariable Variable 'v2Version' should be declared final. 127
 Error coding FinalLocalVariable Variable 'v010Version' should be declared final. 128
 Error modifier RedundantModifier Redundant 'public' modifier. 328
 Error modifier RedundantModifier Redundant 'public' modifier. 332
 Error javadoc JavadocVariable Missing a Javadoc comment. 355
 Error javadoc JavadocVariable Missing a Javadoc comment. 356

org/owasp/dependencycheck/analyzer/YarnAuditAnalyzer.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'final' modifier. 283

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

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

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.time.Instant. 20
 Error imports UnusedImports Unused import - java.time.ZoneId. 21

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.owasp.dependencycheck.utils.DateUtil. 32

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

Severity Category Rule Message Line
 Error coding FinalLocalVariable Variable 'url' should be declared final. 141
 Error coding FinalLocalVariable Variable 'lastModifiedRequest' should be declared final. 222
 Error coding FinalLocalVariable Variable 'items' should be declared final. 349
 Error sizes LineLength Line is longer than 150 characters (found 169). 376
 Error sizes LineLength Line is longer than 150 characters (found 162). 380
 Error javadoc JavadocMethod Expected @param tag for 'pattern'. 592
 Error coding FinalLocalVariable Variable 'metaPattern' should be declared final. 603
 Error coding FinalLocalVariable Variable 'props' should be declared final. 612
 Error javadoc JavadocVariable Missing a Javadoc comment. 641
 Error javadoc JavadocVariable Missing a Javadoc comment. 643

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

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 38
 Error coding FinalLocalVariable Variable 'fieldName' should be declared final. 48
 Error coding EqualsAvoidNull String literal expressions should be on the left side of an equals comparison. 49

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

Severity Category Rule Message Line
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 26
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 28

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.commons.io.IOUtils. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 38

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

Severity Category Rule Message Line
 Error coding FinalLocalVariable Variable 'entry' should be declared final. 117

org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java

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

org/owasp/dependencycheck/processing/BundlerAuditProcessor.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 150 characters (found 160). 314
 Error javadoc JavadocMethod Expected @param tag for 'gemFile'. 314

org/owasp/dependencycheck/reporting/ReportGenerator.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 126
 Error sizes LineLength Line is longer than 150 characters (found 177). 129

org/owasp/dependencycheck/reporting/ReportTool.java

Severity Category Rule Message Line
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 125

org/owasp/dependencycheck/utils/Downloader.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.OutputStream. 25
 Error imports UnusedImports Unused import - java.util.zip.GZIPInputStream. 36
 Error coding FinalLocalVariable Variable 'buffer' should be declared final. 141
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 144

org/owasp/dependencycheck/utils/Utils.java

Severity Category Rule Message Line
 Error coding FinalLocalVariable Variable 'runtimeVersion' should be declared final. 66
 Error coding FinalLocalVariable Variable 'parts' should be declared final. 79
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 121