Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
2024610857

Rules

RulesViolationsSeverity
AbstractClassName0error Error
ArrayTypeStyle0error Error
AvoidInlineConditionals0error Error
AvoidNestedBlocks4error Error
AvoidStarImport3error Error
ConstantName0warning Warning
CovariantEquals0error Error
DeclarationOrder4error Error
DoubleCheckedLocking0error Error
EmptyBlock1warning Warning
EmptyStatement0error Error
EqualsHashCode0error Error
FinalClass0error Error
FinalLocalVariable0error Error
FinalParameters0error Error
GenericIllegalRegexp
  • format: "\s$|\t$"
0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3error Error
HideUtilityClassConstructor1error Error
IllegalCatch0error Error
IllegalInstantiation0error Error
IllegalThrows5error Error
ImportOrder
  • groups: "mupisim"
37error Error
Indentation0error Error
InnerAssignment5warning Warning
InterfaceIsType0error Error
LeftCurly
  • option: "nl"
0error Error
MagicNumber23warning Warning
MissingCtor9warning Warning
ModifiedControlVariable0error Error
ModifierOrder0error Error
MultipleStringLiterals70warning Warning
MultipleVariableDeclarations0error Error
MutableException0error Error
NeedBraces0error Error
ParameterAssignment0error Error
RedundantModifier0error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
StringLiteralEquality0error Error
TodoComment
  • format: "FIXME|TODO|XXX"
46info Info
TrailingComment0error Error
UnnecessaryParentheses0error Error
UnusedImports0error Error
NewlineAtEndOfFile0error Error

Files

Filesinfowarningerror
mupisim/net/AbstractObservableNetworkComponent.java001
mupisim/sim/StringProcessAddress.java030
mupisim/sim/RPrimeFunction.java020
mupisim/sim/SimpleMessagingService.java111
mupisim/net/AbstractNode.java010
mupisim/event/IteratorEventDispatcher.java010
mupisim/sim/mobile/AbstractMigrationControlProcess.java002
mupisim/sim/event/ProcessEvent.java001
mupisim/event/EventUtil.java201
mupisim/net/MappedBufferRoutingFunction.java010
mupisim/stats/SimulationObserver.java1197
mupisim/event/SimpleEventScheduler.java111
mupisim/sim/mobile/HomeLocationControlProcess.java011
mupisim/net/RoutingFunctionUtil.java030
mupisim/sim/AbstractControlProcess.java100
mupisim/util/LogContextTimer.java001
mupisim/sim/SimpleBufferRouter.java221
mupisim/sim/processes/RandomDummyProcess.java401
mupisim/net/complete/CompleteNetwork.java010
mupisim/sim/event/SimulationEvent.java001
mupisim/sim/SimpleProcessManager.java011
mupisim/sim/mobile/OptimalControlProcess.java001
mupisim/sim/DefaultMessageDeliveryControlProcess.java011
mupisim/net/grid/GridUtil.java030
mupisim/net/LinkBufferRoutingFunction.java100
mupisim/sim/mobile/WeakPiControlProcess.java010
mupisim/net/grid/OptimizedGridNetwork.java200
mupisim/Mupisim.java0194
mupisim/net/AbstractNetwork.java541
mupisim/sim/mobile/FollowUpControlProcess.java001
mupisim/net/torus/OptimizedTorusNetwork.java200
mupisim/sim/SimulationUtil.java001
mupisim/net/complete/CompleteNetworkUtil.java010
mupisim/net/event/LinkBufferTransferEvent.java001
mupisim/net/random/RandomNetwork.java010
mupisim/net/AbstractLink.java040
mupisim/event/ScheduledProcedure.java001
mupisim/net/OptimizedCachedAdaptiveShortestPathRoutingFunction.java001
mupisim/sim/MessageUtil.java001
mupisim/sim/SimpleSelectionProcedure.java222
mupisim/sim/SimpleMobileRoutingFunction.java040
mupisim/sim/HasSizeUtil.java100
mupisim/sim/mobile/SimpleMigrationControlProcess.java001
mupisim/sim/AbstractSimulationAndNetworkComponent.java010
mupisim/net/random/RandomRegularNetwork.java010
mupisim/sim/SimpleSimulation.java010
mupisim/event/ObservableProcedureDecorator.java001
mupisim/net/IdentityBufferRoutingFunction.java010
mupisim/sim/processes/RandomServerProcess.java211
mupisim/sim/mobile/AbstractMobileRoutingControlProcess.java001
mupisim/sim/mobile/PiControlProcess.java011
mupisim/sim/SimpleProcess.java011
mupisim/sim/AbstractObservableSimulationComponent.java001
mupisim/net/XmlNetwork.java032
mupisim/net/LinkBufferUtil.java100
mupisim/sim/AbstractProcess.java193
mupisim/sim/processes/AbstractRandomProcess.java001
mupisim/sim/AbstractMessage.java053
mupisim/BuildNetwork.java071
mupisim/sim/REquivalence.java230
mupisim/sim/mobile/BroadcastControlProcess.java011
mupisim/sim/SimpleLocalizationFunction.java200
mupisim/sim/LargeMessage.java011
mupisim/net/NetworkUtil.java200
mupisim/sim/AbstractSimulation.java021
mupisim/sim/mobile/NullMobileRoutingControlProcess.java001
mupisim/net/grid/GridNetwork.java120
mupisim/sim/processes/RandomDaemonProcess.java011

Details

mupisim/net/AbstractObservableNetworkComponent.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27

mupisim/sim/StringProcessAddress.java

ViolationMessageLine
warningThe String "process address should contain a separator (" appears 2 times in the file.60
warningThe String "): " appears 4 times in the file.60
warningThe String "process address should contain a single separator (" appears 2 times in the file.61

mupisim/sim/RPrimeFunction.java

ViolationMessageLine
warning'4' is a magic number.82
warning'4' is a magic number.84

mupisim/sim/SimpleMessagingService.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.38
warningThe String " from " appears 2 times in the file.194
infoComment matches to-do format 'FIXME|TODO|XXX'.207

mupisim/net/AbstractNode.java

ViolationMessageLine
warning'4' is a magic number.41

mupisim/event/IteratorEventDispatcher.java

ViolationMessageLine
warningThe String " -> " appears 2 times in the file.75

mupisim/sim/mobile/AbstractMigrationControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.25
error'thisMigrationControlProcess' hides a field.49

mupisim/sim/event/ProcessEvent.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.24

mupisim/event/EventUtil.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.24
infoComment matches to-do format 'FIXME|TODO|XXX'.139
infoComment matches to-do format 'FIXME|TODO|XXX'.158

mupisim/net/MappedBufferRoutingFunction.java

ViolationMessageLine
warningClass should define a constructor.31

mupisim/stats/SimulationObserver.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.51
warningThe String "messages" appears 2 times in the file.102
errorThrowing 'Throwable' is not allowed.196
warningThe String " " appears 2 times in the file.221
infoComment matches to-do format 'FIXME|TODO|XXX'.280
infoComment matches to-do format 'FIXME|TODO|XXX'.281
infoComment matches to-do format 'FIXME|TODO|XXX'.284
infoComment matches to-do format 'FIXME|TODO|XXX'.285
infoComment matches to-do format 'FIXME|TODO|XXX'.289
infoComment matches to-do format 'FIXME|TODO|XXX'.296
infoComment matches to-do format 'FIXME|TODO|XXX'.317
infoComment matches to-do format 'FIXME|TODO|XXX'.318
warningMust have at least one statement.320
infoComment matches to-do format 'FIXME|TODO|XXX'.321
infoComment matches to-do format 'FIXME|TODO|XXX'.326
infoComment matches to-do format 'FIXME|TODO|XXX'.329
warningInner assignments should be avoided.352
warningThe String "total" appears 2 times in the file.374
warning'100' is a magic number.378
errorAvoid nested blocks.422
errorAvoid nested blocks.435
error'messagesElement' hides a field.437
warningThe String "all" appears 5 times in the file.438
warningThe String "normal" appears 4 times in the file.439
warningThe String "control" appears 4 times in the file.440
errorAvoid nested blocks.443
errorAvoid nested blocks.476

mupisim/event/SimpleEventScheduler.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.22
warningThe String "currentTime=" appears 2 times in the file.88
infoComment matches to-do format 'FIXME|TODO|XXX'.116

mupisim/sim/mobile/HomeLocationControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.26
warningClass should define a constructor.33

mupisim/net/RoutingFunctionUtil.java

ViolationMessageLine
warningThe String "path= " appears 2 times in the file.137
warningThe String "\nlink= " appears 2 times in the file.138
warningThe String "\nbuffer= " appears 2 times in the file.139

mupisim/sim/AbstractControlProcess.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.43

mupisim/util/LogContextTimer.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.26

mupisim/sim/SimpleBufferRouter.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27
infoComment matches to-do format 'FIXME|TODO|XXX'.44
warningInner assignments should be avoided.61
warningThe String " " appears 2 times in the file.117
infoComment matches to-do format 'FIXME|TODO|XXX'.144

mupisim/sim/processes/RandomDummyProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.34
infoComment matches to-do format 'FIXME|TODO|XXX'.49
infoComment matches to-do format 'FIXME|TODO|XXX'.290
infoComment matches to-do format 'FIXME|TODO|XXX'.291
infoComment matches to-do format 'FIXME|TODO|XXX'.296

mupisim/net/complete/CompleteNetwork.java

ViolationMessageLine
warning'3' is a magic number.46

mupisim/sim/event/SimulationEvent.java

ViolationMessageLine
errorConstructor definition in wrong order.42

mupisim/sim/SimpleProcessManager.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.33
warningThe String " " appears 2 times in the file.93

mupisim/sim/mobile/OptimalControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.23

mupisim/sim/DefaultMessageDeliveryControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.30
warningThe String ": recipient (" appears 5 times in the file.122

mupisim/net/grid/GridUtil.java

ViolationMessageLine
warningThe String "this is not a valid GridNodeAddress: " appears 2 times in the file.62
warningThe String "x=" appears 7 times in the file.69
warningThe String " y=" appears 6 times in the file.153

mupisim/net/LinkBufferRoutingFunction.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.32

mupisim/sim/mobile/WeakPiControlProcess.java

ViolationMessageLine
warningThe String ", " appears 2 times in the file.75

mupisim/net/grid/OptimizedGridNetwork.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.32
infoComment matches to-do format 'FIXME|TODO|XXX'.61

mupisim/Mupisim.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.25
errorUsing the '.*' form of import should be avoided - java.io.*.47
errorUsing the '.*' form of import should be avoided - java.net.*.48
errorUsing the '.*' form of import should be avoided - java.util.*.49
warningInner assignments should be avoided.110
warningThe String "null.appender" appears 2 times in the file.111
warningThe String "mupisim.logfile" appears 2 times in the file.129
warningThe String "." appears 2 times in the file.152
warningThe String "mupisim" appears 2 times in the file.187
warningThe String "verbose" appears 4 times in the file.345
warningThe String "quiet" appears 3 times in the file.346
warningThe String "silent" appears 3 times in the file.347
warningThe String "no-run" appears 2 times in the file.348
warningThe String "no-logfile" appears 3 times in the file.349
warningThe String "cycles" appears 3 times in the file.350
warningThe String "max-cycles" appears 3 times in the file.351
warningThe String "properties-file" appears 2 times in the file.352
warningThe String "output-file" appears 2 times in the file.353
warningThe String "log-file" appears 2 times in the file.354
warning'50' is a magic number.433
warning'20' is a magic number.441
warning'20' is a magic number.445
warningClass should define a constructor.509

mupisim/net/AbstractNetwork.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.28
infoComment matches to-do format 'FIXME|TODO|XXX'.44
infoComment matches to-do format 'FIXME|TODO|XXX'.80
warningThe String "\n" appears 2 times in the file.236
infoComment matches to-do format 'FIXME|TODO|XXX'.264
warningThe String "TODO" appears 2 times in the file.265
infoComment matches to-do format 'FIXME|TODO|XXX'.271
infoComment matches to-do format 'FIXME|TODO|XXX'.412
warning'4' is a magic number.446
warning'4' is a magic number.448

mupisim/sim/mobile/FollowUpControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.23

mupisim/net/torus/OptimizedTorusNetwork.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.32
infoComment matches to-do format 'FIXME|TODO|XXX'.59

mupisim/sim/SimulationUtil.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.28

mupisim/net/complete/CompleteNetworkUtil.java

ViolationMessageLine
warningThe String "not a valid CompleteNetworkNodeAddress: " appears 2 times in the file.59

mupisim/net/event/LinkBufferTransferEvent.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.23

mupisim/net/random/RandomNetwork.java

ViolationMessageLine
warning'4' is a magic number.71

mupisim/net/AbstractLink.java

ViolationMessageLine
warning'4' is a magic number.47
warningThe String "null" appears 2 times in the file.55
warning'4' is a magic number.58
warning'4' is a magic number.71

mupisim/event/ScheduledProcedure.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.23

mupisim/net/OptimizedCachedAdaptiveShortestPathRoutingFunction.java

ViolationMessageLine
errorThrowing 'Throwable' is not allowed.46

mupisim/sim/MessageUtil.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.34

mupisim/sim/SimpleSelectionProcedure.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.33
errorThrowing 'Throwable' is not allowed.138
infoComment matches to-do format 'FIXME|TODO|XXX'.189
infoComment matches to-do format 'FIXME|TODO|XXX'.215
warningThe String " from " appears 2 times in the file.221
warningThe String " to " appears 2 times in the file.222

mupisim/sim/SimpleMobileRoutingFunction.java

ViolationMessageLine
warning'4' is a magic number.196
warning'4' is a magic number.201
warning'4' is a magic number.207
warning'4' is a magic number.213

mupisim/sim/HasSizeUtil.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.53

mupisim/sim/mobile/SimpleMigrationControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.32

mupisim/sim/AbstractSimulationAndNetworkComponent.java

ViolationMessageLine
warningThe String " --> " appears 2 times in the file.66

mupisim/net/random/RandomRegularNetwork.java

ViolationMessageLine
warning'4' is a magic number.94

mupisim/sim/SimpleSimulation.java

ViolationMessageLine
warningClass should define a constructor.26

mupisim/event/ObservableProcedureDecorator.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.24

mupisim/net/IdentityBufferRoutingFunction.java

ViolationMessageLine
warningClass should define a constructor.29

mupisim/sim/processes/RandomServerProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.26
warningInner assignments should be avoided.54
infoComment matches to-do format 'FIXME|TODO|XXX'.113
infoComment matches to-do format 'FIXME|TODO|XXX'.125

mupisim/sim/mobile/AbstractMobileRoutingControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27

mupisim/sim/mobile/PiControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.34
warningThe String ", " appears 2 times in the file.160

mupisim/sim/SimpleProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.23
warningInner assignments should be avoided.35

mupisim/sim/AbstractObservableSimulationComponent.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27

mupisim/net/XmlNetwork.java

ViolationMessageLine
warningThe String "address" appears 2 times in the file.68
warningThe String "source" appears 2 times in the file.81
warningThe String "destination" appears 2 times in the file.82
errorConstructor definition in wrong order.122
errorConstructor definition in wrong order.131

mupisim/net/LinkBufferUtil.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.44

mupisim/sim/AbstractProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.37
infoComment matches to-do format 'FIXME|TODO|XXX'.46
warningThe String "mupisim.sim.AbstractProcess:" appears 2 times in the file.91
warningThe String " instances=" appears 2 times in the file.92
warningThe String " finalize()=" appears 2 times in the file.93
warningThe String " terminated=" appears 2 times in the file.94
warningClass should define a constructor.98
errorThrowing 'Throwable' is not allowed.110
warningThe String ": host=" appears 2 times in the file.278
warningThe String " should be " appears 2 times in the file.278
warningThe String " to " appears 2 times in the file.285
warningThe String ")" appears 2 times in the file.310
error'isMobile' hides a field.419

mupisim/sim/processes/AbstractRandomProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27

mupisim/sim/AbstractMessage.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.28
errorVariable access definition in wrong order.48
warningThe String "mupisim.sim.AbstractMessage:" appears 2 times in the file.101
warningThe String " instances=" appears 2 times in the file.102
warningThe String " finalize()=" appears 2 times in the file.103
warningThe String " received=" appears 2 times in the file.104
warningClass should define a constructor.108
errorThrowing 'Throwable' is not allowed.120

mupisim/BuildNetwork.java

ViolationMessageLine
warningClass should define a constructor.60
errorUtility classes should not have a public or default constructor.60
warningThe String "mupisim" appears 3 times in the file.81
warningThe String "verbose" appears 3 times in the file.85
warningThe String "quiet" appears 3 times in the file.86
warningThe String "silent" appears 3 times in the file.87
warningThe String "properties-file" appears 2 times in the file.88
warningThe String "output-file" appears 2 times in the file.89

mupisim/sim/REquivalence.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.47
warningThe String "TODO" appears 2 times in the file.48
infoComment matches to-do format 'FIXME|TODO|XXX'.54
warning'4' is a magic number.91
warning'4' is a magic number.93

mupisim/sim/mobile/BroadcastControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.29
warningThe String "updating localization function regarding " appears 2 times in the file.87

mupisim/sim/SimpleLocalizationFunction.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.87
infoComment matches to-do format 'FIXME|TODO|XXX'.125

mupisim/sim/LargeMessage.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.27
warningThe String " " appears 3 times in the file.78

mupisim/net/NetworkUtil.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.39
infoComment matches to-do format 'FIXME|TODO|XXX'.773

mupisim/sim/AbstractSimulation.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.40
warningThe String " --> " appears 2 times in the file.159
warningClass should define a constructor.450

mupisim/sim/mobile/NullMobileRoutingControlProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.24

mupisim/net/grid/GridNetwork.java

ViolationMessageLine
infoComment matches to-do format 'FIXME|TODO|XXX'.33
warning'3' is a magic number.79
warning'3' is a magic number.89

mupisim/sim/processes/RandomDaemonProcess.java

ViolationMessageLine
errorWrong order for 'mupisim.event.MupisimEvent' import.34
warningThe String " " appears 2 times in the file.116