PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/itracker/core/AuthenticationConstants.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_UNKNOWN': the field is declared in an interface type 30
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_PASSWORD_PLAIN': the field is declared in an interface type 34
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_PASSWORD_ENC': the field is declared in an interface type 39
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_SHARED_SECRET': the field is declared in an interface type 44
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_CERTIFICATE': the field is declared in an interface type 49
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_REQUEST': the field is declared in an interface type 54
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_CORE': the field is declared in an interface type 59
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PERMISSION_SET': the field is declared in an interface type 63
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PERMISSION_ADD': the field is declared in an interface type 67
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PREFERENCE': the field is declared in an interface type 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_UNKNOWN': the field is declared in an interface type 77
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_WEB': the field is declared in an interface type 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_API': the field is declared in an interface type 85

org/itracker/core/resources/ITrackerResources.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'availableLocales'. 84

Priority 4

org/itracker/SystemConfigurationException.java

Rule Violation Line
UselessParentheses Useless parentheses. 41

org/itracker/core/resources/ITrackerResources.java

Rule Violation Line
UselessParentheses Useless parentheses. 145
UselessParentheses Useless parentheses. 500
UselessParentheses Useless parentheses. 500
UselessParentheses Useless parentheses. 500

org/itracker/util/HTMLUtilities.java

Rule Violation Line
UselessParentheses Useless parentheses. 15

Files

org/itracker/SystemConfigurationException.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 41

org/itracker/core/AuthenticationConstants.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_UNKNOWN': the field is declared in an interface type 3 30
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_PASSWORD_PLAIN': the field is declared in an interface type 3 34
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_PASSWORD_ENC': the field is declared in an interface type 3 39
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_SHARED_SECRET': the field is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_CERTIFICATE': the field is declared in an interface type 3 49
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_TYPE_REQUEST': the field is declared in an interface type 3 54
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_CORE': the field is declared in an interface type 3 59
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PERMISSION_SET': the field is declared in an interface type 3 63
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PERMISSION_ADD': the field is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UPDATE_TYPE_PREFERENCE': the field is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_UNKNOWN': the field is declared in an interface type 3 77
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_WEB': the field is declared in an interface type 3 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQ_SOURCE_API': the field is declared in an interface type 3 85

org/itracker/core/resources/ITrackerResources.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'availableLocales'. 3 84
UselessParentheses Useless parentheses. 4 145
UselessParentheses Useless parentheses. 4 500
UselessParentheses Useless parentheses. 4 500
UselessParentheses Useless parentheses. 4 500

org/itracker/util/HTMLUtilities.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 15

R.Ø.S.A.