The following document contains the results of PMD 7.0.0.
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 535–537 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'raw': the method is declared in an interface type | 29 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'pruned': the method is declared in an interface type | 36 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 123–125 |
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 67 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 245–254 |
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 48 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 65–71 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 267–269 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 62 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'path'. | 43 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setName': the method is declared in an interface type | 162 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setLicenseFamilies': the method is declared in an interface type | 170 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'build': the method is declared in an interface type | 178 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'static final' on field 'GENTERATED_CATEGORY': the field is declared in an interface type | 27 |
UnnecessaryModifier | Unnecessary modifiers 'static final' on field 'UNKNOWN_CATEGORY': the field is declared in an interface type | 30 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFamilyName': an anonymous class cannot be extended | 68 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 106 |
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 118 |
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 68 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on enum 'Level': the enum is declared in an interface type | 32 |
UnnecessarySemicolon | Unnecessary semicolon | 53 |
Rule | Violation | Line |
---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 131 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'readConfigFiles' is already in scope | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'PLAIN_STYLESHEET' is already in scope because it is declared in an enclosing type | 139 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'UNAPPROVED_LICENSES_STYLESHEET' is already in scope because it is declared in an enclosing type | 147 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 485 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 583 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 61 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 64 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AddLicenseHeaders': 'values' is already in scope | 40 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'values' is already in scope | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'fromName' is already in scope | 108 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'fromURL' is already in scope | 118 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_NAMES' is already in scope because it is declared in an enclosing type | 64 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_EXTENSIONS' is already in scope because it is declared in an enclosing type | 71 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_EXTENSIONS' is already in scope because it is declared in an enclosing type | 72 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LicenseSetFactory': 'emptyLicenseSet' is already in scope | 105 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'readConfigFiles' is already in scope | 4 | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'PLAIN_STYLESHEET' is already in scope because it is declared in an enclosing type | 4 | 139 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Defaults': 'UNAPPROVED_LICENSES_STYLESHEET' is already in scope because it is declared in an enclosing type | 4 | 147 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 485 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 535–537 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 583 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 61 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 64 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'raw': the method is declared in an interface type | 3 | 29 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'pruned': the method is declared in an interface type | 3 | 36 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 123–125 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 67 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 245–254 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 3 | 48 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AddLicenseHeaders': 'values' is already in scope | 4 | 40 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 65–71 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'values' is already in scope | 4 | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'fromName' is already in scope | 4 | 108 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Format': 'fromURL' is already in scope | 4 | 118 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 267–269 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'path'. | 3 | 43 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_NAMES' is already in scope because it is declared in an enclosing type | 4 | 64 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_EXTENSIONS' is already in scope because it is declared in an enclosing type | 4 | 71 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NoteGuesser': 'NOTE_FILE_EXTENSIONS' is already in scope because it is declared in an enclosing type | 4 | 72 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setName': the method is declared in an interface type | 3 | 162 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setLicenseFamilies': the method is declared in an interface type | 3 | 170 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'build': the method is declared in an interface type | 3 | 178 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'static final' on field 'GENTERATED_CATEGORY': the field is declared in an interface type | 3 | 27 |
UnnecessaryModifier | Unnecessary modifiers 'static final' on field 'UNKNOWN_CATEGORY': the field is declared in an interface type | 3 | 30 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFamilyName': an anonymous class cannot be extended | 3 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 106 |
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LicenseSetFactory': 'emptyLicenseSet' is already in scope | 4 | 105 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on enum 'Level': the enum is declared in an interface type | 3 | 32 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 53 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 131 |