# PMD 6.22.0 Report

## PMD 6.22.0 Report. Generated on 2020-04-11 - 19:23:45

### Summary

Files | Total | Priority 1 | Priority 2 | Priority 3 | Priority 4 | Priority 5
--- | --- | --- | --- | --- | --- | ---
2 | 2 | 0 | 1 | 1 | 0 | 0

### Rules

Rule | Violations | Severity
--- | --- | ---
[Best Practices] GuardLogStatement | 1 | 2
[Best Practices] ForLoopCanBeForeach | 1 | 3

### Files

File | 5 | 4 | 3 | 2 | 1
--- | --- | --- | --- | --- | ---
/home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java | 0 | 0 | 0 | 1 | 0
/home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/benchmark/Benchmarker.java | 0 | 0 | 1 | 0 | 0

### File /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java

Violation | Error Description | Line
--- | --- | ---
2 | [Best Practices.GuardLogStatement] - Logger calls should be surrounded by log level guards. | 124 - 125

Back to top

### File /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/benchmark/Benchmarker.java

Violation | Error Description | Line
--- | --- | ---
3 | [Best Practices.ForLoopCanBeForeach] - This for loop can be replaced by a foreach loop | 58 - 62

Back to top