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
19 0 0 107

Details

org/owasp/dependencycheck/App.java

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

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/agent/DependencyCheckScanAgent.java

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

org/owasp/dependencycheck/analyzer/CentralAnalyzer.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 312
 Error whitespace OperatorWrap '+' should be on a new line. 322
 Error whitespace OperatorWrap '+' should be on a new line. 323
 Error whitespace OperatorWrap '+' should be on a new line. 329

org/owasp/dependencycheck/analyzer/NodePackageAnalyzer.java

Severity Category Rule Message Line
 Error coding FinalLocalVariable Variable 'message' should be declared final. 199

org/owasp/dependencycheck/analyzer/OssIndexAnalyzer.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.sonatype.ossindex.service.client.transport.Transport.TransportException. 65
 Error whitespace OperatorWrap '||' should be on a new line. 135
 Error sizes LineLength Line is longer than 150 characters (found 173). 137

org/owasp/dependencycheck/analyzer/PoetryAnalyzer.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \*\s*$'. 15

org/owasp/dependencycheck/analyzer/YarnAuditAnalyzer.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 191
 Error whitespace OperatorWrap '+' should be on a new line. 197

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

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 163
 Error whitespace OperatorWrap '+' should be on a new line. 164
 Error sizes LineLength Line is longer than 150 characters (found 198). 165

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

Severity Category Rule Message Line
 Error sizes FileLength File length is 2,356 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 334 lines (max allowed is 180). 710
 Error sizes LineLength Line is longer than 150 characters (found 151). 1000
 Error sizes MethodLength Method updateOrInsertVulnerability length is 212 lines (max allowed is 180). 1163

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

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

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/VulnerableSoftware.java

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

org/owasp/dependencycheck/dependency/naming/CpeIdentifier.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 216
 Error javadoc JavadocMethod Expected @param tag for 'cpe'. 216
 Error sizes LineLength Line is longer than 150 characters (found 160). 220
 Error javadoc JavadocMethod @return tag should be present and have description. 229
 Error javadoc JavadocMethod Expected @param tag for 'vendor'. 229
 Error javadoc JavadocMethod Expected @param tag for 'product'. 229
 Error javadoc JavadocMethod Expected @param tag for 'version'. 229
 Error javadoc JavadocMethod @return tag should be present and have description. 239
 Error javadoc JavadocMethod Expected @param tag for 'cpe'. 239

org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java

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

org/owasp/dependencycheck/processing/BundlerAuditProcessor.java

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

org/owasp/dependencycheck/reporting/ReportGenerator.java

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

org/owasp/dependencycheck/utils/CvssUtil.java

Severity Category Rule Message Line
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 232
 Error coding FinalLocalVariable Variable 'parts' should be declared final. 259
 Error coding FinalLocalVariable Variable 'values' should be declared final. 260
 Error coding FinalLocalVariable Variable 'kv' should be declared final. 262
 Error coding FinalLocalVariable Variable 'version' should be declared final. 268
 Error coding FinalLocalVariable Variable 'attackVector' should be declared final. 270
 Error sizes LineLength Line is longer than 150 characters (found 153). 271
 Error coding FinalLocalVariable Variable 'attackComplexity' should be declared final. 271
 Error sizes LineLength Line is longer than 150 characters (found 159). 272
 Error coding FinalLocalVariable Variable 'attackRequirements' should be declared final. 272
 Error sizes LineLength Line is longer than 150 characters (found 159). 273
 Error coding FinalLocalVariable Variable 'privilegesRequired' should be declared final. 273
 Error coding FinalLocalVariable Variable 'userInteraction' should be declared final. 274
 Error coding FinalLocalVariable Variable 'vulnConfidentialityImpact' should be declared final. 275
 Error coding FinalLocalVariable Variable 'vulnIntegrityImpact' should be declared final. 276
 Error coding FinalLocalVariable Variable 'vulnAvailabilityImpact' should be declared final. 277
 Error coding FinalLocalVariable Variable 'subConfidentialityImpact' should be declared final. 278
 Error coding FinalLocalVariable Variable 'subIntegrityImpact' should be declared final. 279
 Error coding FinalLocalVariable Variable 'subAvailabilityImpact' should be declared final. 280
 Error sizes LineLength Line is longer than 150 characters (found 186). 281
 Error coding FinalLocalVariable Variable 'exploitMaturity' should be declared final. 281
 Error sizes LineLength Line is longer than 150 characters (found 196). 282
 Error coding FinalLocalVariable Variable 'confidentialityRequirement' should be declared final. 282
 Error sizes LineLength Line is longer than 150 characters (found 190). 283
 Error coding FinalLocalVariable Variable 'integrityRequirement' should be declared final. 283
 Error sizes LineLength Line is longer than 150 characters (found 193). 284
 Error coding FinalLocalVariable Variable 'availabilityRequirement' should be declared final. 284
 Error sizes LineLength Line is longer than 150 characters (found 210). 285
 Error coding FinalLocalVariable Variable 'modifiedAttackVector' should be declared final. 285
 Error sizes LineLength Line is longer than 150 characters (found 226). 286
 Error coding FinalLocalVariable Variable 'modifiedAttackComplexity' should be declared final. 286
 Error sizes LineLength Line is longer than 150 characters (found 234). 287
 Error coding FinalLocalVariable Variable 'modifiedAttackRequirements' should be declared final. 287
 Error sizes LineLength Line is longer than 150 characters (found 234). 288
 Error coding FinalLocalVariable Variable 'modifiedPrivilegesRequired' should be declared final. 288
 Error sizes LineLength Line is longer than 150 characters (found 222). 289
 Error coding FinalLocalVariable Variable 'modifiedUserInteraction' should be declared final. 289
 Error sizes LineLength Line is longer than 150 characters (found 196). 290
 Error coding FinalLocalVariable Variable 'modifiedVulnConfidentialityImpact' should be declared final. 290
 Error sizes LineLength Line is longer than 150 characters (found 190). 291
 Error coding FinalLocalVariable Variable 'modifiedVulnIntegrityImpact' should be declared final. 291
 Error sizes LineLength Line is longer than 150 characters (found 193). 292
 Error coding FinalLocalVariable Variable 'modifiedVulnAvailabilityImpact' should be declared final. 292
 Error sizes LineLength Line is longer than 150 characters (found 198). 293
 Error coding FinalLocalVariable Variable 'modifiedSubConfidentialityImpact' should be declared final. 293
 Error sizes LineLength Line is longer than 150 characters (found 195). 294
 Error coding FinalLocalVariable Variable 'modifiedSubIntegrityImpact' should be declared final. 294
 Error sizes LineLength Line is longer than 150 characters (found 198). 295
 Error coding FinalLocalVariable Variable 'modifiedSubAvailabilityImpact' should be declared final. 295
 Error coding FinalLocalVariable Variable 'safety' should be declared final. 296
 Error sizes LineLength Line is longer than 150 characters (found 172). 297
 Error coding FinalLocalVariable Variable 'automatable' should be declared final. 297
 Error sizes LineLength Line is longer than 150 characters (found 158). 298
 Error coding FinalLocalVariable Variable 'recovery' should be declared final. 298
 Error sizes LineLength Line is longer than 150 characters (found 174). 299
 Error coding FinalLocalVariable Variable 'valueDensity' should be declared final. 299
 Error sizes LineLength Line is longer than 150 characters (found 236). 300
 Error coding FinalLocalVariable Variable 'vulnerabilityResponseEffort' should be declared final. 300
 Error sizes LineLength Line is longer than 150 characters (found 186). 301
 Error coding FinalLocalVariable Variable 'providerUrgency' should be declared final. 301
 Error coding FinalLocalVariable Variable 'baseSeverity' should be declared final. 303
 Error coding FinalLocalVariable Variable 'threatScore' should be declared final. 305
 Error coding FinalLocalVariable Variable 'threatSeverity' should be declared final. 306
 Error coding FinalLocalVariable Variable 'environmentalScore' should be declared final. 307
 Error coding FinalLocalVariable Variable 'environmentalSeverity' should be declared final. 308
 Error coding FinalLocalVariable Variable 'cvssData' should be declared final. 310

org/owasp/dependencycheck/utils/ForbiddenException.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* This file is part of dependency-check-(ant|core|cli|maven|utils)\.\s*$'. 2
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 27
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 31