The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 223 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–478 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 97 |
CommentRequired | Public method and constructor comments are required | 100–105 |
MissingOverride | The method 'getDescription()' is missing an @Override annotation. | 110–113 |
MissingOverride | The method 'getName()' is missing an @Override annotation. | 118–121 |
MissingOverride | The method 'getVersion()' is missing an @Override annotation. | 126–129 |
MissingOverride | The method 'indexDocuments()' is missing an @Override annotation. | 134–157 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 137 |
MissingOverride | The method 'getDocuments(String)' is missing an @Override annotation. | 164–229 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 166 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 206–218 |
MissingOverride | The method 'isEnable()' is missing an @Override annotation. | 234–237 |
MissingOverride | The method 'getAdditionalFields()' is missing an @Override annotation. | 242–260 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 244 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 359 |
IdenticalCatchBranches | 'catch' branch identical to 'SAXException' branch | 360–362 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 361 |
UnusedFormalParameter | Avoid unused method parameters such as 'plugin'. | 389 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 412 |
IdenticalCatchBranches | 'catch' branch identical to 'SAXException' branch | 413–415 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 414 |
StringToString | Avoid calling toString() on String objects; this is unnecessary. | 417 |
UnusedFormalParameter | Avoid unused method parameters such as 'plugin'. | 441 |
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 445 |
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 446 |
MissingOverride | The method 'getResourcesName()' is missing an @Override annotation. | 455–458 |
MissingOverride | The method 'getResourceUid(String, String)' is missing an @Override annotation. | 463–477 |
ShortVariable | Avoid variables with short names like sb | 465 |
Rule | Violation | Line |
---|---|---|
MissingOverride | The method 'init()' is missing an @Override annotation. | 49–53 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.Reader' | 39 |
UnusedImports | Avoid unused imports such as 'java.io.StringReader' | 40 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–478 |
UnusedImports | Avoid unused imports such as 'java.io.Reader' | 4 | 39 |
UnusedImports | Avoid unused imports such as 'java.io.StringReader' | 4 | 40 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 97 |
CommentRequired | Public method and constructor comments are required | 3 | 100–105 |
MissingOverride | The method 'getDescription()' is missing an @Override annotation. | 3 | 110–113 |
MissingOverride | The method 'getName()' is missing an @Override annotation. | 3 | 118–121 |
MissingOverride | The method 'getVersion()' is missing an @Override annotation. | 3 | 126–129 |
MissingOverride | The method 'indexDocuments()' is missing an @Override annotation. | 3 | 134–157 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 137 |
MissingOverride | The method 'getDocuments(String)' is missing an @Override annotation. | 3 | 164–229 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 166 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 206–218 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 223 |
MissingOverride | The method 'isEnable()' is missing an @Override annotation. | 3 | 234–237 |
MissingOverride | The method 'getAdditionalFields()' is missing an @Override annotation. | 3 | 242–260 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 244 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 3 | 359 |
IdenticalCatchBranches | 'catch' branch identical to 'SAXException' branch | 3 | 360–362 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 3 | 361 |
UnusedFormalParameter | Avoid unused method parameters such as 'plugin'. | 3 | 389 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 3 | 412 |
IdenticalCatchBranches | 'catch' branch identical to 'SAXException' branch | 3 | 413–415 |
AvoidPrintStackTrace | Avoid printStackTrace(); use a logger call instead. | 3 | 414 |
StringToString | Avoid calling toString() on String objects; this is unnecessary. | 3 | 417 |
UnusedFormalParameter | Avoid unused method parameters such as 'plugin'. | 3 | 441 |
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 445 |
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 446 |
MissingOverride | The method 'getResourcesName()' is missing an @Override annotation. | 3 | 455–458 |
MissingOverride | The method 'getResourceUid(String, String)' is missing an @Override annotation. | 3 | 463–477 |
ShortVariable | Avoid variables with short names like sb | 3 | 465 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingOverride | The method 'init()' is missing an @Override annotation. | 3 | 49–53 |