PMD Results
The following document contains the results of PMD 5.1.2.
Files
org/apache/johnzon/mapper/Mapper.java
Violation |
Line |
Avoid unused private fields such as 'hiddenConstructorSupported'. |
78 |
Avoid unused private fields such as 'accessMode'. |
79 |
Avoid unused private methods such as 'doConverFrom(T,Converter)'. |
170 |
Avoid unused private methods such as 'writeMapBody(Map,JsonGenerator)'. |
355 |
These nested if statements could be combined |
523–555 |
Useless parentheses. |
615 |
Avoid unused private methods such as 'buildArray(Type,JsonArray)'. |
664 |
org/apache/johnzon/mapper/access/AccessMode.java
Violation |
Line |
Avoid modifiers which are implied by the context |
26–29 |
Avoid modifiers which are implied by the context |
31–33 |
Avoid modifiers which are implied by the context |
35–37 |
org/apache/johnzon/mapper/reflection/JohnzonParameterizedType.java
Violation |
Line |
Useless parentheses. |
83 |
org/apache/johnzon/mapper/reflection/Mappings.java
Violation |
Line |
Avoid unused private methods such as 'createClassMapping(Class)'. |
227 |
Useless parentheses. |
241 |
Useless parentheses. |
242 |
Useless parentheses. |
243 |
Useless parentheses. |
244 |
Avoid unused private methods such as 'findConverter(AccessMode.DecoratedType)'. |
264 |