The following document contains the results of PMD 6.55.0.
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 17–109 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–34 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 44–46 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 116 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 126 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'w': resource specifications are implicitly final | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 181 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 271 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 277 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 283–284 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 290 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 304 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 310 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 316 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 322 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 328 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 334 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 340 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 346 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 352 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 358 |
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 74–95 |
UnusedPrivateMethod | Avoid unused private methods such as 'isInJsRange(Number)'. | 749 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–1256 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'jsonPointers'. | 89 |
CollapsibleIfStatements | These nested if statements could be combined | 333–336 |
EmptyCatchBlock | Avoid empty catch blocks | 396–398 |
CollapsibleIfStatements | These nested if statements could be combined | 525–529 |
CollapsibleIfStatements | These nested if statements could be combined | 526–528 |
CollapsibleIfStatements | These nested if statements could be combined | 532–548 |
EmptyCatchBlock | Avoid empty catch blocks | 1152–1154 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'value'. | 572 |
EmptyControlStatement | Empty if statement | 935–939 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–382 |
CollapsibleIfStatements | These nested if statements could be combined | 288–296 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 156–158 |
EmptyCatchBlock | Avoid empty catch blocks | 169–171 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 53 |
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 61 |
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 69 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 75–77 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–647 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 95–100 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 31–33 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 453 |
UselessParentheses | Useless parentheses. | 453 |
UselessParentheses | Useless parentheses. | 455 |
UselessParentheses | Useless parentheses. | 455 |
UselessParentheses | Useless parentheses. | 458 |
UselessParentheses | Useless parentheses. | 458 |
UselessParentheses | Useless parentheses. | 467 |
UselessParentheses | Useless parentheses. | 467 |
UselessParentheses | Useless parentheses. | 586 |
UselessParentheses | Useless parentheses. | 595 |
UselessParentheses | Useless parentheses. | 751 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 123 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.NULL' due to existing static import 'jakarta.json.JsonValue.ValueType.NULL' | 618 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.TRUE' due to existing static import 'jakarta.json.JsonValue.ValueType.TRUE' | 623 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.FALSE' due to existing static import 'jakarta.json.JsonValue.ValueType.FALSE' | 626 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.STRING' due to existing static import 'jakarta.json.JsonValue.ValueType.STRING' | 634 |
UselessParentheses | Useless parentheses. | 634 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.STRING' due to existing static import 'jakarta.json.JsonValue.ValueType.STRING' | 637 |
UselessParentheses | Useless parentheses. | 637 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.TRUE' due to existing static import 'jakarta.json.JsonValue.ValueType.TRUE' | 642 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.FALSE' due to existing static import 'jakarta.json.JsonValue.ValueType.FALSE' | 645 |
UselessParentheses | Useless parentheses. | 657 |
UselessParentheses | Useless parentheses. | 667 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' | 720 |
UselessParentheses | Useless parentheses. | 1250–1251 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Generics.resolve' due to existing static import 'org.apache.johnzon.mapper.reflection.Generics.resolve' | 368 |
UselessParentheses | Useless parentheses. | 538–539 |
UselessParentheses | Useless parentheses. | 591 |
UselessParentheses | Useless parentheses. | 615 |
UselessParentheses | Useless parentheses. | 616 |
UselessParentheses | Useless parentheses. | 617 |
UselessParentheses | Useless parentheses. | 618 |
UselessParentheses | Useless parentheses. | 619 |
UselessParentheses | Useless parentheses. | 742 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 76 |
UselessParentheses | Useless parentheses. | 93 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 242–243 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 625 |
UselessParentheses | Useless parentheses. | 626 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' | 32 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 17–109 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–34 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 44–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 3 | 116 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 3 | 126 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'w': resource specifications are implicitly final | 3 | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final | 3 | 181 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 271 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 277 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 283–284 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 290 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 304 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 310 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 316 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 322 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 328 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 334 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 340 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 346 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 352 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final | 3 | 358 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 74–95 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 453 |
UselessParentheses | Useless parentheses. | 4 | 453 |
UselessParentheses | Useless parentheses. | 4 | 455 |
UselessParentheses | Useless parentheses. | 4 | 455 |
UselessParentheses | Useless parentheses. | 4 | 458 |
UselessParentheses | Useless parentheses. | 4 | 458 |
UselessParentheses | Useless parentheses. | 4 | 467 |
UselessParentheses | Useless parentheses. | 4 | 467 |
UselessParentheses | Useless parentheses. | 4 | 586 |
UselessParentheses | Useless parentheses. | 4 | 595 |
UnusedPrivateMethod | Avoid unused private methods such as 'isInJsRange(Number)'. | 3 | 749 |
UselessParentheses | Useless parentheses. | 4 | 751 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–1256 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'jsonPointers'. | 3 | 89 |
UselessParentheses | Useless parentheses. | 4 | 123 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 333–336 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 396–398 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 525–529 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 526–528 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 532–548 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.NULL' due to existing static import 'jakarta.json.JsonValue.ValueType.NULL' | 4 | 618 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.TRUE' due to existing static import 'jakarta.json.JsonValue.ValueType.TRUE' | 4 | 623 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.FALSE' due to existing static import 'jakarta.json.JsonValue.ValueType.FALSE' | 4 | 626 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.STRING' due to existing static import 'jakarta.json.JsonValue.ValueType.STRING' | 4 | 634 |
UselessParentheses | Useless parentheses. | 4 | 634 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.STRING' due to existing static import 'jakarta.json.JsonValue.ValueType.STRING' | 4 | 637 |
UselessParentheses | Useless parentheses. | 4 | 637 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.TRUE' due to existing static import 'jakarta.json.JsonValue.ValueType.TRUE' | 4 | 642 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'JsonValue.ValueType.FALSE' due to existing static import 'jakarta.json.JsonValue.ValueType.FALSE' | 4 | 645 |
UselessParentheses | Useless parentheses. | 4 | 657 |
UselessParentheses | Useless parentheses. | 4 | 667 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' | 4 | 720 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1152–1154 |
UselessParentheses | Useless parentheses. | 4 | 1250–1251 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Generics.resolve' due to existing static import 'org.apache.johnzon.mapper.reflection.Generics.resolve' | 4 | 368 |
UselessParentheses | Useless parentheses. | 4 | 538–539 |
UnusedFormalParameter | Avoid unused method parameters such as 'value'. | 3 | 572 |
UselessParentheses | Useless parentheses. | 4 | 591 |
UselessParentheses | Useless parentheses. | 4 | 615 |
UselessParentheses | Useless parentheses. | 4 | 616 |
UselessParentheses | Useless parentheses. | 4 | 617 |
UselessParentheses | Useless parentheses. | 4 | 618 |
UselessParentheses | Useless parentheses. | 4 | 619 |
UselessParentheses | Useless parentheses. | 4 | 742 |
EmptyControlStatement | Empty if statement | 3 | 935–939 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–382 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 288–296 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 76 |
UselessParentheses | Useless parentheses. | 4 | 93 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 156–158 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 169–171 |
UselessParentheses | Useless parentheses. | 4 | 242–243 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 3 | 53 |
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 3 | 61 |
UnusedFormalParameter | Avoid unused method parameters such as 'clazz'. | 3 | 69 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 75–77 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–647 |
UselessParentheses | Useless parentheses. | 4 | 625 |
UselessParentheses | Useless parentheses. | 4 | 626 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' | 4 | 32 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 95–100 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 31–33 |