Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
1900353

Rules

RulesViolationsSeverity
PackageHtml3error Error
NewlineAtEndOfFile14error Error
Translation0error Error
JavadocMethod78error Error
JavadocType15error Error
JavadocVariable43error Error
JavadocStyle3error Error
ConstantName33error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName1error Error
MethodName1error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName1error Error
TypeName0error Error
Header
  • headerFile: "c:\java\geronimo\xbean\tags\xbean-2.6\xbean-telnet\target\checkstyle-header.txt"
16error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • max: "120"
1error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0error Error
NoWhitespaceBefore0error Error
OperatorWrap0error Error
ParenPad4error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter0error Error
WhitespaceAround10error Error
ModifierOrder0error Error
RedundantModifier17error Error
AvoidNestedBlocks0error Error
EmptyBlock10error Error
LeftCurly0error Error
NeedBraces8error Error
RightCurly0error Error
AvoidInlineConditionals0error Error
DoubleCheckedLocking0error Error
EmptyStatement1error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber7error Error
MissingSwitchDefault1error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor2error Error
InterfaceIsType1error Error
VisibilityModifier0error Error
ArrayTypeStyle1error Error
FinalParameters67error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
7error Error
TodoComment6error Error
UpperEll0error Error

Details

org/apache/xbean/command/CommandShell.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.27
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.31
errorParameter serverName should be final.31
error'+' is not preceded with whitespace.33
error'+' is not followed by whitespace.33
error'+' is not preceded with whitespace.33
error'+' is not followed by whitespace.33
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.37
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorName 'TTY_Reset' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.40
errorMissing a Javadoc comment.41
errorName 'TTY_Bright' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.41
errorMissing a Javadoc comment.42
errorName 'TTY_Dim' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.42
errorMissing a Javadoc comment.43
errorName 'TTY_Underscore' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.43
errorMissing a Javadoc comment.44
errorName 'TTY_Blink' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
errorMissing a Javadoc comment.45
errorName 'TTY_Reverse' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.45
errorMissing a Javadoc comment.46
errorName 'TTY_Hidden' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.46
errorMissing a Javadoc comment.48
errorName 'TTY_FG_Black' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.48
errorMissing a Javadoc comment.49
errorName 'TTY_FG_Red' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.49
errorMissing a Javadoc comment.50
errorName 'TTY_FG_Green' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.50
errorMissing a Javadoc comment.51
errorName 'TTY_FG_Yellow' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.51
errorMissing a Javadoc comment.52
errorName 'TTY_FG_Blue' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.52
errorMissing a Javadoc comment.53
errorName 'TTY_FG_Magenta' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.53
errorMissing a Javadoc comment.54
errorName 'TTY_FG_Cyan' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.54
errorMissing a Javadoc comment.55
errorName 'TTY_FG_White' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.55
errorMissing a Javadoc comment.57
errorName 'TTY_BG_Black' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.57
errorMissing a Javadoc comment.58
errorName 'TTY_BG_Red' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.58
errorMissing a Javadoc comment.59
errorName 'TTY_BG_Green' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.59
errorMissing a Javadoc comment.60
errorName 'TTY_BG_Yellow' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.60
errorMissing a Javadoc comment.61
errorName 'TTY_BG_Blue' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.61
errorMissing a Javadoc comment.62
errorName 'TTY_BG_Magenta' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.62
errorMissing a Javadoc comment.63
errorName 'TTY_BG_Cyan' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.63
errorMissing a Javadoc comment.64
errorName 'TTY_BG_White' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.64
errorMissing a Javadoc comment.66
errorParameter args should be final.66
errorParameter input should be final.66
errorParameter out should be final.66
errorMissing a Javadoc comment.75
errorParameter in should be final.75
errorParameter out should be final.75
error'if' is not followed by whitespace.81
error'(' is followed by whitespace.81
error')' is preceded with whitespace.81
error'(' is followed by whitespace.97
error')' is preceded with whitespace.97
error'=' is not preceded with whitespace.112
error'=' is not followed by whitespace.112
error'=' is not preceded with whitespace.116
error'=' is not followed by whitespace.116
errorMissing a Javadoc comment.121
errorParameter in should be final.121
errorParameter out should be final.121

org/apache/xbean/command/Test.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.27
errorMissing a Javadoc comment.28
errorName '_DONT_register' must match pattern '^[a-z][a-zA-Z0-9]*$'.28
errorMissing a Javadoc comment.32
errorParameter args should be final.32
errorParameter in should be final.32
errorParameter out should be final.32

org/apache/xbean/terminal/telnet/TelnetDaemon.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.23
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.26
errorMissing a Javadoc comment.28
errorMissing a Javadoc comment.35
errorParameter serverName should be final.35
errorParameter port should be final.35
errorMissing a Javadoc comment.40
error'if' construct must use '{}'s.43
error'20' is a magic number.50
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.75
errorMust have at least one statement.80
errorMust have at least one statement.81
error'if' construct must use '{}'s.84
errorMust have at least one statement.86
errorMissing a Javadoc comment.95
error'if' construct must use '{}'s.103
errorMust have at least one statement.104
errorMust have at least one statement.105

org/apache/xbean/command/CommandRegistry.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.23
errorUtility classes should not have a public or default constructor.23
errorLine has trailing spaces.24
errorMissing a Javadoc comment.25
errorName 'commands' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.25
errorMissing a Javadoc comment.31
errorName 'unknownCommand' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.31
errorMissing a Javadoc comment.33
errorMissing a Javadoc comment.43
errorParameter name should be final.43
errorParameter cmd should be final.43
errorMissing a Javadoc comment.47
errorParameter name should be final.47
errorParameter cmd should be final.47
errorMissing a Javadoc comment.51
errorParameter name should be final.51
errorMissing a Javadoc comment.62
errorParameter commandClass should be final.62
errorMust have at least one statement.66
errorLine is longer than 120 characters.67
errorFirst sentence should end with a period.72
errorComment matches to-do format 'TODO:'.73

org/apache/xbean/terminal/console/Main.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.21
errorUtility classes should not have a public or default constructor.21
errorMissing a Javadoc comment.23
errorParameter args should be final.23

org/apache/xbean/terminal/telnet/TelnetPrintStream.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.22
errorMissing a Javadoc comment.23
errorName 'CRLF' must match pattern '^[a-z][a-zA-Z0-9]*$'.23
errorMissing a Javadoc comment.25
errorParameter out should be final.25
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.33
errorParameter x should be final.33
errorMissing a Javadoc comment.40
errorParameter x should be final.40
errorMissing a Javadoc comment.47
errorParameter x should be final.47
errorMissing a Javadoc comment.54
errorParameter x should be final.54
errorMissing a Javadoc comment.61
errorParameter x should be final.61
errorMissing a Javadoc comment.68
errorParameter x should be final.68
errorMissing a Javadoc comment.75
errorParameter x should be final.75
errorMissing a Javadoc comment.82
errorParameter x should be final.82
errorArray brackets at illegal position.82
errorMissing a Javadoc comment.89
errorMust have at least one statement.92

org/apache/xbean/command/Command.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.22
errorLine has trailing spaces.26
errorLine has trailing spaces.28
errorExpected an @return tag.34
errorRedundant 'public' modifier.34
errorExpected @param tag for 'args'.34
errorExpected @param tag for 'in'.34
errorExpected @param tag for 'out'.34

org/apache/xbean/command/GroovySh.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.28
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.33
errorParameter args should be final.33
errorParameter in should be final.33
errorParameter out should be final.33

org/apache/xbean/terminal/telnet/TelnetShell.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.27
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.31
errorParameter serverName should be final.31
errorMissing a Javadoc comment.35
errorParameter socket should be final.35
error'if' construct must use '{}'s.42
errorMissing a Javadoc comment.46
errorParameter in should be final.46
errorParameter out should be final.46
errorComment matches to-do format 'TODO:'.56
errorMust have at least one statement.62
errorComment matches to-do format 'TODO:'.63
error'{' is not preceded with whitespace.65

org/apache/xbean/terminal/telnet/TelnetCodes.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.19
errorinterfaces should describe a type and hence have methods.19
errorRedundant 'public' modifier.26
errorRedundant 'public' modifier.33
errorRedundant 'public' modifier.42
errorName 'Data_Mark' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.42
errorRedundant 'public' modifier.49
errorName 'Break' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.49
errorRedundant 'public' modifier.56
errorName 'Interrupt_Process' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.56
errorRedundant 'public' modifier.63
errorName 'Abort_output' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.63
errorRedundant 'public' modifier.70
errorName 'Are_You_There' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.70
errorRedundant 'public' modifier.77
errorName 'Erase_character' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.77
errorRedundant 'public' modifier.84
errorName 'Erase_Line' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.84
errorRedundant 'public' modifier.91
errorName 'Go_ahead' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.91
errorRedundant 'public' modifier.100
errorRedundant 'public' modifier.110
errorRedundant 'public' modifier.119
errorRedundant 'public' modifier.130
errorRedundant 'public' modifier.141
errorFirst sentence should end with a period.142
errorRedundant 'public' modifier.149

org/apache/xbean/terminal/telnet/TelnetInputStream.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.24
errorMissing a Javadoc comment.26
error'256' is a magic number.26
errorMissing a Javadoc comment.27
errorParameter in should be final.38
errorExpected @param tag for 'in'.38
errorParameter out should be final.38
errorExpected @param tag for 'out'.38
errorExpected @throws tag for 'IOException'.38
error'6' is a magic number.42
error'24' is a magic number.43
error'33' is a magic number.44
error'34' is a magic number.45
errorMissing a Javadoc comment.48
errorExpected @throws tag for 'IOException'.69
errorMissing a Javadoc comment.92
errorParameter command should be final.92
errorParameter optionID should be final.105
errorExpected @param tag for 'optionID'.105
errorExpected @throws tag for 'IOException'.105
error'if' construct must use '{}'s.109
errorParameter optionID should be final.132
errorExpected @param tag for 'optionID'.132
errorExpected @throws tag for 'IOException'.132
error'if' construct must use '{}'s.136
errorParameter optionID should be final.160
errorExpected @param tag for 'optionID'.160
errorExpected @throws tag for 'IOException'.160
error'if' construct must use '{}'s.163
errorParameter optionID should be final.181
errorExpected @param tag for 'optionID'.181
errorExpected @throws tag for 'IOException'.181
error'if' construct must use '{}'s.185
errorComment matches to-do format 'TODO:'.192
errorMissing a Javadoc comment.193
errorParameter s should be final.193
errorComment matches to-do format 'TODO:'.197
errorMissing a Javadoc comment.198
errorParameter s should be final.198
errorFirst sentence should end with a period.202
errorParameter negotiate should be final.209
errorExpected @param tag for 'negotiate'.209
errorParameter optionID should be final.209
errorExpected @param tag for 'optionID'.209
errorExpected @throws tag for 'IOException'.210
errorswitch without "default" clause.214
errorMissing a Javadoc comment.237
errorParameter optionID should be final.237

org/apache/xbean/command/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/command/Lookup.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.28
errorMissing a Javadoc comment.30
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.36
errorParameter ctx should be final.36
errorMissing a Javadoc comment.40
errorMust have at least one statement.44
errorMissing a Javadoc comment.48
errorName 'PWD' must match pattern '^[a-z][a-zA-Z0-9]*$'.48
errorMissing a Javadoc comment.51
errorParameter args should be final.51
errorParameter in should be final.51
errorParameter out should be final.51
errorComment matches to-do format 'TODO:'.76
errorLine has trailing spaces.79
error'-2' is a magic number.82
errorMissing a Javadoc comment.86
errorParameter name should be final.86
errorParameter in should be final.86
errorParameter out should be final.86

org/apache/xbean/terminal/telnet/TelnetOption.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.19
errorMissing a Javadoc comment.21
errorMissing a Javadoc comment.22
errorMissing a Javadoc comment.23
errorMissing a Javadoc comment.24
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.27
errorParameter optionCode should be final.27
errorMissing a Javadoc comment.31
errorMissing a Javadoc comment.35
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.53
errorMissing a Javadoc comment.57
errorParameter inNegotiation should be final.57
error'inNegotiation' hides a field.57
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.65
errorParameter negotiated should be final.65
error'negotiated' hides a field.65

org/apache/xbean/terminal/telnet/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/command/Exit.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.22
errorLine has trailing spaces.23
errorMissing a Javadoc comment.24
errorMissing a Javadoc comment.28
errorParameter args should be final.28
errorParameter in should be final.28
errorParameter out should be final.28

org/apache/xbean/terminal/console/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/command/Version.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.24
errorLine has trailing spaces.25
errorMissing a Javadoc comment.26
errorMissing a Javadoc comment.30
errorParameter args should be final.30
errorParameter in should be final.30
errorParameter out should be final.30
errorMust have at least one statement.37

org/apache/xbean/command/Help.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.26
errorMissing a Javadoc comment.30
errorParameter args should be final.30
errorParameter in should be final.30
errorParameter out should be final.30
errorEmpty statement.31