PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/sentrysoftware/wmi/remotecommand/RemoteProcess.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'wmiWbemServices': resource specifications are implicitly final 97
EmptyCatchBlock Avoid empty catch blocks 200
org/sentrysoftware/wmi/shares/WinTempShare.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 56
UnusedFormalParameter Avoid unused method parameters such as 'timeout'. 236
org/sentrysoftware/wmi/wbem/Ole32Enhanced.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on field 'INSTANCE': the field is declared in an interface type 36
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RPC_C_AUTHN_DEFAULT': the field is declared in an interface type 41
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RPC_C_AUTHZ_DEFAULT': the field is declared in an interface type 46
UnnecessaryModifier Unnecessary modifier 'public' on method 'CoSetProxyBlanket': the method is declared in an interface type 126134
org/sentrysoftware/wmi/wbem/WmiCimTypeHandler.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 406408
org/sentrysoftware/wmi/windows/remote/WindowsRemoteExecutor.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'executeWql': the method is declared in an interface type 4446
UnnecessaryModifier Unnecessary modifier 'public' on method 'executeCommand': the method is declared in an interface type 5863
UnnecessaryModifier Unnecessary modifier 'public' on method 'getHostname': the method is declared in an interface type 69
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 75
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 81
org/sentrysoftware/wmi/windows/remote/share/ShareRemoteDirectoryConsumer.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'apply': the method is declared in an interface type 3640

Priority 4

org/sentrysoftware/wmi/shares/WinTempShare.java
Rule Violation Line
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 292
org/sentrysoftware/wmi/wbem/WmiWbemServices.java
Rule Violation Line
UselessParentheses Useless parentheses. 374

Files

org/sentrysoftware/wmi/remotecommand/RemoteProcess.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'wmiWbemServices': resource specifications are implicitly final 3 97
EmptyCatchBlock Avoid empty catch blocks 3 200

org/sentrysoftware/wmi/shares/WinTempShare.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 56
UnusedFormalParameter Avoid unused method parameters such as 'timeout'. 3 236
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 292

org/sentrysoftware/wmi/wbem/Ole32Enhanced.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on field 'INSTANCE': the field is declared in an interface type 3 36
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RPC_C_AUTHN_DEFAULT': the field is declared in an interface type 3 41
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RPC_C_AUTHZ_DEFAULT': the field is declared in an interface type 3 46
UnnecessaryModifier Unnecessary modifier 'public' on method 'CoSetProxyBlanket': the method is declared in an interface type 3 126134

org/sentrysoftware/wmi/wbem/WmiCimTypeHandler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 406408

org/sentrysoftware/wmi/wbem/WmiWbemServices.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 374

org/sentrysoftware/wmi/windows/remote/WindowsRemoteExecutor.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'executeWql': the method is declared in an interface type 3 4446
UnnecessaryModifier Unnecessary modifier 'public' on method 'executeCommand': the method is declared in an interface type 3 5863
UnnecessaryModifier Unnecessary modifier 'public' on method 'getHostname': the method is declared in an interface type 3 69
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 3 75
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 3 81

org/sentrysoftware/wmi/windows/remote/share/ShareRemoteDirectoryConsumer.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'apply': the method is declared in an interface type 3 3640
No results.