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
9 0 0 40

Details

org/owasp/dependencycheck/App.java

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

org/owasp/dependencycheck/CliParser.java

Severity Category Rule Message Line
 Error sizes MethodLength Method addAdvancedOptions length is 197 lines (max allowed is 180). 361
 Error sizes LineLength Line is longer than 150 characters (found 172). 501
 Error sizes LineLength Line is longer than 150 characters (found 184). 502
 Error sizes LineLength Line is longer than 150 characters (found 183). 503

org/owasp/dependencycheck/analyzer/YarnAuditAnalyzer.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocMethod Expected @param tag for 'dependency'. 113
 Error coding FinalLocalVariable Variable 'yarnVersion' should be declared final. 114
 Error coding FinalLocalVariable Variable 'semver' should be declared final. 116
 Error coding FinalLocalVariable Variable 'yarnVersion' should be declared final. 138
 Error javadoc JavadocMethod @return tag should be present and have description. 224
 Error javadoc JavadocMethod Expected @param tag for 'builder'. 224
 Error coding FinalLocalVariable Variable 'yarnMajorVersion' should be declared final. 267
 Error coding FinalLocalVariable Variable 'advisoriesJsonArray' should be declared final. 391
 Error coding FinalLocalVariable Variable 'advisories' should be declared final. 393
 Error coding FinalLocalVariable Variable 'advisory' should be declared final. 428
 Error coding FinalLocalVariable Variable 'object' should be declared final. 429
 Error coding FinalLocalVariable Variable 'moduleName' should be declared final. 430
 Error coding FinalLocalVariable Variable 'id' should be declared final. 431
 Error coding FinalLocalVariable Variable 'url' should be declared final. 432
 Error coding FinalLocalVariable Variable 'ghsaId' should be declared final. 433
 Error coding FinalLocalVariable Variable 'issue' should be declared final. 434
 Error coding FinalLocalVariable Variable 'severity' should be declared final. 435
 Error coding FinalLocalVariable Variable 'vulnerableVersions' should be declared final. 436
 Error coding FinalLocalVariable Variable 'treeVersions' should be declared final. 437
 Error coding FinalLocalVariable Variable 'treeVersionsLength' should be declared final. 438
 Error coding FinalLocalVariable Variable 'versions' should be declared final. 439
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 461
 Error coding FinalLocalVariable Variable 'lastSlashIndex' should be declared final. 465

org/owasp/dependencycheck/data/artifactory/ArtifactorySearchResponseHandler.java

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

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

Severity Category Rule Message Line
 Error sizes FileLength File length is 2,360 lines (max allowed is 2,000). 1
 Error sizes MethodCount Total number of methods is 89 (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 regexp RegexpSingleline Line matches the illegal pattern '\s+$'. 83

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

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

org/owasp/dependencycheck/dependency/Vulnerability.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 104

org/owasp/dependencycheck/reporting/ReportGenerator.java

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