The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
202 | 46 | 108 | 57 |
Rules | Violations | Severity |
---|---|---|
AbstractClassName | 0 | Error |
ArrayTypeStyle | 0 | Error |
AvoidInlineConditionals | 0 | Error |
AvoidNestedBlocks | 4 | Error |
AvoidStarImport | 3 | Error |
ConstantName | 0 | Warning |
CovariantEquals | 0 | Error |
DeclarationOrder | 4 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyBlock | 1 | Warning |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
FinalClass | 0 | Error |
FinalLocalVariable | 0 | Error |
FinalParameters | 0 | Error |
GenericIllegalRegexp
| 0 | Error |
HiddenField
| 3 | Error |
HideUtilityClassConstructor | 1 | Error |
IllegalCatch | 0 | Error |
IllegalInstantiation | 0 | Error |
IllegalThrows | 5 | Error |
ImportOrder
| 37 | Error |
Indentation | 0 | Error |
InnerAssignment | 5 | Warning |
InterfaceIsType | 0 | Error |
LeftCurly
| 0 | Error |
MagicNumber | 23 | Warning |
MissingCtor | 9 | Warning |
ModifiedControlVariable | 0 | Error |
ModifierOrder | 0 | Error |
MultipleStringLiterals | 70 | Warning |
MultipleVariableDeclarations | 0 | Error |
MutableException | 0 | Error |
NeedBraces | 0 | Error |
ParameterAssignment | 0 | Error |
RedundantModifier | 0 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
TodoComment
| 46 | Info |
TrailingComment | 0 | Error |
UnnecessaryParentheses | 0 | Error |
UnusedImports | 0 | Error |
NewlineAtEndOfFile | 0 | Error |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 |
Violation | Message | Line |
---|---|---|
The String "process address should contain a separator (" appears 2 times in the file. | 60 | |
The String "): " appears 4 times in the file. | 60 | |
The String "process address should contain a single separator (" appears 2 times in the file. | 61 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 38 | |
The String " from " appears 2 times in the file. | 194 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 207 |
Violation | Message | Line |
---|---|---|
The String " -> " appears 2 times in the file. | 75 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 25 | |
'thisMigrationControlProcess' hides a field. | 49 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 24 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 24 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 139 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 158 |
Violation | Message | Line |
---|---|---|
Class should define a constructor. | 31 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 51 | |
The String "messages" appears 2 times in the file. | 102 | |
Throwing 'Throwable' is not allowed. | 196 | |
The String " " appears 2 times in the file. | 221 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 280 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 281 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 284 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 285 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 289 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 296 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 317 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 318 | |
Must have at least one statement. | 320 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 321 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 326 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 329 | |
Inner assignments should be avoided. | 352 | |
The String "total" appears 2 times in the file. | 374 | |
'100' is a magic number. | 378 | |
Avoid nested blocks. | 422 | |
Avoid nested blocks. | 435 | |
'messagesElement' hides a field. | 437 | |
The String "all" appears 5 times in the file. | 438 | |
The String "normal" appears 4 times in the file. | 439 | |
The String "control" appears 4 times in the file. | 440 | |
Avoid nested blocks. | 443 | |
Avoid nested blocks. | 476 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 22 | |
The String "currentTime=" appears 2 times in the file. | 88 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 116 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 26 | |
Class should define a constructor. | 33 |
Violation | Message | Line |
---|---|---|
The String "path= " appears 2 times in the file. | 137 | |
The String "\nlink= " appears 2 times in the file. | 138 | |
The String "\nbuffer= " appears 2 times in the file. | 139 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 43 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 26 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 44 | |
Inner assignments should be avoided. | 61 | |
The String " " appears 2 times in the file. | 117 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 144 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 34 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 49 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 290 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 291 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 296 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 33 | |
The String " " appears 2 times in the file. | 93 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 23 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 30 | |
The String ": recipient (" appears 5 times in the file. | 122 |
Violation | Message | Line |
---|---|---|
The String "this is not a valid GridNodeAddress: " appears 2 times in the file. | 62 | |
The String "x=" appears 7 times in the file. | 69 | |
The String " y=" appears 6 times in the file. | 153 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 32 |
Violation | Message | Line |
---|---|---|
The String ", " appears 2 times in the file. | 75 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 32 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 61 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 25 | |
Using the '.*' form of import should be avoided - java.io.*. | 47 | |
Using the '.*' form of import should be avoided - java.net.*. | 48 | |
Using the '.*' form of import should be avoided - java.util.*. | 49 | |
Inner assignments should be avoided. | 110 | |
The String "null.appender" appears 2 times in the file. | 111 | |
The String "mupisim.logfile" appears 2 times in the file. | 129 | |
The String "." appears 2 times in the file. | 152 | |
The String "mupisim" appears 2 times in the file. | 187 | |
The String "verbose" appears 4 times in the file. | 345 | |
The String "quiet" appears 3 times in the file. | 346 | |
The String "silent" appears 3 times in the file. | 347 | |
The String "no-run" appears 2 times in the file. | 348 | |
The String "no-logfile" appears 3 times in the file. | 349 | |
The String "cycles" appears 3 times in the file. | 350 | |
The String "max-cycles" appears 3 times in the file. | 351 | |
The String "properties-file" appears 2 times in the file. | 352 | |
The String "output-file" appears 2 times in the file. | 353 | |
The String "log-file" appears 2 times in the file. | 354 | |
'50' is a magic number. | 433 | |
'20' is a magic number. | 441 | |
'20' is a magic number. | 445 | |
Class should define a constructor. | 509 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 28 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 44 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 80 | |
The String "\n" appears 2 times in the file. | 236 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 264 | |
The String "TODO" appears 2 times in the file. | 265 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 271 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 412 | |
'4' is a magic number. | 446 | |
'4' is a magic number. | 448 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 23 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 32 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 59 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 28 |
Violation | Message | Line |
---|---|---|
The String "not a valid CompleteNetworkNodeAddress: " appears 2 times in the file. | 59 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 23 |
Violation | Message | Line |
---|---|---|
'4' is a magic number. | 47 | |
The String "null" appears 2 times in the file. | 55 | |
'4' is a magic number. | 58 | |
'4' is a magic number. | 71 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 23 |
Violation | Message | Line |
---|---|---|
Throwing 'Throwable' is not allowed. | 46 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 34 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 33 | |
Throwing 'Throwable' is not allowed. | 138 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 189 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 215 | |
The String " from " appears 2 times in the file. | 221 | |
The String " to " appears 2 times in the file. | 222 |
Violation | Message | Line |
---|---|---|
'4' is a magic number. | 196 | |
'4' is a magic number. | 201 | |
'4' is a magic number. | 207 | |
'4' is a magic number. | 213 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 32 |
Violation | Message | Line |
---|---|---|
The String " --> " appears 2 times in the file. | 66 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 24 |
Violation | Message | Line |
---|---|---|
Class should define a constructor. | 29 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 26 | |
Inner assignments should be avoided. | 54 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 113 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 125 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 34 | |
The String ", " appears 2 times in the file. | 160 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 23 | |
Inner assignments should be avoided. | 35 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 |
Violation | Message | Line |
---|---|---|
The String "address" appears 2 times in the file. | 68 | |
The String "source" appears 2 times in the file. | 81 | |
The String "destination" appears 2 times in the file. | 82 | |
Constructor definition in wrong order. | 122 | |
Constructor definition in wrong order. | 131 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 37 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 46 | |
The String "mupisim.sim.AbstractProcess:" appears 2 times in the file. | 91 | |
The String " instances=" appears 2 times in the file. | 92 | |
The String " finalize()=" appears 2 times in the file. | 93 | |
The String " terminated=" appears 2 times in the file. | 94 | |
Class should define a constructor. | 98 | |
Throwing 'Throwable' is not allowed. | 110 | |
The String ": host=" appears 2 times in the file. | 278 | |
The String " should be " appears 2 times in the file. | 278 | |
The String " to " appears 2 times in the file. | 285 | |
The String ")" appears 2 times in the file. | 310 | |
'isMobile' hides a field. | 419 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 28 | |
Variable access definition in wrong order. | 48 | |
The String "mupisim.sim.AbstractMessage:" appears 2 times in the file. | 101 | |
The String " instances=" appears 2 times in the file. | 102 | |
The String " finalize()=" appears 2 times in the file. | 103 | |
The String " received=" appears 2 times in the file. | 104 | |
Class should define a constructor. | 108 | |
Throwing 'Throwable' is not allowed. | 120 |
Violation | Message | Line |
---|---|---|
Class should define a constructor. | 60 | |
Utility classes should not have a public or default constructor. | 60 | |
The String "mupisim" appears 3 times in the file. | 81 | |
The String "verbose" appears 3 times in the file. | 85 | |
The String "quiet" appears 3 times in the file. | 86 | |
The String "silent" appears 3 times in the file. | 87 | |
The String "properties-file" appears 2 times in the file. | 88 | |
The String "output-file" appears 2 times in the file. | 89 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 47 | |
The String "TODO" appears 2 times in the file. | 48 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 54 | |
'4' is a magic number. | 91 | |
'4' is a magic number. | 93 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 29 | |
The String "updating localization function regarding " appears 2 times in the file. | 87 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 87 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 125 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 27 | |
The String " " appears 3 times in the file. | 78 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'FIXME|TODO|XXX'. | 39 | |
Comment matches to-do format 'FIXME|TODO|XXX'. | 773 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 40 | |
The String " --> " appears 2 times in the file. | 159 | |
Class should define a constructor. | 450 |
Violation | Message | Line |
---|---|---|
Wrong order for 'mupisim.event.MupisimEvent' import. | 24 |