Checkstyle Results

The following document contains the results of Checkstyle 6.18 with /src/main/resources/development/dsol-checks_6_11.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
16 10 30 0

Rules

Category Rule Violations Severity
blocks NeedBraces 2  Warning
design DesignForExtension 3  Warning
HideUtilityClassConstructor 7  Warning
VisibilityModifier 9  Warning
misc FinalParameters 5  Warning
naming LocalVariableName 3  Warning
sizes LineLength
  • max: "128"
10  Info
whitespace WhitespaceAround
  • tokens: "ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"
1  Warning

Details

org/sim0mq/demo/Client.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 16
 Warning misc FinalParameters Parameter args should be final. 22
 Info sizes LineLength Line is longer than 128 characters (found 130). 36

org/sim0mq/demo/RouterToReqExample.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 19
 Warning design VisibilityModifier Variable 'rand' must be private and have accessor methods. 22
 Warning design VisibilityModifier Variable 'staticWorkerRecv' must be private and have accessor methods. 25
 Warning design VisibilityModifier Variable 'staticBrokerIdRecv' must be private and have accessor methods. 28
 Warning design VisibilityModifier Variable 'staticBrokerMsgRecv' must be private and have accessor methods. 31
 Warning design VisibilityModifier Variable 'completed' must be private and have accessor methods. 34
 Warning naming LocalVariableName Name 'TIMEOUT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
 Warning naming LocalVariableName Name 'RETRIES' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
 Warning naming LocalVariableName Name 'ENDPOINT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 59
 Warning blocks NeedBraces 'if' construct must use '{}'s. 107
 Warning blocks NeedBraces 'else' construct must use '{}'s. 114
 Warning misc FinalParameters Parameter args should be final. 169

org/sim0mq/demo/Server.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 16
 Warning misc FinalParameters Parameter args should be final. 22
 Info sizes LineLength Line is longer than 128 characters (found 132). 39

org/sim0mq/demo/mm1/MM1FederationManager.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 129). 124
 Info sizes LineLength Line is longer than 128 characters (found 129). 131
 Info sizes LineLength Line is longer than 128 characters (found 130). 132
 Info sizes LineLength Line is longer than 128 characters (found 129). 238
 Info sizes LineLength Line is longer than 128 characters (found 130). 372
 Warning misc FinalParameters Parameter args should be final. 398

org/sim0mq/demo/mm1/MM1FederationManager20.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 28
 Warning misc FinalParameters Parameter args should be final. 34
 Warning design VisibilityModifier Variable 'fsSocket' must be private and have accessor methods. 170
 Info sizes LineLength Line is longer than 128 characters (found 130). 268
 Info sizes LineLength Line is longer than 128 characters (found 130). 277

org/sim0mq/demo/mm1/MM1Queue41Application.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'startListener' is not designed for extension - needs to be abstract, final or empty. 83
 Warning whitespace WhitespaceAround '=' is not preceded with whitespace. 309

org/sim0mq/demo/mm1/MM1Queue41Model.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'iat' must be private and have accessor methods. 56
 Warning design VisibilityModifier Variable 'serviceTime' must be private and have accessor methods. 59
 Warning design VisibilityModifier Variable 'seed' must be private and have accessor methods. 62

org/sim0mq/demo/reqrep/Rep.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 76

org/sim0mq/demo/reqrep/Req.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 109
 Info sizes LineLength Line is longer than 128 characters (found 130). 171

org/sim0mq/test/Tic.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 17

org/sim0mq/test/TicPush.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 17

org/sim0mq/test/Toc.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 15