PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/doxia/module/markdown/FlexmarkDoxiaLinkResolver.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'context'. 64
org/apache/maven/doxia/module/markdown/MarkdownParser.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 346349
CollapsibleIfStatements This if statement could be combined with its parent 358361

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 346
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type 358
org/apache/maven/doxia/module/markdown/MarkdownSink.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 626
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type 633
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type 636
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 654
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type 656
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type 658
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 670

Files

org/apache/maven/doxia/module/markdown/FlexmarkDoxiaLinkResolver.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'context'. 3 64

org/apache/maven/doxia/module/markdown/MarkdownParser.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 346349
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type 4 346
CollapsibleIfStatements This if statement could be combined with its parent 3 358361
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HtmlMarkup': 'DIV' is already in scope because it is inherited by an enclosing type 4 358

org/apache/maven/doxia/module/markdown/MarkdownSink.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 4 626
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type 4 633
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type 4 636
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 4 654
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_RIGHT' is already in scope because it is inherited by an enclosing type 4 656
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_CENTER' is already in scope because it is inherited by an enclosing type 4 658
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sink': 'JUSTIFY_LEFT' is already in scope because it is inherited by an enclosing type 4 670