Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 0 81

Files

File  I  W  E
org/sentrysoftware/ssh/SshClient.java 0 0 76
org/sentrysoftware/ssh/Utils.java 0 0 5

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nlow"
6  Error
NeedBraces 8  Error
design FinalClass 1  Error
VisibilityModifier 4  Error
misc FinalParameters 45  Error
modifier RedundantModifier 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
3  Error
RegexpSingleline
  • format: "^\s* +\s*[^*]"
  • message: "Indentation must use tab characters"
2  Error
whitespace NoWhitespaceAfter 1  Error
NoWhitespaceBefore 1  Error
OperatorWrap 8  Error

Details

org/sentrysoftware/ssh/SshClient.java

Severity Category Rule Message Line
 Error misc FinalParameters Parameter pHostname should be final. 86
 Error misc FinalParameters Parameter pHostname should be final. 96
 Error misc FinalParameters Parameter pLocale should be final. 96
 Error misc FinalParameters Parameter pHostname should be final. 106
 Error misc FinalParameters Parameter pCharset should be final. 106
 Error misc FinalParameters Parameter username should be final. 188
 Error misc FinalParameters Parameter privateKeyFile should be final. 188
 Error misc FinalParameters Parameter password should be final. 188
 Error misc FinalParameters Parameter username should be final. 204
 Error misc FinalParameters Parameter privateKeyFile should be final. 204
 Error misc FinalParameters Parameter password should be final. 204
 Error misc FinalParameters Parameter username should be final. 226
 Error misc FinalParameters Parameter password should be final. 226
 Error misc FinalParameters Parameter username should be final. 238
 Error misc FinalParameters Parameter password should be final. 238
 Error whitespace OperatorWrap '&&' should be on a new line. 242
 Error blocks LeftCurly '{' at column 107 should be on a new line. 243
 Error misc FinalParameters Parameter name should be final. 252
 Error misc FinalParameters Parameter instruction should be final. 252
 Error misc FinalParameters Parameter numPrompts should be final. 252
 Error misc FinalParameters Parameter prompt should be final. 252
 Error misc FinalParameters Parameter echo should be final. 252
 Error misc FinalParameters Parameter username should be final. 283
 Error misc FinalParameters Parameter filePath should be final. 295
 Error blocks NeedBraces 'if' construct must use '{}'s. 308
 Error blocks NeedBraces 'if' construct must use '{}'s. 310
 Error blocks NeedBraces 'if' construct must use '{}'s. 312
 Error blocks NeedBraces 'else' construct must use '{}'s. 314
 Error misc FinalParameters Parameter sftpClient should be final. 336
 Error misc FinalParameters Parameter remoteDirectoryPath should be final. 336
 Error misc FinalParameters Parameter fileMaskPattern should be final. 336
 Error misc FinalParameters Parameter includeSubfolders should be final. 336
 Error misc FinalParameters Parameter depth should be final. 336
 Error misc FinalParameters Parameter resultBuilder should be final. 336
 Error blocks LeftCurly '{' at column 23 should be on a new line. 337
 Error blocks NeedBraces 'if' construct must use '{}'s. 344
 Error blocks NeedBraces 'if' construct must use '{}'s. 352
 Error blocks LeftCurly '{' at column 63 should be on a new line. 364
 Error whitespace NoWhitespaceBefore ';' is preceded with whitespace. 375
 Error blocks NeedBraces 'if' construct must use '{}'s. 382
 Error misc FinalParameters Parameter remoteDirectoryPath should be final. 403
 Error misc FinalParameters Parameter regExpFileMask should be final. 403
 Error misc FinalParameters Parameter includeSubfolders should be final. 403
 Error misc FinalParameters Parameter remoteFilePath should be final. 446
 Error misc FinalParameters Parameter readOffset should be final. 446
 Error misc FinalParameters Parameter readSize should be final. 446
 Error blocks NeedBraces 'if' construct must use '{}'s. 455
 Error misc FinalParameters Parameter remoteFilePathArray should be final. 529
 Error misc FinalParameters Parameter remoteFilePath should be final. 578
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 579
 Error design VisibilityModifier Variable 'success' must be private and have accessor methods. 592
 Error design VisibilityModifier Variable 'executionTime' must be private and have accessor methods. 598
 Error design VisibilityModifier Variable 'exitStatus' must be private and have accessor methods. 604
 Error design VisibilityModifier Variable 'result' must be private and have accessor methods. 609
 Error misc FinalParameters Parameter command should be final. 621
 Error misc FinalParameters Parameter command should be final. 634
 Error misc FinalParameters Parameter timeout should be final. 634
 Error modifier RedundantModifier Redundant 'final' modifier. 647
 Error whitespace OperatorWrap '&&' should be on a new line. 664
 Error whitespace OperatorWrap '&&' should be on a new line. 665
 Error blocks LeftCurly '{' at column 66 should be on a new line. 666
 Error regexp RegexpSingleline Line has trailing spaces. 717
 Error misc FinalParameters Parameter in should be final. 724
 Error misc FinalParameters Parameter out should be final. 724
 Error misc FinalParameters Parameter localFilePath should be final. 790
 Error misc FinalParameters Parameter remoteFilename should be final. 790
 Error misc FinalParameters Parameter remoteDirectory should be final. 790
 Error misc FinalParameters Parameter fileMode should be final. 790
 Error modifier RedundantModifier Redundant 'final' modifier. 896
 Error whitespace OperatorWrap '?' should be on a new line. 918
 Error whitespace OperatorWrap ':' should be on a new line. 919
 Error whitespace OperatorWrap '|' should be on a new line. 986
 Error whitespace OperatorWrap '|' should be on a new line. 987
 Error whitespace OperatorWrap '|' should be on a new line. 988
 Error blocks LeftCurly '{' at column 56 should be on a new line. 1030
 Error blocks LeftCurly '{' at column 39 should be on a new line. 1047

org/sentrysoftware/ssh/Utils.java

Severity Category Rule Message Line
 Error design FinalClass Class Utils should be declared as final. 35
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error regexp RegexpSingleline Indentation must use tab characters 60
 Error regexp RegexpSingleline Indentation must use tab characters 68
 Error regexp RegexpSingleline Line has trailing spaces. 76
No results.