PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/rat/analysis/matchers/SPDXMatcherFactory.java
Rule |
Violation |
Line |
UnnecessarySemicolon |
Unnecessary semicolon |
70 |
org/apache/rat/annotation/AbstractLicenseAppender.java
Rule |
Violation |
Line |
CollapsibleIfStatements |
These nested if statements could be combined |
241–249 |
org/apache/rat/configuration/builders/ChildContainerBuilder.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final |
61 |
org/apache/rat/license/ILicenseFamilyBuilder.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getFamilyName': an anonymous class cannot be extended |
68–70 |
org/apache/rat/utils/ReportingSet.java
Rule |
Violation |
Line |
UselessQualifiedThis |
Useless qualified this usage in the same class. |
131 |
Priority 4
org/apache/rat/analysis/DefaultAnalyserFactory.java
Rule |
Violation |
Line |
UnnecessaryImport |
Unused import 'org.apache.rat.utils.Log.Level' |
33 |
org/apache/rat/analysis/matchers/SPDXMatcherFactory.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
108 |
org/apache/rat/license/LicenseFamilySetFactory.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
118 |
org/apache/rat/license/LicenseSetFactory.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
221 |
org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
Rule |
Violation |
Line |
UnnecessaryImport |
Unused import 'org.apache.rat.report.xml.writer.impl.base.XmlWriter' |
27 |
Files
org/apache/rat/analysis/DefaultAnalyserFactory.java
Rule |
Violation |
Priority |
Line |
UnnecessaryImport |
Unused import 'org.apache.rat.utils.Log.Level' |
4 |
33 |
org/apache/rat/configuration/builders/ChildContainerBuilder.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final |
3 |
61 |
org/apache/rat/license/ILicenseFamilyBuilder.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getFamilyName': an anonymous class cannot be extended |
3 |
68–70 |
org/apache/rat/license/LicenseFamilySetFactory.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
118 |
org/apache/rat/license/LicenseSetFactory.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
221 |
org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
Rule |
Violation |
Priority |
Line |
UnnecessaryImport |
Unused import 'org.apache.rat.report.xml.writer.impl.base.XmlWriter' |
4 |
27 |
org/apache/rat/utils/ReportingSet.java
Rule |
Violation |
Priority |
Line |
UselessQualifiedThis |
Useless qualified this usage in the same class. |
3 |
131 |