Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
24 0 0 66

Rules

Rules Violations Severity
Translation 0 error Error
ConstantName 4 error Error
LocalFinalVariableName 0 error Error
LocalVariableName 0 error Error
MemberName 0 error Error
MethodName 0 error Error
PackageName 0 error Error
ParameterName 0 error Error
StaticVariableName 0 error Error
TypeName 0 error Error
AvoidStarImport
  • excludes : "java.io,java.util,java.net,java.nio,java.nio.channels,java.lang.reflect,org.w3c.dom,org.xml.sax,java.awt,javax.swing,junit.framework"
0 error Error
IllegalImport 0 error Error
RedundantImport 0 error Error
UnusedImports 6 error Error
ImportOrder
  • ordered : "true"
  • groups : "java,javax,org.w3c,org.xml,w3c"
0 error Error
AnonInnerLength
  • max : "40"
0 error Error
ExecutableStatementCount
  • max : "50"
0 error Error
FileLength 0 error Error
LineLength
  • max : "110"
3 error Error
MethodLength
  • max : "150"
  • countEmpty : "false"
0 error Error
ParameterNumber
  • max : "7"
0 error Error
EmptyForIteratorPad 0 error Error
EmptyForInitializerPad 0 error Error
MethodParamPad 0 error Error
NoWhitespaceAfter
  • allowLineBreaks : "true"
  • tokens : "ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"
1 error Error
NoWhitespaceBefore 0 error Error
OperatorWrap 0 error Error
ParenPad 0 error Error
TypecastParenPad 0 error Error
TabCharacter 0 error Error
WhitespaceAfter
  • tokens : "SEMI"
0 error Error
ModifierOrder 0 error Error
RedundantModifier 0 error Error
AvoidNestedBlocks
  • allowInSwitchCase : "true"
0 error Error
EmptyBlock
  • option : "text"
0 error Error
LeftCurly
  • option : "nl"
0 error Error
RightCurly
  • option : "alone"
13 error Error
CovariantEquals 0 error Error
DoubleCheckedLocking 0 error Error
EmptyStatement 0 error Error
EqualsHashCode 0 error Error
HiddenField 19 error Error
IllegalInstantiation 0 error Error
InnerAssignment 0 error Error
MissingSwitchDefault 0 error Error
ModifiedControlVariable 0 error Error
SimplifyBooleanExpression 0 error Error
SimplifyBooleanReturn 0 error Error
StringLiteralEquality 0 error Error
NestedIfDepth
  • max : "3"
0 error Error
NestedTryDepth
  • max : "3"
0 error Error
SuperClone 0 error Error
SuperFinalize 0 error Error
IllegalThrows
  • illegalClassNames : "java.lang.Error,java.lang.RuntimeException"
0 error Error
PackageDeclaration 0 error Error
JUnitTestCase 0 error Error
ReturnCount
  • max : "6"
0 error Error
IllegalType
  • format : "^xxx$"
2 error Error
DeclarationOrder 9 error Error
ExplicitInitialization 4 error Error
DefaultComesLast 0 error Error
FallThrough 0 error Error
MultipleVariableDeclarations 0 error Error
UnnecessaryParentheses 0 error Error
FinalClass 0 error Error
HideUtilityClassConstructor 0 error Error
InterfaceIsType 0 error Error
MutableException 0 error Error
ThrowsCount
  • max : "5"
0 error Error
VisibilityModifier
  • packageAllowed : "true"
  • publicMemberPattern : "resource[12].*"
  • protectedAllowed : "true"
5 error Error
BooleanExpressionComplexity
  • max : "6"
0 error Error
JavaNCSS
  • methodMaximum : "75"
0 error Error
TodoComment
  • format : "WARNING"
0 error Error
UpperEll 0 error Error
DescendantToken
  • maximumNumber : "0"
  • limitedTokens : "ASSIGN,DEC,INC,POST_DEC,POST_INC,PLUS_ASSIGN,MINUS_ASSIGN,STAR_ASSIGN,DIV_ASSIGN,MOD_ASSIGN,BSR_ASSIGN,SR_ASSIGN,SL_ASSIGN,BAND_ASSIGN,BXOR_ASSIGN,BOR_ASSIGN"
  • tokens : "LITERAL_ASSERT"
0 error Error
TrailingComment 0 error Error
Indentation
  • caseIndent : "0"
0 error Error

Details

org/sourceforge/jemmrpc/shared/RPCCallRespMessage.java

Violation Message Line
error Variable 'callSuccess' must be private and have accessor methods. 18
error Variable 'returnValue' must be private and have accessor methods. 21
error 'returnValue' hides a field. 32

org/sourceforge/jemmrpc/server/ClientId.java

Violation Message Line
error Name 'nextClientId' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 16

org/sourceforge/jemmrpc/shared/RPCCallMessage.java

Violation Message Line
error Variable 'asyncCall' must be private and have accessor methods. 18
error Variable access definition in wrong order. 30
error Variable 'parameterTypes' must be private and have accessor methods. 30
error 'asyncCall' hides a field. 40
error 'ifClass' hides a field. 40
error 'methodName' hides a field. 41
error 'parameterTypes' hides a field. 41
error 'parameters' hides a field. 41

org/sourceforge/jemmrpc/shared/RPCHandler.java

Violation Message Line
error Unused import - org.sourceforge.jemmrpc.client.RPCClient. 24
error Unused import - org.sourceforge.jemmrpc.server.RPCServer. 25
error Line is longer than 110 characters. 32
error Variable access definition in wrong order. 44
error Variable access definition in wrong order. 46
error Variable 'closing' explicitly initialized to 'false' (default value for its type). 46
error Variable access definition in wrong order. 48
error Variable access definition in wrong order. 50
error Line is longer than 110 characters. 64
error Static variable definition in wrong order. 68
error Variable access definition in wrong order. 70
error Variable 'listener' explicitly initialized to 'null' (default value for its type). 70
error 'isClient' hides a field. 83
error 'socket' hides a field. 83
error 'localInterfaces' hides a field. 84
error 'requestExecutor' hides a field. 84
error 'connectionId' hides a field. 85
error 'listener' hides a field. 100
error '{' is followed by whitespace. 133
error '}' should be alone on a line. 208
error '}' should be alone on a line. 228
error '}' should be alone on a line. 234
error '}' should be alone on a line. 273
error '}' should be alone on a line. 331
error '}' should be alone on a line. 343
error '}' should be alone on a line. 346
error '}' should be alone on a line. 378
error '}' should be alone on a line. 450

org/sourceforge/jemmrpc/client/RPCClient.java

Violation Message Line
error Unused import - org.sourceforge.jemmrpc.example.echo.EchoClient. 14
error Unused import - org.sourceforge.jemmrpc.example.echo.EchoServer. 15
error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 29
error Declaring variables, return values or parameters of type 'HashMap' is not allowed. 32
error Variable 'connected' explicitly initialized to 'false' (default value for its type). 49
error 'hostname' hides a field. 58
error 'port' hides a field. 58

org/sourceforge/jemmrpc/server/RPCServer.java

Violation Message Line
error Unused import - org.sourceforge.jemmrpc.example.echo.EchoClient. 19
error Unused import - org.sourceforge.jemmrpc.example.echo.EchoServer. 20
error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
error Variable 'closing' explicitly initialized to 'false' (default value for its type). 45
error Declaring variables, return values or parameters of type 'HashMap' is not allowed. 60
error Constructor definition in wrong order. 94
error 'port' hides a field. 94
error Constructor definition in wrong order. 106
error 'port' hides a field. 106
error '}' should be alone on a line. 153
error '}' should be alone on a line. 184
error '}' should be alone on a line. 219

org/sourceforge/jemmrpc/shared/Message.java

Violation Message Line
error 'threadId' hides a field. 28

org/sourceforge/jemmrpc/shared/ErrorMessage.java

Violation Message Line
error Variable 'errorMsg' must be private and have accessor methods. 17

org/sourceforge/jemmrpc/shared/IFUtilities.java

Violation Message Line
error '}' should be alone on a line. 57
error Line is longer than 110 characters. 65

org/sourceforge/jemmrpc/example/echo/EchoClient.java

Violation Message Line
error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 13
error 'hostname' hides a field. 30
error 'port' hides a field. 30