Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/owasp/dependencycheck/analyzer/CPEAnalyzer.java

Violation Line
Useless parentheses. 136
Useless parentheses. 207
These nested if statements could be combined 585 - 590
These nested if statements could be combined 586 - 589
These nested if statements could be combined 595 - 598

org/owasp/dependencycheck/analyzer/DependencyBundlingAnalyzer.java

Violation Line
Invoke equals() on the object you've already ensured is not null 220
These nested if statements could be combined 234 - 236

org/owasp/dependencycheck/analyzer/FalsePositiveAnalyzer.java

Violation Line
These nested if statements could be combined 152 - 171
Avoid empty if statements 156 - 158

org/owasp/dependencycheck/analyzer/JarAnalyzer.java

Violation Line
Useless parentheses. 337
Useless parentheses. 825
Avoid unused method parameters such as 'classes'. 963

org/owasp/dependencycheck/analyzer/JavaScriptAnalyzer.java

Violation Line
Avoid unused local variables such as 'extractComments'. 99

org/owasp/dependencycheck/analyzer/NvdCveAnalyzer.java

Violation Line
Useless parentheses. 78

org/owasp/dependencycheck/concurrency/DirectorySpinLock.java

Violation Line
These nested if statements could be combined 243 - 248

org/owasp/dependencycheck/data/cpe/BaseIndex.java

Violation Line
These nested if statements could be combined 111 - 113

org/owasp/dependencycheck/data/cpe/IndexEntry.java

Violation Line
Useless parentheses. 171
Useless parentheses. 174

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

Violation Line
These nested if statements could be combined 517 - 519
Useless parentheses. 664

org/owasp/dependencycheck/dependency/Dependency.java

Violation Line
Useless parentheses. 493
Useless parentheses. 496
Useless parentheses. 499
Useless parentheses. 502
Useless parentheses. 505
Useless parentheses. 508
Useless parentheses. 527
Useless parentheses. 530

org/owasp/dependencycheck/dependency/Evidence.java

Violation Line
Useless parentheses. 228

org/owasp/dependencycheck/dependency/Identifier.java

Violation Line
Useless parentheses. 150
Useless parentheses. 153

org/owasp/dependencycheck/dependency/Reference.java

Violation Line
Useless parentheses. 111
Useless parentheses. 114
Useless parentheses. 117

org/owasp/dependencycheck/dependency/Vulnerability.java

Violation Line
Useless parentheses. 375

org/owasp/dependencycheck/dependency/VulnerableSoftware.java

Violation Line
Useless parentheses. 139
Useless parentheses. 179
Useless parentheses. 184

org/owasp/dependencycheck/utils/Checksum.java

Violation Line
Useless parentheses. 103

org/owasp/dependencycheck/utils/DependencyVersion.java

Violation Line
Useless parentheses. 138
Useless parentheses. 198