Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfosWarningsErrors
8600893

Files

FilesIWE
aigames/soccer/InvalidMoveException.java 004
aigames/soccer/Move.java 0034
aigames/soccer/application/LogMessageBuilder.java 0012
aigames/soccer/application/Message.java 0035
aigames/soccer/application/MessageSender.java 0071
aigames/soccer/application/SoccerApp.java 0077
aigames/soccer/application/UserInfo.java 0032
aigames/soccer/application/Validator.java 0013
aigames/soccer/communication/ClientData.java 0015
aigames/soccer/communication/SocketCommModule.java 0065
aigames/soccer/field/BasicGameField.java 0063
aigames/soccer/field/FieldPoint.java 0017
aigames/soccer/field/GameField.java 0012
aigames/soccer/field/constructor/Constructor.java 005
aigames/soccer/field/constructor/StandardConstructor.java 0022
aigames/soccer/observer/Communication.java 0044
aigames/soccer/observer/FieldPanel.java 008
aigames/soccer/observer/Observer.java 0060
aigames/soccer/observer/OptionsPane.java 0061
aigames/soccer/observer/PlayerPanel.java 0034
snifos/Main.java 003
snifos/application/Application.java 006
snifos/application/ApplicationInfo.java 0015
snifos/application/test/DummyApplication.java 0021
snifos/common/UserId.java 0016
snifos/common/test/DummyMessages.java 0015
snifos/communication/CommModule.java 006
snifos/communication/CommModuleInfo.java 0012
snifos/communication/test/DummyCommModule.java 0027
snifos/exception/ConfigurationException.java 004
snifos/exception/InvalidMessageException.java 003
snifos/exception/InvalidUserException.java 002
snifos/server/Server.java 005
snifos/server/SnifosServer.java 0054
snifos/server/test/DummyServer.java 0020

aigames/soccer/InvalidMoveException.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Line is longer than 80 characters. 26
Error First sentence should end with a period. 29
Error Parameter message should be final. 33

aigames/soccer/Move.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 33
Error Name 'translationMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
Error '3' is a magic number. 42
Error '4' is a magic number. 45
Error '5' is a magic number. 48
Error '6' is a magic number. 51
Error '7' is a magic number. 54
Error '8' is a magic number. 57
Error '{' is followed by whitespace. 60
Error '{' is followed by whitespace. 61
Error '{' is followed by whitespace. 62
Error '{' is followed by whitespace. 63
Error '{' is followed by whitespace. 64
Error '{' is followed by whitespace. 65
Error '{' is followed by whitespace. 66
Error '{' is followed by whitespace. 67
Error Missing a Javadoc comment. 70
Error Parameter steps should be final. 77
Error 'steps' hides a field. 77
Error Parameter steps should be final. 86
Error 'steps' hides a field. 86
Error Parameter direction should be final. 95
Error Method 'addStepSequence' is not designed for extension - needs to be abstract, final or empty. 104
Error Parameter steps should be final. 104
Error 'steps' hides a field. 104
Error Method 'addStep' is not designed for extension - needs to be abstract, final or empty. 115
Error Parameter step should be final. 115
Error Method 'addStep' is not designed for extension - needs to be abstract, final or empty. 128
Error Parameter step should be final. 128
Error Method 'addStepSequence' is not designed for extension - needs to be abstract, final or empty. 137
Error Parameter steps should be final. 137
Error 'steps' hides a field. 137
Error Method 'getSteps' is not designed for extension - needs to be abstract, final or empty. 147

aigames/soccer/application/LogMessageBuilder.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 41
Error Method 'addMove' is not designed for extension - needs to be abstract, final or empty. 57
Error Method 'addName' is not designed for extension - needs to be abstract, final or empty. 73
Error Method 'addMap' is not designed for extension - needs to be abstract, final or empty. 84
Error Method 'addBegin' is not designed for extension - needs to be abstract, final or empty. 97
Error Method 'addWinner' is not designed for extension - needs to be abstract, final or empty. 106
Error Expected @param tag for 'name'. 106
Error Method 'addError' is not designed for extension - needs to be abstract, final or empty. 116
Error Method 'addTextElement' is not designed for extension - needs to be abstract, final or empty. 128
Error Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 138

aigames/soccer/application/Message.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error First sentence should end with a period. 44
Error First sentence should end with a period. 47
Error First sentence should end with a period. 50
Error First sentence should end with a period. 53
Error First sentence should end with a period. 56
Error First sentence should end with a period. 59
Error First sentence should end with a period. 62
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 67
Error Missing a Javadoc comment. 68
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 72
Error Parameter userId should be final. 79
Error 'userId' hides a field. 79
Error Parameter message should be final. 79
Error 'message' hides a field. 79
Error Method 'getLastValidationReason' is not designed for extension - needs to be abstract, final or empty. 128
Error Method 'getMessageId' is not designed for extension - needs to be abstract, final or empty. 136
Error Method 'getMessageType' is not designed for extension - needs to be abstract, final or empty. 145
Error Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 153
Error Method 'validate' is not designed for extension - needs to be abstract, final or empty. 162
Error Parameter validator should be final. 162
Error Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 179
Error Method 'getMessageIdAsString' is not designed for extension - needs to be abstract, final or empty. 187
Error Method 'getSendDate' is not designed for extension - needs to be abstract, final or empty. 195
Error Method 'setSendDate' is not designed for extension - needs to be abstract, final or empty. 203
Error Parameter sendDate should be final. 203
Error 'sendDate' hides a field. 203
Error Method 'incResendCounter' is not designed for extension - needs to be abstract, final or empty. 210
Error Method 'getMove' is not designed for extension - needs to be abstract, final or empty. 218

aigames/soccer/application/MessageSender.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 47
Error Name 'ACCEPTED_TEMPLATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 47
Error Missing a Javadoc comment. 48
Error Name 'REFUSED_TEMPLATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
Error Missing a Javadoc comment. 49
Error Name 'PARAMS_TEMPLATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49
Error Missing a Javadoc comment. 50
Error Name 'GAME_OVER_TEMPLATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 50
Error Missing a Javadoc comment. 51
Error '+' should be on a new line. 55
Error '+' should be on a new line. 59
Error '+' should be on a new line. 62
Error '+' should be on a new line. 63
Error '+' should be on a new line. 66
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Line is longer than 80 characters. 72
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 73
Error Parameter server should be final. 79
Error 'server' hides a field. 79
Error Method 'getCounter' is not designed for extension - needs to be abstract, final or empty. 87
Error Missing a Javadoc comment. 93
Error Parameter body should be final. 93
Error Must have at least one statement. 98
Error Method 'sendGameParameters' is not designed for extension - needs to be abstract, final or empty. 114
Error Parameter userId should be final. 114
Error Parameter width should be final. 114
Error Parameter height should be final. 114
Error Parameter goal should be final. 115
Error Parameter side should be final. 115
Error Parameter begin should be final. 115
Error Line is longer than 80 characters. 120
Error Line is longer than 80 characters. 124
Error Line is longer than 80 characters. 126
Error Missing a Javadoc comment. 132
Error Missing a Javadoc comment. 136
Error Parameter userId should be final. 136
Error Parameter messageId should be final. 136
Error Parameter message should be final. 136
Error Method 'sendRefused' is not designed for extension - needs to be abstract, final or empty. 150
Error Parameter message should be final. 150
Error Parameter reason should be final. 150
Error Missing a Javadoc comment. 156
Error Parameter message should be final. 156
Error Parameter confirmation should be final. 156
Error Line is longer than 80 characters. 157
Error Method 'sendAccepted' is not designed for extension - needs to be abstract, final or empty. 165
Error Parameter message should be final. 165
Error Method 'sendGameOver' is not designed for extension - needs to be abstract, final or empty. 175
Error Parameter winner should be final. 175
Error Parameter userId should be final. 175
Error Method 'checkConfirmationTimeouts' is not designed for extension - needs to be abstract, final or empty. 184
Error Method 'setMessageConfirmation' is not designed for extension - needs to be abstract, final or empty. 208
Error Parameter confirmationMessage should be final. 208
Error Method 'forwardIncoming' is not designed for extension - needs to be abstract, final or empty. 224
Error Parameter message should be final. 224
Error Parameter userId should be final. 224
Error Method 'sendWithConfirmation' is not designed for extension - needs to be abstract, final or empty. 234
Error Parameter userId should be final. 234
Error Parameter messageToSend should be final. 234
Error Method 'areUnconfirmedMessages' is not designed for extension - needs to be abstract, final or empty. 246
Error Method 'clearUnconfirmedMessages' is not designed for extension - needs to be abstract, final or empty. 253
Error Method 'sendLogGameOver' is not designed for extension - needs to be abstract, final or empty. 262
Error Parameter winner should be final. 262
Error Parameter id should be final. 262
Error Method 'sendLogMove' is not designed for extension - needs to be abstract, final or empty. 274
Error Parameter move should be final. 274
Error Parameter id should be final. 274
Error Parameter date should be final. 274

aigames/soccer/application/SoccerApp.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 67
Error Missing a Javadoc comment. 68
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 74
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 76
Error Missing a Javadoc comment. 77
Error Missing a Javadoc comment. 78
Error Line is longer than 80 characters. 79
Error Missing a Javadoc comment. 79
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 81
Error Line is longer than 80 characters. 82
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 83
Error Missing a Javadoc comment. 84
Error Missing a Javadoc comment. 85
Error Missing a Javadoc comment. 86
Error Missing a Javadoc comment. 87
Error Missing a Javadoc comment. 88
Error Missing a Javadoc comment. 89
Error Missing a Javadoc comment. 90
Error Missing a Javadoc comment. 91
Error Missing a Javadoc comment. 92
Error Method 'configure' is not designed for extension - needs to be abstract, final or empty. 97
Error Parameter isUnique should be final. 97
Error Method 'setServer' is not designed for extension - needs to be abstract, final or empty. 133
Error Line is longer than 80 characters. 141
Error Method 'unregisterUser' is not designed for extension - needs to be abstract, final or empty. 141
Error Line is longer than 80 characters. 163
Error Method 'receiveMessage' is not designed for extension - needs to be abstract, final or empty. 165
Error Line is longer than 80 characters. 184
Error Missing a Javadoc comment. 193
Error Must have at least one statement. 200
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 213
Error Missing a Javadoc comment. 259
Error Missing a Javadoc comment. 271
Error Must have at least one statement. 279
Error Missing a Javadoc comment. 290
Error Parameter message should be final. 290
Error Missing a Javadoc comment. 318
Error Parameter thisPlayer should be final. 318
Error '&&' should be on a new line. 324
Error Missing a Javadoc comment. 334
Error Parameter message should be final. 334
Error 'goal' hides a field. 345
Error '+' should be on a new line. 367
Error Missing a Javadoc comment. 379
Error Parameter pos should be final. 379
Error Missing a Javadoc comment. 400
Error Parameter message should be final. 400
Error Parameter observerOnly should be final. 400
Error Parameter moveDate should be final. 401
Error Missing a Javadoc comment. 428
Error Parameter winner should be final. 428
Error Missing a Javadoc comment. 452
Error Missing a Javadoc comment. 461
Error Parameter userInfo should be final. 461
Error Missing a Javadoc comment. 494
Error Parameter i should be final. 494
Error Missing a Javadoc comment. 500
Error Parameter toPlayers should be final. 500
Error Method 'registerUser' is not designed for extension - needs to be abstract, final or empty. 537
Error Parameter userId should be final. 537
Error Parameter message should be final. 537
Error '&&' should be on a new line. 543
Error '&&' should be on a new line. 548
Error '&&' should be on a new line. 550
Error '||' should be on a new line. 551

aigames/soccer/application/UserInfo.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error First sentence should end with a period. 35
Error First sentence should end with a period. 38
Error First sentence should end with a period. 41
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Parameter userId should be final. 53
Error 'userId' hides a field. 53
Error Parameter userId should be final. 62
Error 'userId' hides a field. 62
Error Parameter message should be final. 62
Error 'type' hides a field. 65
Error Method 'getType' is not designed for extension - needs to be abstract, final or empty. 80
Error Method 'setType' is not designed for extension - needs to be abstract, final or empty. 88
Error Parameter type should be final. 88
Error 'type' hides a field. 88
Error Method 'getLastMessageDate' is not designed for extension - needs to be abstract, final or empty. 96
Error Method 'setLastMessageDate' is not designed for extension - needs to be abstract, final or empty. 104
Error Parameter lastMessageDate should be final. 104
Error 'lastMessageDate' hides a field. 104
Error Method 'getName' is not designed for extension - needs to be abstract, final or empty. 112
Error Method 'setName' is not designed for extension - needs to be abstract, final or empty. 120
Error Parameter name should be final. 120
Error 'name' hides a field. 120
Error Method 'getNoOfBadMessages' is not designed for extension - needs to be abstract, final or empty. 128
Error Method 'setNoOfBadMessages' is not designed for extension - needs to be abstract, final or empty. 136
Error Parameter noOfBadMessages should be final. 136
Error 'noOfBadMessages' hides a field. 136
Error Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 144

aigames/soccer/application/Validator.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 51
Error Line is longer than 80 characters. 56
Error Parameter schemaFileName should be final. 60
Error Parameter e should be final. 77
Error Parameter e should be final. 82
Error Parameter e should be final. 86
Error Method 'validate' is not designed for extension - needs to be abstract, final or empty. 99
Error Parameter message should be final. 99
Error Expected @param tag for 'message'. 99
Error Method 'getStatus' is not designed for extension - needs to be abstract, final or empty. 113

aigames/soccer/communication/ClientData.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 32
Error Missing a Javadoc comment. 33
Error Missing a Javadoc comment. 34
Error Parameter socket should be final. 41
Error 'socket' hides a field. 41
Error Parameter userId should be final. 41
Error 'userId' hides a field. 41
Error Method 'append' is not designed for extension - needs to be abstract, final or empty. 51
Error Parameter message should be final. 51
Error Method 'getBuffer' is not designed for extension - needs to be abstract, final or empty. 59
Error Method 'getSocket' is not designed for extension - needs to be abstract, final or empty. 67
Error Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 75
Error Method 'clearBuffer' is not designed for extension - needs to be abstract, final or empty. 83
Error Parameter position should be final. 83

aigames/soccer/communication/SocketCommModule.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 68
Error Name 'EOT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 74
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 76
Error '9669' is a magic number. 76
Error Missing a Javadoc comment. 77
Error Missing a Javadoc comment. 78
Error Line is longer than 80 characters. 88
Error Method 'configure' is not designed for extension - needs to be abstract, final or empty. 90
Error Parameter configuration should be final. 90
Error Parameter commModuleId should be final. 90
Error Method 'setServer' is not designed for extension - needs to be abstract, final or empty. 101
Error Parameter server should be final. 101
Error 'server' hides a field. 101
Error Line is longer than 80 characters. 107
Error Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. 109
Error Parameter userId should be final. 109
Error Parameter message should be final. 109
Error '+' should be on a new line. 112
Error '+' should be on a new line. 131
Error Line is longer than 80 characters. 141
Error Method 'disconnectUser' is not designed for extension - needs to be abstract, final or empty. 143
Error Parameter userId should be final. 143
Error Line has trailing spaces. 149
Error Line is longer than 80 characters. 149
Error Line contains a tab character. 149
Error Method 'shutdown' is not designed for extension - needs to be abstract, final or empty. 161
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 168
Error '+' should be on a new line. 194
Error Must have at least one statement. 199
Error Must have at least one statement. 201
Error Line has trailing spaces. 220
Error Line is longer than 80 characters. 220
Error Line contains a tab character. 220
Error '+' should be on a new line. 227
Error Must have at least one statement. 246
Error Must have at least one statement. 248
Error Missing a Javadoc comment. 257
Error Missing a Javadoc comment. 282
Error Parameter socket should be final. 282
Error Missing a Javadoc comment. 303
Error Parameter socket should be final. 303
Error Parameter selector should be final. 304
Error Missing a Javadoc comment. 320
Error Parameter client should be final. 320
Error Name 'BUFFER_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 321
Error '4096' is a magic number. 321
Error Parameter buffer should be final. 349
Error Missing a Javadoc comment. 364
Error Parameter message should be final. 364
Error Parameter data should be final. 364
Error '+' should be on a new line. 365
Error '+' should be on a new line. 389
Error '+' should be on a new line. 393
Error '+' should be on a new line. 399
Error Method 'setTest' is not designed for extension - needs to be abstract, final or empty. 413
Error Parameter b should be final. 413
Error Expected @param tag for 'b'. 413

aigames/soccer/field/BasicGameField.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 45
Error Line is longer than 80 characters. 46
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 48
Error Parameter fieldConstructor should be final. 54
Error 'fieldConstructor' hides a field. 54
Error Method 'makeMove' is not designed for extension - needs to be abstract, final or empty. 61
Error Parameter move should be final. 61
Error Parameter color should be final. 61
Error '4' is a magic number. 83
Error '4' is a magic number. 90
Error Line is longer than 80 characters. 93
Error Missing a Javadoc comment. 115
Error Parameter integerMap should be final. 115
Error Parameter color should be final. 115
Error Parameter i should be final. 115
Error Method 'isDeadLock' is not designed for extension - needs to be abstract, final or empty. 130
Error Missing a Javadoc comment. 134
Error Parameter point should be final. 134
Error Parameter visitedPoints should be final. 134
Error '+' should be on a new line. 141
Error '4' is a magic number. 149
Error '5' is a magic number. 161
Error '8' is a magic number. 161
Error Line is longer than 80 characters. 167
Error '4' is a magic number. 167
Error Missing a Javadoc comment. 182
Error Parameter point should be final. 182
Error '4' is a magic number. 187
Error '5' is a magic number. 193
Error '8' is a magic number. 193
Error Missing a Javadoc comment. 202
Error Parameter point should be final. 202
Error Parameter direction should be final. 202
Error Line is longer than 80 characters. 209
Error '4' is a magic number. 209
Error Missing a Javadoc comment. 219
Error Parameter point should be final. 219
Error '4' is a magic number. 224
Error '5' is a magic number. 233
Error '8' is a magic number. 233
Error Missing a Javadoc comment. 245
Error Parameter currentPoint should be final. 245
Error Parameter step should be final. 245
Error Method 'getCurrentPosition' is not designed for extension - needs to be abstract, final or empty. 256
Error Method 'startGame' is not designed for extension - needs to be abstract, final or empty. 263
Error Method 'isGoal' is not designed for extension - needs to be abstract, final or empty. 271
Error Method 'isGameOver' is not designed for extension - needs to be abstract, final or empty. 278
Error '||' should be on a new line. 279
Error Method 'getNumberOfMoves' is not designed for extension - needs to be abstract, final or empty. 286
Error Parameter color should be final. 286
Error Avoid inline conditionals. 289
Error Method 'getAvgMoveLength' is not designed for extension - needs to be abstract, final or empty. 295
Error Parameter color should be final. 295
Error Method 'getFieldPoint' is not designed for extension - needs to be abstract, final or empty. 316
Error Parameter x should be final. 316
Error Parameter y should be final. 316
Error Method 'getMaximumXIndex' is not designed for extension - needs to be abstract, final or empty. 323
Error Method 'getMaximumYIndex' is not designed for extension - needs to be abstract, final or empty. 330

aigames/soccer/field/FieldPoint.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error First sentence should end with a period. 27
Error First sentence should end with a period. 30
Error First sentence should end with a period. 33
Error Missing a Javadoc comment. 35
Error Parameter edges should be final. 41
Error 'edges' hides a field. 41
Error '4' is a magic number. 42
Error '{' is followed by whitespace. 53
Error Method 'setEdgeColor' is not designed for extension - needs to be abstract, final or empty. 61
Error Parameter edgeNumber should be final. 61
Error Parameter color should be final. 61
Error Method 'setEdgeColor' is not designed for extension - needs to be abstract, final or empty. 70
Error Parameter edgeNumber should be final. 70
Error Parameter color should be final. 70
Error Method 'getEdgeColor' is not designed for extension - needs to be abstract, final or empty. 79
Error Parameter edgeNumber should be final. 79

aigames/soccer/field/GameField.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Redundant 'public' modifier. 40
Error Redundant 'public' modifier. 46
Error Redundant 'public' modifier. 52
Error Redundant 'public' modifier. 58
Error Redundant 'public' modifier. 64
Error Redundant 'public' modifier. 70
Error Redundant 'public' modifier. 77
Error Redundant 'public' modifier. 84
Error Redundant 'public' modifier. 92
Error Redundant 'public' modifier. 98
Error Redundant 'public' modifier. 104

aigames/soccer/field/constructor/Constructor.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Redundant 'public' modifier. 36
Error Redundant 'public' modifier. 42
Error Redundant 'public' modifier. 49
Error Redundant 'public' modifier. 56

aigames/soccer/field/constructor/StandardConstructor.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Line is longer than 80 characters. 32
Error Missing a Javadoc comment. 35
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 38
Error Parameter width should be final. 47
Error Parameter height should be final. 47
Error Parameter goal should be final. 47
Error Redundant throws: 'IllegalArgumentException' is unchecked exception. 48
Error '||' should be on a new line. 53
Error Method 'getNewField' is not designed for extension - needs to be abstract, final or empty. 71
Error '3' is a magic number. 72
Error 'for' construct must use '{}'s. 122
Error Line is longer than 80 characters. 181
Error Line is longer than 80 characters. 187
Error Method 'getStartingPosition' is not designed for extension - needs to be abstract, final or empty. 221
Error Line is longer than 80 characters. 226
Error Method 'isGameOverPosition' is not designed for extension - needs to be abstract, final or empty. 228
Error Parameter position should be final. 228
Error Method 'isGoalPosition' is not designed for extension - needs to be abstract, final or empty. 235
Error Parameter position should be final. 235

aigames/soccer/observer/Communication.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 53
Error Name 'EOT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Error Missing a Javadoc comment. 54
Error Name 'ACCEPTED' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
Error '101' is a magic number. 54
Error Missing a Javadoc comment. 55
Error Name 'NOT_ACCEPTED' must match pattern '^[a-z][a-zA-Z0-9]*$'. 55
Error '202' is a magic number. 55
Error Missing a Javadoc comment. 56
Error Name 'REFUSED' must match pattern '^[a-z][a-zA-Z0-9]*$'. 56
Error '303' is a magic number. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 59
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 62
Error Method 'connect' is not designed for extension - needs to be abstract, final or empty. 70
Error Parameter ip should be final. 70
Error Expected @param tag for 'ip'. 70
Error Parameter port should be final. 70
Error Expected @param tag for 'port'. 70
Error Method 'disconnect' is not designed for extension - needs to be abstract, final or empty. 91
Error Method 'sayHello' is not designed for extension - needs to be abstract, final or empty. 107
Error Parameter name should be final. 107
Error '3' is a magic number. 122
Error Method 'readMessage' is not designed for extension - needs to be abstract, final or empty. 131
Error Parameter confirm should be final. 131
Error Expression can be simplified. 138
Error '100' is a magic number. 139
Error Method 'getGamesList' is not designed for extension - needs to be abstract, final or empty. 181
Error '3' is a magic number. 183
Error Parameter name should be final. 195
Error Parameter message should be final. 203
Error Parameter id should be final. 229
Error Method 'setObserver' is not designed for extension - needs to be abstract, final or empty. 259
Error Parameter observer should be final. 259
Error 'observer' hides a field. 259
Error Expected @param tag for 'observer'. 259
Error Method 'shutdown' is not designed for extension - needs to be abstract, final or empty. 266
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 273

aigames/soccer/observer/FieldPanel.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 33
Error Method 'setImage' is not designed for extension - needs to be abstract, final or empty. 47
Error Parameter buffer should be final. 47
Error 'buffer' hides a field. 47
Error Expected @param tag for 'buffer'. 47
Error Method 'paintComponent' is not designed for extension - needs to be abstract, final or empty. 54
Error Parameter g should be final. 54

aigames/soccer/observer/Observer.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error '204' is a magic number. 70
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 74
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 76
Error Missing a Javadoc comment. 77
Error Missing a Javadoc comment. 78
Error Missing a Javadoc comment. 79
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 81
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 83
Error Missing a Javadoc comment. 84
Error Missing a Javadoc comment. 85
Error Missing a Javadoc comment. 86
Error Missing a Javadoc comment. 87
Error Parameter args should be final. 102
Error Expected @param tag for 'args'. 102
Error '750' is a magic number. 113
Error '400' is a magic number. 113
Error Parameter e should be final. 118
Error Line is longer than 80 characters. 189
Error Line is longer than 80 characters. 190
Error Parameter e should be final. 190
Error '20' is a magic number. 212
Error Parameter value should be final. 224
Error Line has trailing spaces. 240
Error '100' is a magic number. 256
Error Must have at least one statement. 258
Error Must have at least one statement. 269
Error Missing a Javadoc comment. 275
Error Method 'processMessage' is not designed for extension - needs to be abstract, final or empty. 296
Error Parameter doc should be final. 296
Error Line is longer than 80 characters. 318
Error Must have at least one statement. 349
Error Missing a Javadoc comment. 365
Error Parameter time should be final. 365
Error '3600' is a magic number. 371
Error '1000' is a magic number. 371
Error '3600' is a magic number. 379
Error '1000' is a magic number. 379
Error Missing a Javadoc comment. 385
Error Parameter node should be final. 385
Error Line is longer than 80 characters. 395
Error Missing a Javadoc comment. 418
Error '5' is a magic number. 446
Error Missing a Javadoc comment. 468
Error Parameter begin should be final. 468
Error Parameter end should be final. 468
Error Parameter edgeColor should be final. 468
Error Parameter g should be final. 468
Error '-2' is a magic number. 471
Error '255' is a magic number. 479
Error '255' is a magic number. 481
Error '20' is a magic number. 486

aigames/soccer/observer/OptionsPane.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 42
Error '170' is a magic number. 42
Error Missing a Javadoc comment. 43
Error '187' is a magic number. 43
Error Missing a Javadoc comment. 44
Error '221' is a magic number. 44
Error Missing a Javadoc comment. 45
Error '238' is a magic number. 45
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 51
Error Missing a Javadoc comment. 52
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 59
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 62
Error Missing a Javadoc comment. 63
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 65
Error '5' is a magic number. 102
Error '10' is a magic number. 105
Error Line contains a tab character. 121
Error Line is longer than 80 characters. 122
Error Line contains a tab character. 122
Error Line contains a tab character. 123
Error Line contains a tab character. 124
Error Line contains a tab character. 125
Error Line contains a tab character. 126
Error '20' is a magic number. 130
Error '20' is a magic number. 177
Error '5' is a magic number. 197
Error Parameter e should be final. 200
Error '4' is a magic number. 261
Error Line is longer than 80 characters. 268
Error Parameter e should be final. 270
Error '5' is a magic number. 291
Error Parameter e should be final. 294
Error Method 'isConnected' is not designed for extension - needs to be abstract, final or empty. 385
Error Method 'setConnected' is not designed for extension - needs to be abstract, final or empty. 393
Error Parameter b should be final. 393
Error Expected @param tag for 'b'. 393
Error Method 'isSelected' is not designed for extension - needs to be abstract, final or empty. 411
Error Method 'setSelected' is not designed for extension - needs to be abstract, final or empty. 419
Error Parameter b should be final. 419
Error Expected @param tag for 'b'. 419
Error Method 'setGamesList' is not designed for extension - needs to be abstract, final or empty. 437
Error Parameter list should be final. 437
Error Expected @param tag for 'list'. 437
Error Method 'getGame' is not designed for extension - needs to be abstract, final or empty. 451
Error Method 'getIp' is not designed for extension - needs to be abstract, final or empty. 459
Error Method 'getPort' is not designed for extension - needs to be abstract, final or empty. 467

aigames/soccer/observer/PlayerPanel.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 35
Error '204' is a magic number. 35
Error '255' is a magic number. 35
Error '204' is a magic number. 35
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 41
Error '153' is a magic number. 60
Error Missing a Javadoc comment. 66
Error '5' is a magic number. 71
Error Missing a Javadoc comment. 80
Error Line is longer than 80 characters. 83
Error '15' is a magic number. 84
Error '15' is a magic number. 88
Error '102' is a magic number. 103
Error '204' is a magic number. 103
Error '14' is a magic number. 105
Error '255' is a magic number. 134
Error '153' is a magic number. 134
Error '204' is a magic number. 148
Error '153' is a magic number. 148
Error Method 'setMovesAverage' is not designed for extension - needs to be abstract, final or empty. 158
Error Parameter number should be final. 158
Error Method 'setMovesTotal' is not designed for extension - needs to be abstract, final or empty. 166
Error Parameter number should be final. 166
Error Method 'setPlayerName' is not designed for extension - needs to be abstract, final or empty. 174
Error Parameter name should be final. 174
Error Method 'setTime' is not designed for extension - needs to be abstract, final or empty. 182
Error Parameter time should be final. 182
Error 'time' hides a field. 182

snifos/Main.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Utility classes should not have a public or default constructor. 36
Error Parameter args should be final. 41

snifos/application/Application.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Redundant 'public' modifier. 47
Error Redundant 'public' modifier. 55
Error Redundant 'public' modifier. 64
Error Redundant 'public' modifier. 74
Error Redundant 'public' modifier. 86

snifos/application/ApplicationInfo.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 33
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 35
Error Method 'getClassName' is not designed for extension - needs to be abstract, final or empty. 42
Error Method 'setClassName' is not designed for extension - needs to be abstract, final or empty. 50
Error Parameter className should be final. 50
Error 'className' hides a field. 50
Error Method 'getTypicalConfiguration' is not designed for extension - needs to be abstract, final or empty. 58
Error Method 'setTypicalConfiguration' is not designed for extension - needs to be abstract, final or empty. 67
Error Parameter typicalConfiguration should be final. 67
Error 'typicalConfiguration' hides a field. 67
Error Method 'getUniqueConfigurations' is not designed for extension - needs to be abstract, final or empty. 77
Error Method 'addUniqueConfiguration' is not designed for extension - needs to be abstract, final or empty. 86
Error Parameter uniqueConfiguration should be final. 86

snifos/application/test/DummyApplication.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 56
Error Method 'configure' is not designed for extension - needs to be abstract, final or empty. 68
Error Parameter configuration should be final. 68
Error Parameter isUnique should be final. 68
Error Line is longer than 80 characters. 70
Error Method 'setServer' is not designed for extension - needs to be abstract, final or empty. 79
Error Parameter server should be final. 79
Error 'server' hides a field. 79
Error Method 'unregisterUser' is not designed for extension - needs to be abstract, final or empty. 87
Error Parameter userId should be final. 87
Error Method 'receiveMessage' is not designed for extension - needs to be abstract, final or empty. 96
Error Parameter userId should be final. 96
Error Parameter message should be final. 96
Error '+' should be on a new line. 97
Error Method 'registerUser' is not designed for extension - needs to be abstract, final or empty. 132
Error Parameter userId should be final. 132
Error Parameter message should be final. 132

snifos/common/UserId.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 28
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 30
Error Parameter commModuleId should be final. 38
Error 'commModuleId' hides a field. 38
Error Parameter userIdInModule should be final. 38
Error 'userIdInModule' hides a field. 38
Error Method 'equals' is not designed for extension - needs to be abstract, final or empty. 50
Error Parameter that should be final. 50
Error Avoid inline conditionals. 51
Error Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 58
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 66
Error Method 'getCommModuleId' is not designed for extension - needs to be abstract, final or empty. 75
Error Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 83
Error Method 'getUserIdInModule' is not designed for extension - needs to be abstract, final or empty. 92

snifos/common/test/DummyMessages.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error interfaces should describe a type and hence have methods. 28
Error First sentence should end with a period. 29
Error Redundant 'public' modifier. 30
Error Name 'requests' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
Error '+' should be on a new line. 31
Error Line has trailing spaces. 33
Error '+' should be on a new line. 34
Error First sentence should end with a period. 38
Error Redundant 'public' modifier. 39
Error Name 'responses' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
Error '+' should be on a new line. 40
Error Line has trailing spaces. 42
Error '+' should be on a new line. 43
Error '+' should be on a new line. 44

snifos/communication/CommModule.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Redundant 'public' modifier. 45
Error Redundant 'public' modifier. 52
Error Redundant 'public' modifier. 61
Error Redundant 'public' modifier. 68
Error Redundant 'public' modifier. 73

snifos/communication/CommModuleInfo.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 33
Error Missing a Javadoc comment. 34
Error Method 'setClassName' is not designed for extension - needs to be abstract, final or empty. 47
Error Parameter className should be final. 47
Error Line is longer than 80 characters. 48
Error Redundant throws: 'SecurityException' is unchecked exception. 48
Error Method 'setProperty' is not designed for extension - needs to be abstract, final or empty. 57
Error Parameter name should be final. 57
Error Parameter value should be final. 57
Error Method 'getProperties' is not designed for extension - needs to be abstract, final or empty. 65
Error Method 'getConstructor' is not designed for extension - needs to be abstract, final or empty. 73

snifos/communication/test/DummyCommModule.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 59
Error Missing a Javadoc comment. 60
Error Variable 'responseCounter' must be private and have accessor methods. 60
Error Method 'configure' is not designed for extension - needs to be abstract, final or empty. 72
Error Parameter configuration should be final. 72
Error Parameter commModuleId should be final. 72
Error Method 'setServer' is not designed for extension - needs to be abstract, final or empty. 81
Error Parameter server should be final. 81
Error 'server' hides a field. 81
Error Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. 89
Error Parameter userId should be final. 89
Error Parameter message should be final. 89
Error '+' should be on a new line. 90
Error Line has trailing spaces. 94
Error Method 'disconnectUser' is not designed for extension - needs to be abstract, final or empty. 114
Error Parameter userId should be final. 114
Error '+' should be on a new line. 115
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 129
Error '7' is a magic number. 134
Error '3000' is a magic number. 141
Error '3000' is a magic number. 141
Error '100' is a magic number. 146
Error '+' should be on a new line. 154

snifos/exception/ConfigurationException.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Line is longer than 80 characters. 25
Error Parameter e should be final. 32
Error Parameter message should be final. 47

snifos/exception/InvalidMessageException.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Line is longer than 80 characters. 25
Error Parameter e should be final. 32

snifos/exception/InvalidUserException.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Line is longer than 80 characters. 25

snifos/server/Server.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Redundant 'public' modifier. 41
Error Redundant 'public' modifier. 52
Error Redundant 'public' modifier. 59
Error Redundant 'public' modifier. 65

snifos/server/SnifosServer.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 63
Error Line is longer than 80 characters. 64
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 67
Error Missing a Javadoc comment. 68
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 73
Error Parameter configurationStream should be final. 81
Error Method 'isWait' is not designed for extension - needs to be abstract, final or empty. 98
Error Method 'setWait' is not designed for extension - needs to be abstract, final or empty. 102
Error Missing a Javadoc comment. 102
Error Missing a Javadoc comment. 106
Error Line is longer than 80 characters. 111
Error Missing a Javadoc comment. 120
Error Missing a Javadoc comment. 135
Error Parameter constructor should be final. 135
Error Missing a Javadoc comment. 150
Error Parameter configurationStream should be final. 150
Error Line has trailing spaces. 151
Error Redundant throws: 'SecurityException' is unchecked exception. 151
Error Line is longer than 80 characters. 180
Error '-' should be on a new line. 180
Error Missing a Javadoc comment. 191
Error Parameter digester should be final. 191
Error Parameter node should be final. 191
Error Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. 201
Error Parameter userId should be final. 201
Error Parameter message should be final. 201
Error Line is longer than 80 characters. 202
Error Method 'receiveMessage' is not designed for extension - needs to be abstract, final or empty. 216
Error Parameter userId should be final. 216
Error Parameter message should be final. 216
Error Missing a Javadoc comment. 238
Error Parameter userId should be final. 238
Error Parameter message should be final. 238
Error Missing a Javadoc comment. 252
Error Parameter configuration should be final. 252
Error Parameter unique should be final. 253
Error Missing a Javadoc comment. 261
Error Parameter userId should be final. 261
Error Parameter message should be final. 261
Error Method 'disconnectUser' is not designed for extension - needs to be abstract, final or empty. 286
Error Parameter userId should be final. 286
Error Line is longer than 80 characters. 287
Error Method 'unregisterUser' is not designed for extension - needs to be abstract, final or empty. 295
Error Parameter userId should be final. 295
Error Must have at least one statement. 302
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 313

snifos/server/test/DummyServer.java

ErrorLine
Error Line does not match expected header line of 'AI Soccer Project - network gaming environment for AI warriors.'. 1
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 35
Error Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 41
Error Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 49
Error Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. 57
Error Parameter userId should be final. 57
Error 'userId' hides a field. 57
Error Parameter message should be final. 57
Error 'message' hides a field. 57
Error Parameter userId should be final. 65
Error 'userId' hides a field. 65
Error Parameter message should be final. 65
Error 'message' hides a field. 65
Error Parameter userId should be final. 72
Error 'userId' hides a field. 72
Error Parameter userId should be final. 86
Error 'userId' hides a field. 86
Error Line has trailing spaces. 87
Error Line contains a tab character. 87