PMD Results

The following document contains the results of PMD 6.29.0.

Violations By Priority

Priority 3

org/apache/fulcrum/json/JsonService.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 39302
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 54
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 63
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 74
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 91
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 103
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 121
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 188189
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 189
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 209210
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 210
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 231
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 231
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 249
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 249
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 261
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 261
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 276
UnnecessaryModifier Unnecessary modifier 'public' on method 'addAdapter': the method is declared in an interface type 276
UnnecessaryModifier Unnecessary modifier 'public' on method 'addAdapter': the method is declared in an interface type 293
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 293
UnnecessaryModifier Unnecessary modifier 'public' on method 'setDateFormat': the method is declared in an interface type 300
ShortVariable Avoid variables with short names like df 300

Files

org/apache/fulcrum/json/JsonService.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 39302
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 54
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 63
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 74
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 91
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 103
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 121
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 3 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 3 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 3 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeOnlyFilter': the method is declared in an interface type 3 188189
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 189
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 3 209210
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 210
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 3 231
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 231
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 3 249
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 249
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 261
UnnecessaryModifier Unnecessary modifier 'public' on method 'serializeAllExceptFilter': the method is declared in an interface type 3 261
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 276
UnnecessaryModifier Unnecessary modifier 'public' on method 'addAdapter': the method is declared in an interface type 3 276
UnnecessaryModifier Unnecessary modifier 'public' on method 'addAdapter': the method is declared in an interface type 3 293
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 293
UnnecessaryModifier Unnecessary modifier 'public' on method 'setDateFormat': the method is declared in an interface type 3 300
ShortVariable Avoid variables with short names like df 3 300