Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
24 0 0 161

Files

File  I  W  E
org/sentrysoftware/wmi/AutoCloseableReadWriteLock.java 0 0 4
org/sentrysoftware/wmi/TimeoutHelper.java 0 0 2
org/sentrysoftware/wmi/Utils.java 0 0 3
org/sentrysoftware/wmi/WmiHelper.java 0 0 9
org/sentrysoftware/wmi/WmiStringConverter.java 0 0 4
org/sentrysoftware/wmi/WqlQuery.java 0 0 12
org/sentrysoftware/wmi/exceptions/ProcessNotFoundException.java 0 0 1
org/sentrysoftware/wmi/remotecommand/RemoteProcess.java 0 0 6
org/sentrysoftware/wmi/remotecommand/WinRemoteCommandExecutor.java 0 0 5
org/sentrysoftware/wmi/shares/WinTempShare.java 0 0 6
org/sentrysoftware/wmi/shares/WindowsScriptHostNetworkInterface.java 0 0 11
org/sentrysoftware/wmi/wbem/CoAuthIdentity.java 0 0 9
org/sentrysoftware/wmi/wbem/Ole32Enhanced.java 0 0 10
org/sentrysoftware/wmi/wbem/WmiCimTypeHandler.java 0 0 12
org/sentrysoftware/wmi/wbem/WmiComHelper.java 0 0 2
org/sentrysoftware/wmi/wbem/WmiWbemServices.java 0 0 27
org/sentrysoftware/wmi/windows/remote/WindowsRemoteCommandResult.java 0 0 1
org/sentrysoftware/wmi/windows/remote/WindowsRemoteExecutor.java 0 0 11
org/sentrysoftware/wmi/windows/remote/WindowsRemoteProcessUtils.java 0 0 11
org/sentrysoftware/wmi/windows/remote/share/ShareRemoteDirectoryConsumer.java 0 0 5
org/sentrysoftware/wmi/windows/remote/share/WindowsTempShare.java 0 0 10

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nlow"
47  Error
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3  Error
design FinalClass 9  Error
VisibilityModifier 9  Error
imports AvoidStarImport 6  Error
misc FinalParameters 21  Error
modifier RedundantModifier 25  Error
naming MethodName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
2  Error
sizes ParameterNumber
  • tokens: "METHOD_DEF"
2  Error
whitespace GenericWhitespace 1  Error
MethodParamPad 2  Error
NoWhitespaceBefore 1  Error
OperatorWrap 24  Error
WhitespaceAround
  • tokens: "ASSIGN, BAND_ASSIGN, BOR_ASSIGN, BSR_ASSIGN, BXOR_ASSIGN, COLON, DIV_ASSIGN, EQUAL, GE, GT, LE, LITERAL_RETURN, LT, MINUS_ASSIGN, MOD_ASSIGN, NOT_EQUAL, PLUS_ASSIGN, QUESTION, SL_ASSIGN, SR_ASSIGN, STAR_ASSIGN"
8  Error

Details

org/sentrysoftware/wmi/AutoCloseableReadWriteLock.java

Severity Category Rule Message Line
 Error design VisibilityModifier Variable 'readLock' must be private and have accessor methods. 78
 Error misc FinalParameters Parameter lock should be final. 80
 Error design VisibilityModifier Variable 'writeLock' must be private and have accessor methods. 98
 Error misc FinalParameters Parameter lock should be final. 100

org/sentrysoftware/wmi/TimeoutHelper.java

Severity Category Rule Message Line
 Error design FinalClass Class TimeoutHelper should be declared as final. 29
 Error blocks LeftCurly '{' at column 28 should be on a new line. 71

org/sentrysoftware/wmi/Utils.java

Severity Category Rule Message Line
 Error design FinalClass Class Utils should be declared as final. 46
 Error misc FinalParameters Parameter value should be final. 190
 Error misc FinalParameters Parameter value should be final. 207

org/sentrysoftware/wmi/WmiHelper.java

Severity Category Rule Message Line
 Error blocks LeftCurly '{' at column 28 should be on a new line. 70
 Error whitespace OperatorWrap '?' should be on a new line. 72
 Error whitespace OperatorWrap ':' should be on a new line. 73
 Error whitespace OperatorWrap '||' should be on a new line. 83
 Error whitespace OperatorWrap '||' should be on a new line. 84
 Error whitespace OperatorWrap '||' should be on a new line. 85
 Error whitespace OperatorWrap '||' should be on a new line. 86
 Error whitespace OperatorWrap '||' should be on a new line. 87
 Error whitespace OperatorWrap '||' should be on a new line. 88

org/sentrysoftware/wmi/WmiStringConverter.java

Severity Category Rule Message Line
 Error misc FinalParameters Parameter arraySeparator should be final. 57
 Error misc FinalParameters Parameter useEpoch should be final. 57
 Error misc FinalParameters Parameter value should be final. 87
 Error whitespace OperatorWrap '?' should be on a new line. 105

org/sentrysoftware/wmi/WqlQuery.java

Severity Category Rule Message Line
 Error design FinalClass Class WqlQuery should be declared as final. 37
 Error misc FinalParameters Parameter wql should be final. 59
 Error misc FinalParameters Parameter selectedProperties should be final. 59
 Error misc FinalParameters Parameter subPropertiesMap should be final. 59
 Error misc FinalParameters Parameter cleanWql should be final. 59
 Error misc FinalParameters Parameter wql should be final. 84
 Error misc FinalParameters Parameter propertiesFragment should be final. 119
 Error misc FinalParameters Parameter associatorsFragment should be final. 199
 Error misc FinalParameters Parameter subPropertiesMap should be final. 200
 Error misc FinalParameters Parameter classFragment should be final. 201
 Error misc FinalParameters Parameter restFragment should be final. 202
 Error blocks LeftCurly '{' at column 4 should be on a new line. 203

org/sentrysoftware/wmi/exceptions/ProcessNotFoundException.java

Severity Category Rule Message Line
 Error misc FinalParameters Parameter pid should be final. 27

org/sentrysoftware/wmi/remotecommand/RemoteProcess.java

Severity Category Rule Message Line
 Error design FinalClass Class RemoteProcess should be declared as final. 44
 Error blocks LeftCurly '{' at column 45 should be on a new line. 89
 Error modifier RedundantModifier Redundant 'final' modifier. 97
 Error blocks LeftCurly '{' at column 45 should be on a new line. 144
 Error blocks LeftCurly '{' at column 45 should be on a new line. 171
 Error blocks LeftCurly '{' at column 53 should be on a new line. 219

org/sentrysoftware/wmi/remotecommand/WinRemoteCommandExecutor.java

Severity Category Rule Message Line
 Error design FinalClass Class WinRemoteCommandExecutor should be declared as final. 40
 Error blocks LeftCurly '{' at column 26 should be on a new line. 54
 Error sizes ParameterNumber More than 7 parameters (found 8). 125
 Error blocks LeftCurly '{' at column 90 should be on a new line. 134
 Error blocks LeftCurly '{' at column 5 should be on a new line. 147

org/sentrysoftware/wmi/shares/WinTempShare.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.sun.jna.platform.win32.*. 31
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.sun.jna.platform.win32.WinNT.*. 36
 Error blocks LeftCurly '{' at column 29 should be on a new line. 79
 Error blocks LeftCurly '{' at column 47 should be on a new line. 102
 Error blocks LeftCurly '{' at column 29 should be on a new line. 237
 Error blocks LeftCurly '{' at column 27 should be on a new line. 278

org/sentrysoftware/wmi/shares/WindowsScriptHostNetworkInterface.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 31
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 31
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 32
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 32
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 44
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 44
 Error whitespace MethodParamPad '(' is preceded with whitespace. 45
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 59
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 59
 Error whitespace MethodParamPad '(' is preceded with whitespace. 60
 Error whitespace NoWhitespaceBefore ';' is preceded with whitespace. 63

org/sentrysoftware/wmi/wbem/CoAuthIdentity.java

Severity Category Rule Message Line
 Error design VisibilityModifier Variable 'user' must be private and have accessor methods. 36
 Error design VisibilityModifier Variable 'userLength' must be private and have accessor methods. 37
 Error design VisibilityModifier Variable 'domain' must be private and have accessor methods. 38
 Error design VisibilityModifier Variable 'domainLength' must be private and have accessor methods. 39
 Error design VisibilityModifier Variable 'password' must be private and have accessor methods. 40
 Error design VisibilityModifier Variable 'passwordLength' must be private and have accessor methods. 41
 Error design VisibilityModifier Variable 'flags' must be private and have accessor methods. 42
 Error coding HiddenField 'domain' hides a field. 51
 Error coding HiddenField 'user' hides a field. 52

org/sentrysoftware/wmi/wbem/Ole32Enhanced.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'public' modifier. 36
 Error modifier RedundantModifier Redundant 'public' modifier. 41
 Error modifier RedundantModifier Redundant 'static' modifier. 41
 Error modifier RedundantModifier Redundant 'final' modifier. 41
 Error modifier RedundantModifier Redundant 'public' modifier. 46
 Error modifier RedundantModifier Redundant 'static' modifier. 46
 Error modifier RedundantModifier Redundant 'final' modifier. 46
 Error modifier RedundantModifier Redundant 'public' modifier. 126
 Error sizes ParameterNumber More than 7 parameters (found 8). 126
 Error naming MethodName Name 'CoSetProxyBlanket' must match pattern '^[a-z][a-zA-Z0-9]*$'. 126

org/sentrysoftware/wmi/wbem/WmiCimTypeHandler.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 38
 Error design FinalClass Class WmiCimTypeHandler should be declared as final. 44
 Error blocks LeftCurly '{' at column 47 should be on a new line. 131
 Error blocks LeftCurly '{' at column 47 should be on a new line. 224
 Error blocks LeftCurly '{' at column 30 should be on a new line. 290
 Error whitespace OperatorWrap '?' should be on a new line. 315
 Error whitespace OperatorWrap ':' should be on a new line. 316
 Error blocks LeftCurly '{' at column 47 should be on a new line. 333
 Error whitespace OperatorWrap '?' should be on a new line. 345
 Error whitespace OperatorWrap ':' should be on a new line. 346
 Error blocks LeftCurly '{' at column 47 should be on a new line. 365
 Error blocks LeftCurly '{' at column 47 should be on a new line. 376

org/sentrysoftware/wmi/wbem/WmiComHelper.java

Severity Category Rule Message Line
 Error design FinalClass Class WmiComHelper should be declared as final. 34
 Error blocks LeftCurly '{' at column 4 should be on a new line. 140

org/sentrysoftware/wmi/wbem/WmiWbemServices.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.sun.jna.platform.win32.COM.Wbemcli.*. 37
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 52
 Error design FinalClass Class WmiWbemServices should be declared as final. 62
 Error blocks LeftCurly '{' at column 36 should be on a new line. 366
 Error blocks LeftCurly '{' at column 50 should be on a new line. 393
 Error whitespace OperatorWrap '?' should be on a new line. 432
 Error whitespace OperatorWrap ':' should be on a new line. 433
 Error blocks LeftCurly '{' at column 70 should be on a new line. 520
 Error blocks LeftCurly '{' at column 70 should be on a new line. 543
 Error blocks LeftCurly '{' at column 47 should be on a new line. 590
 Error blocks LeftCurly '{' at column 59 should be on a new line. 606
 Error whitespace OperatorWrap '?' should be on a new line. 667
 Error whitespace OperatorWrap ':' should be on a new line. 668
 Error coding HiddenField 'authIdent' hides a field. 694
 Error blocks LeftCurly '{' at column 72 should be on a new line. 697
 Error whitespace OperatorWrap '||' should be on a new line. 719
 Error whitespace OperatorWrap '||' should be on a new line. 720
 Error blocks LeftCurly '{' at column 57 should be on a new line. 721
 Error blocks LeftCurly '{' at column 44 should be on a new line. 775
 Error blocks LeftCurly '{' at column 47 should be on a new line. 795
 Error whitespace OperatorWrap '?' should be on a new line. 802
 Error whitespace OperatorWrap ':' should be on a new line. 806
 Error blocks LeftCurly '{' at column 29 should be on a new line. 884
 Error whitespace GenericWhitespace '>' is followed by an illegal character. 926
 Error blocks LeftCurly '{' at column 52 should be on a new line. 973
 Error blocks LeftCurly '{' at column 55 should be on a new line. 1023
 Error blocks LeftCurly '{' at column 52 should be on a new line. 1097

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

Severity Category Rule Message Line
 Error blocks LeftCurly '{' at column 26 should be on a new line. 42

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

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'public' modifier. 44
 Error modifier RedundantModifier Redundant 'final' modifier. 45
 Error modifier RedundantModifier Redundant 'final' modifier. 46
 Error modifier RedundantModifier Redundant 'public' modifier. 58
 Error modifier RedundantModifier Redundant 'final' modifier. 59
 Error modifier RedundantModifier Redundant 'final' modifier. 60
 Error modifier RedundantModifier Redundant 'final' modifier. 61
 Error modifier RedundantModifier Redundant 'final' modifier. 62
 Error modifier RedundantModifier Redundant 'public' modifier. 69
 Error modifier RedundantModifier Redundant 'public' modifier. 75
 Error modifier RedundantModifier Redundant 'public' modifier. 81

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

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 35
 Error design FinalClass Class WindowsRemoteProcessUtils should be declared as final. 40
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error misc FinalParameters Parameter map should be final. 95
 Error misc FinalParameters Parameter key should be final. 95
 Error misc FinalParameters Parameter charsetName should be final. 95
 Error blocks LeftCurly '{' at column 97 should be on a new line. 118
 Error blocks LeftCurly '{' at column 48 should be on a new line. 164
 Error blocks LeftCurly '{' at column 48 should be on a new line. 214
 Error whitespace OperatorWrap ':' should be on a new line. 252

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

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'public' modifier. 36
 Error modifier RedundantModifier Redundant 'final' modifier. 37
 Error modifier RedundantModifier Redundant 'final' modifier. 38
 Error modifier RedundantModifier Redundant 'final' modifier. 39
 Error modifier RedundantModifier Redundant 'final' modifier. 40

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

Severity Category Rule Message Line
 Error blocks LeftCurly '{' at column 29 should be on a new line. 57
 Error blocks LeftCurly '{' at column 54 should be on a new line. 89
 Error blocks LeftCurly '{' at column 72 should be on a new line. 140
 Error blocks LeftCurly '{' at column 72 should be on a new line. 177
 Error whitespace OperatorWrap '?' should be on a new line. 200
 Error whitespace OperatorWrap ':' should be on a new line. 201
 Error blocks LeftCurly '{' at column 28 should be on a new line. 239
 Error blocks LeftCurly '{' at column 72 should be on a new line. 270
 Error blocks LeftCurly '{' at column 54 should be on a new line. 315
 Error blocks LeftCurly '{' at column 54 should be on a new line. 352
No results.