PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/djunits/cleanup/ParamComments.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 196286

org/djunits/generator/GenerateDJUNIT.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'prefix'. 429
UnusedFormalParameter Avoid unused method parameters such as 'prefix'. 611

org/djunits/generator/URLResource.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 132135
EmptyCatchBlock Avoid empty catch blocks 225228

Priority 4

org/djunits/generator/GenerateCliConverters.java

Rule Violation Line
UselessParentheses Useless parentheses. 69

org/djunits/generator/GenerateDJUNIT.java

Rule Violation Line
UselessParentheses Useless parentheses. 241

org/djunits/generator/GenerateUSLocale.java

Rule Violation Line
UselessParentheses Useless parentheses. 113
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 123

Files

org/djunits/cleanup/ParamComments.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 196286

org/djunits/generator/GenerateCliConverters.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 69

org/djunits/generator/GenerateDJUNIT.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 241
UnusedFormalParameter Avoid unused method parameters such as 'prefix'. 3 429
UnusedFormalParameter Avoid unused method parameters such as 'prefix'. 3 611

org/djunits/generator/GenerateUSLocale.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 113
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 123

org/djunits/generator/URLResource.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 132135
EmptyCatchBlock Avoid empty catch blocks 3 225228