PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 3
org/apache/maven/doxia/module/markdown/MarkdownParser.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 354–357 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 366–369 |
org/apache/maven/doxia/module/markdown/MarkdownSink.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'writer'. | 352 |
| EmptyControlStatement | Empty else statement | 1074–1076 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1321–1323 |
Priority 4
org/apache/maven/doxia/module/markdown/MarkdownParser.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type | 354 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type | 366 |
org/apache/maven/doxia/module/markdown/MarkdownSink.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `isInListItem() && (removedContext == ElementCon...`. | 412–413 |
| UselessParentheses | Useless parentheses around `isInListItem() && (newContext == ElementContext...`. | 428–429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_DEFAULT' is already in scope because it is inherited by an enclosing type | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type | 896 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type | 902 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type | 928 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_DEFAULT' is already in scope because it is inherited by an enclosing type | 940 |
Files
org/apache/maven/doxia/module/markdown/MarkdownParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 354–357 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type | 4 | 354 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 366–369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type | 4 | 366 |
org/apache/maven/doxia/module/markdown/MarkdownSink.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'writer'. | 3 | 352 |
| UselessParentheses | Useless parentheses around `isInListItem() && (removedContext == ElementCon...`. | 4 | 412–413 |
| UselessParentheses | Useless parentheses around `isInListItem() && (newContext == ElementContext...`. | 4 | 428–429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_DEFAULT' is already in scope because it is inherited by an enclosing type | 4 | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type | 4 | 896 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type | 4 | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type | 4 | 902 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type | 4 | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type | 4 | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type | 4 | 928 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Sink': 'JUSTIFY_DEFAULT' is already in scope because it is inherited by an enclosing type | 4 | 940 |
| EmptyControlStatement | Empty else statement | 3 | 1074–1076 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1321–1323 |


