## dependency-check-core

## PMD Results

The following document contains the results of PMD 5.0.2.

## Files

### org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java

Violation | Line
--- | ---
These nested if statements could be combined | 140 - 143
These nested if statements could be combined | 305 - 308

### org/owasp/dependencycheck/analyzer/CPEAnalyzer.java

Violation | Line
--- | ---
Useless parentheses. | 136
Useless parentheses. | 207
These nested if statements could be combined | 588 - 593
These nested if statements could be combined | 589 - 592
These nested if statements could be combined | 598 - 601

### org/owasp/dependencycheck/analyzer/DependencyBundlingAnalyzer.java

Violation | Line
--- | ---
Invoke equals() on the object you've already ensured is not null | 221
These nested if statements could be combined | 235 - 237

### org/owasp/dependencycheck/analyzer/FalsePositiveAnalyzer.java

Violation | Line
--- | ---
These nested if statements could be combined | 154 - 175

### org/owasp/dependencycheck/analyzer/JarAnalyzer.java

Violation | Line
--- | ---
Useless parentheses. | 337
Useless parentheses. | 834
Avoid unused method parameters such as 'classes'. | 972

### 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