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 | 33 |
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/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/analyzer/LibmanAnalyzer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | regexp | RegexpSingleline | Line matches the illegal pattern '\s+$'. | 212 |
org/owasp/dependencycheck/analyzer/UnusedSuppressionRuleAnalyzer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 36 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Error | regexp | RegexpSingleline | Line matches the illegal pattern '\s+$'. | 37 |
Error | whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 69 |
Error | whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 89 |
Error | regexp | RegexpSingleline | Line matches the illegal pattern '\s+$'. | 120 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 121 |
Error | regexp | RegexpSingleline | Line matches the illegal pattern '\s+$'. | 127 |
Error | regexp | RegexpSingleline | Line matches the illegal pattern '\s+$'. | 134 |
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. | 84 |
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/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/reporting/SarifRule.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Expected @param tag for 'cvssV4'. | 166 |