The following document contains the results of PMD 7.0.0.
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 365 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 469 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 623 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 298–303 |
CollapsibleIfStatements | This if statement could be combined with its parent | 338–345 |
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty for statement | 133–136 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 1296–1300 |
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 50 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 53 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 56 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 60 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 63 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 66 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'determineRelativePath': private methods cannot be overridden | 329 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'determineSeparator': private methods cannot be overridden | 365 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'buildRelativePath': private methods cannot be overridden | 388 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 653–656 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'sz'. | 283 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1003–1005 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'debug': private methods cannot be overridden | 285 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 124 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 172 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 220 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 273 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 310 |
EmptyControlStatement | Empty for statement | 408 |
EmptyControlStatement | Empty for statement | 488 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'multE': private methods cannot be overridden | 757 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'consumeLine': the method is declared in an interface type | 73 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 119 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'methodKey'. | 118 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'path'. | 34 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 281 |
UselessParentheses | Useless parentheses. | 282 |
UselessParentheses | Useless parentheses. | 283 |
UselessParentheses | Useless parentheses. | 315 |
UselessParentheses | Useless parentheses. | 327 |
UselessParentheses | Useless parentheses. | 328 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CollectionUtils': 'subtract' is already in scope | 73 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CollectionUtils': 'intersection' is already in scope | 74 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 86 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExceptionUtils': 'getCause' is already in scope | 292 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExceptionUtils': 'getThrowables' is already in scope | 346 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 578 |
UselessParentheses | Useless parentheses. | 939 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 201 |
UselessParentheses | Useless parentheses. | 212 |
UselessParentheses | Useless parentheses. | 1148 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'FS' is already in scope because it is declared in an enclosing type | 1590 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'FS' is already in scope because it is declared in an enclosing type | 1602 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Os': 'isFamily' is already in scope | 344 |
UselessParentheses | Useless parentheses. | 372 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 293 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 351 |
UselessParentheses | Useless parentheses. | 352 |
UselessParentheses | Useless parentheses. | 455 |
UselessParentheses | Useless parentheses. | 456 |
UselessParentheses | Useless parentheses. | 610 |
UselessParentheses | Useless parentheses. | 611 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 111 |
UselessParentheses | Useless parentheses. | 125 |
UselessParentheses | Useless parentheses. | 157 |
UselessParentheses | Useless parentheses. | 171 |
UselessParentheses | Useless parentheses. | 171 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 222 |
UselessParentheses | Useless parentheses. | 263 |
UselessParentheses | Useless parentheses. | 616 |
UselessParentheses | Useless parentheses. | 1659 |
UselessParentheses | Useless parentheses. | 1933 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 126 |
UselessParentheses | Useless parentheses. | 174 |
UselessParentheses | Useless parentheses. | 222 |
UselessParentheses | Useless parentheses. | 294 |
UselessParentheses | Useless parentheses. | 316 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'IllegalArgumentException' is already in scope because it is declared in java.lang | 628 |
Rule | Violation | Line |
---|---|---|
DontCallThreadRun | Dont call Thread.run() explicitly, use Thread.start() | 244 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 281 |
UselessParentheses | Useless parentheses. | 4 | 282 |
UselessParentheses | Useless parentheses. | 4 | 283 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 298–303 |
UselessParentheses | Useless parentheses. | 4 | 315 |
UselessParentheses | Useless parentheses. | 4 | 327 |
UselessParentheses | Useless parentheses. | 4 | 328 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 338–345 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CollectionUtils': 'subtract' is already in scope | 4 | 73 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CollectionUtils': 'intersection' is already in scope | 4 | 74 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 86 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExceptionUtils': 'getCause' is already in scope | 4 | 292 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExceptionUtils': 'getThrowables' is already in scope | 4 | 346 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty for statement | 3 | 133–136 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 578 |
UselessParentheses | Useless parentheses. | 4 | 939 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 201 |
UselessParentheses | Useless parentheses. | 4 | 212 |
UselessParentheses | Useless parentheses. | 4 | 1148 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1296–1300 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'FS' is already in scope because it is declared in an enclosing type | 4 | 1590 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'FS' is already in scope because it is declared in an enclosing type | 4 | 1602 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 50 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 53 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 56 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 60 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 63 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 66 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Os': 'isFamily' is already in scope | 4 | 344 |
UselessParentheses | Useless parentheses. | 4 | 372 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 293 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'determineRelativePath': private methods cannot be overridden | 3 | 329 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'determineSeparator': private methods cannot be overridden | 3 | 365 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'buildRelativePath': private methods cannot be overridden | 3 | 388 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 351 |
UselessParentheses | Useless parentheses. | 4 | 352 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 365 |
UselessParentheses | Useless parentheses. | 4 | 455 |
UselessParentheses | Useless parentheses. | 4 | 456 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 469 |
UselessParentheses | Useless parentheses. | 4 | 610 |
UselessParentheses | Useless parentheses. | 4 | 611 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 623 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 653–656 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 111 |
UselessParentheses | Useless parentheses. | 4 | 125 |
UselessParentheses | Useless parentheses. | 4 | 157 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 222 |
UselessParentheses | Useless parentheses. | 4 | 263 |
UnusedLocalVariable | Avoid unused local variables such as 'sz'. | 3 | 283 |
UselessParentheses | Useless parentheses. | 4 | 616 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1003–1005 |
UselessParentheses | Useless parentheses. | 4 | 1659 |
UselessParentheses | Useless parentheses. | 4 | 1933 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'debug': private methods cannot be overridden | 3 | 285 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 124 |
UselessParentheses | Useless parentheses. | 4 | 126 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 172 |
UselessParentheses | Useless parentheses. | 4 | 174 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 220 |
UselessParentheses | Useless parentheses. | 4 | 222 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 273 |
UselessParentheses | Useless parentheses. | 4 | 294 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 310 |
UselessParentheses | Useless parentheses. | 4 | 316 |
EmptyControlStatement | Empty for statement | 3 | 408 |
EmptyControlStatement | Empty for statement | 3 | 488 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'IllegalArgumentException' is already in scope because it is declared in java.lang | 4 | 628 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'multE': private methods cannot be overridden | 3 | 757 |
Rule | Violation | Priority | Line |
---|---|---|---|
DontCallThreadRun | Dont call Thread.run() explicitly, use Thread.start() | 4 | 244 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'consumeLine': the method is declared in an interface type | 3 | 73 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 119 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'methodKey'. | 3 | 118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'path'. | 3 | 34 |