PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 5
org/basepom/mojo/repack/ArtifactsLibraries.java
org/basepom/mojo/repack/PluginLog.java
| Rule |
Violation |
Line |
| ProperLogger |
Logger should be defined private static final and have the correct class |
27 |
org/basepom/mojo/repack/RepackMojo.java
org/basepom/mojo/repack/Reporter.java
| Rule |
Violation |
Line |
| UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
33–115 |
org/basepom/mojo/repack/Wildcard.java
| Rule |
Violation |
Line |
| CognitiveComplexity |
The method 'doGlobMatch(String, String)' has a cognitive complexity of 24, current threshold is 15 |
51–95 |
| CyclomaticComplexity |
The method 'doGlobMatch(String, String)' has a cyclomatic complexity of 11. |
51–95 |
Files
org/basepom/mojo/repack/ArtifactsLibraries.java
org/basepom/mojo/repack/PluginLog.java
| Rule |
Violation |
Priority |
Line |
| ProperLogger |
Logger should be defined private static final and have the correct class |
5 |
27 |
org/basepom/mojo/repack/RepackMojo.java
org/basepom/mojo/repack/Reporter.java
| Rule |
Violation |
Priority |
Line |
| UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
5 |
33–115 |
org/basepom/mojo/repack/Wildcard.java
| Rule |
Violation |
Priority |
Line |
| CognitiveComplexity |
The method 'doGlobMatch(String, String)' has a cognitive complexity of 24, current threshold is 15 |
5 |
51–95 |
| CyclomaticComplexity |
The method 'doGlobMatch(String, String)' has a cyclomatic complexity of 11. |
5 |
51–95 |