Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfosWarningsErrors
10900357

Files

FilesIWE
org/cb/cardboard/AbstractCardBoardModel.java 006
org/cb/cardboard/BoardSelectionModel.java 008
org/cb/cardboard/DefaultBoardSelectionModel.java 0021
org/cb/jset/BoardImpl.java 006
org/cb/jset/CardProperties.java 0015
org/cb/jset/CardSet.java 0010
org/cb/jset/CardStack.java 007
org/cb/jset/JSetBuild.java 002
org/cb/jset/JSetCard.java 0010
org/cb/jset/JSetGameImpl.java 0044
org/cb/jset/MatchingException.java 001
org/cb/jset/SetGame.java 006
org/cb/jset/SetGameBoard.java 002
org/cb/jset/SetGameConnection.java 002
org/cb/jset/SetGamePlayer.java 001
org/cb/jset/client/AbstractGame.java 0010
org/cb/jset/client/Client.java 0031
org/cb/jset/client/LocalGame.java 0012
org/cb/jset/client/NetworkGame.java 0028
org/cb/jset/client/SetGame.java 009
org/cb/jset/client/SetGameListener.java 002
org/cb/jset/client/SmartAutoPlayer.java 0021
org/cb/jset/client/model/CardEvent.java 003
org/cb/jset/client/model/JSetClientBoardModel.java 0011
org/cb/jset/client/model/SetGameClientBoard.java 002
org/cb/jset/client/ui/JSetBoardComponent.java 001
org/cb/jset/client/ui/JSetCardComponent.java 0036
org/cb/jset/client/ui/JSetClientUI.java 0023
org/cb/jset/server/JSetRemoteGameImpl.java 0026
org/cb/jset/server/RemoteSetGameConnection.java 001

org/cb/cardboard/AbstractCardBoardModel.java

ErrorLine
Error First sentence should end with a period. 57
Error Line is longer than 100 characters. 68
Error First sentence should end with a period. 74
Error Line is longer than 100 characters. 85
Error First sentence should end with a period. 91
Error Line is longer than 100 characters. 102

org/cb/cardboard/BoardSelectionModel.java

ErrorLine
Error Expected @param tag for 'index'. 116
Error Expected an @return tag. 152
Error Unclosed HTML tag found: <code>true<code> if no indices are selected. 170
Error Expected @param tag for 'index'. 179
Error Expected @param tag for 'length'. 179
Error Expected @param tag for 'before'. 179
Error Expected @param tag for 'index0'. 186
Error Expected @param tag for 'index1'. 186

org/cb/cardboard/DefaultBoardSelectionModel.java

ErrorLine
Error Using the '.*' form of import should be avoided - javax.swing.*. 22
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 85
Error Missing a Javadoc comment. 90
Error Missing a Javadoc comment. 95
Error Missing a Javadoc comment. 100
Error Missing a Javadoc comment. 105
Error Missing a Javadoc comment. 110
Error Missing a Javadoc comment. 115
Error Missing a Javadoc comment. 120
Error Missing a Javadoc comment. 125
Error Missing a Javadoc comment. 130
Error Missing a Javadoc comment. 135

org/cb/jset/BoardImpl.java

ErrorLine
Error Parameter boardListener should be final. 64
Error Unable to get class information for MatchingException. 96
Error Unable to get class information for BoardException. 96
Error Line is longer than 100 characters. 112
Error Line is longer than 100 characters. 137
Error Line is longer than 100 characters. 149

org/cb/jset/CardProperties.java

ErrorLine
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 51
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 55
Error Expected @param tag for 'card'. 172
Error 'if' construct must use '{}'s. 213
Error 'if' construct must use '{}'s. 214
Error 'if' construct must use '{}'s. 218
Error 'if' construct must use '{}'s. 219
Error 'if' construct must use '{}'s. 220
Error 'if' construct must use '{}'s. 221

org/cb/jset/CardSet.java

ErrorLine
Error '&&' should be on a new line. 63
Error '&&' should be on a new line. 65
Error '&&' should be on a new line. 70
Error '&&' should be on a new line. 72
Error '&&' should be on a new line. 77
Error '&&' should be on a new line. 79
Error '&&' should be on a new line. 84
Error '&&' should be on a new line. 86
Error Line has trailing spaces. 105
Error Expected @param tag for 'args'. 108

org/cb/jset/CardStack.java

ErrorLine
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 39
Error Expression can be simplified. 47
Error Line is longer than 100 characters. 57
Error Missing a Javadoc comment. 62
Error Missing a Javadoc comment. 72
Error Missing a Javadoc comment. 77

org/cb/jset/JSetBuild.java

ErrorLine
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 31

org/cb/jset/JSetCard.java

ErrorLine
Error Line has trailing spaces. 29
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 58
Error 'if' construct must use '{}'s. 60
Error 'if' construct must use '{}'s. 61
Error 'if' construct must use '{}'s. 65
Error Missing a Javadoc comment. 70
Error Line is longer than 100 characters. 96
Error Missing a Javadoc comment. 102

org/cb/jset/JSetGameImpl.java

ErrorLine
Error Line is longer than 100 characters. 110
Error Line is longer than 100 characters. 122
Error Line is longer than 100 characters. 164
Error First sentence should end with a period. 229
Error Expected @param tag for 'player'. 232
Error Missing a Javadoc comment. 240
Error Missing a Javadoc comment. 245
Error Unable to get class information for MatchingException. 245
Error 'catch' is not followed by whitespace. 262
Error Missing a Javadoc comment. 271
Error Missing a Javadoc comment. 278
Error Missing a Javadoc comment. 284
Error Line is longer than 100 characters. 306
Error Missing a Javadoc comment. 312
Error Missing a Javadoc comment. 317
Error Missing a Javadoc comment. 346
Error Missing a Javadoc comment. 367
Error Missing a Javadoc comment. 369
Error Line contains a tab character. 378
Error Line contains a tab character. 379
Error Line contains a tab character. 380
Error Line contains a tab character. 381
Error Line contains a tab character. 382
Error '&&' should be on a new line. 390
Error Missing a Javadoc comment. 425
Error Missing a Javadoc comment. 432
Error Missing a Javadoc comment. 437
Error Missing a Javadoc comment. 442
Error Missing a Javadoc comment. 457
Error Missing a Javadoc comment. 462
Error Missing a Javadoc comment. 472
Error Must have at least one statement. 494
Error Missing a Javadoc comment. 517
Error '+' should be on a new line. 552
Error Unable to get class information for MatchingException. 558
Error Unable to get class information for BoardException. 558
Error Missing a Javadoc comment. 572
Error Missing a Javadoc comment. 584
Error Missing a Javadoc comment. 589
Error Missing a Javadoc comment. 594
Error Missing a Javadoc comment. 599
Error Missing a Javadoc comment. 618
Error Missing a Javadoc comment. 623
Error Missing a Javadoc comment. 628

org/cb/jset/MatchingException.java

ErrorLine
Error Line has trailing spaces. 24

org/cb/jset/SetGame.java

ErrorLine
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 32
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 40

org/cb/jset/SetGameBoard.java

ErrorLine
Error Unable to get class information for MatchingException. 52
Error Unable to get class information for BoardException. 52

org/cb/jset/SetGameConnection.java

ErrorLine
Error Line is longer than 100 characters. 25
Error Unable to get class information for MatchingException. 38

org/cb/jset/SetGamePlayer.java

ErrorLine
Error Line has trailing spaces. 51

org/cb/jset/client/AbstractGame.java

ErrorLine
Error Line has trailing spaces. 29
Error Missing a Javadoc comment. 36
Error Variable '_listenerList' must be private and have accessor methods. 36
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 90

org/cb/jset/client/Client.java

ErrorLine
Error Utility classes should not have a public or default constructor. 46
Error Line is longer than 100 characters. 50
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 85
Error Missing a Javadoc comment. 90
Error Missing a Javadoc comment. 96
Error Missing a Javadoc comment. 102
Error Missing a Javadoc comment. 109
Error Missing a Javadoc comment. 114
Error Unable to get class information for MatchingException. 114
Error Missing a Javadoc comment. 126
Error Missing a Javadoc comment. 138
Error Missing a Javadoc comment. 153
Error Missing a Javadoc comment. 159
Error Missing a Javadoc comment. 166
Error Missing a Javadoc comment. 171
Error Missing a Javadoc comment. 184
Error Missing a Javadoc comment. 197
Error Missing a Javadoc comment. 202
Error Missing a Javadoc comment. 216
Error Missing a Javadoc comment. 229
Error Missing a Javadoc comment. 244
Error switch without "default" clause. 251
Error Missing a Javadoc comment. 283
Error Line is longer than 100 characters. 307

org/cb/jset/client/LocalGame.java

ErrorLine
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 59
Error Missing a Javadoc comment. 64
Error First sentence should end with a period. 118
Error Expected @param tag for 'cards'. 121
Error First sentence should end with a period. 126
Error Expected @param tag for 'set'. 129
Error Missing a Javadoc comment. 135
Error Missing a Javadoc comment. 140
Error Missing a Javadoc comment. 145
Error Unable to get class information for MatchingException. 145

org/cb/jset/client/NetworkGame.java

ErrorLine
Error First sentence should end with a period. 36
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 58
Error 'final' modifier out of order with the JLS suggestions. 63
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 76
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 88
Error Line is longer than 100 characters. 90
Error Missing a Javadoc comment. 93
Error Missing a Javadoc comment. 98
Error Missing a Javadoc comment. 104
Error Missing a Javadoc comment. 110
Error Missing a Javadoc comment. 130
Error Missing a Javadoc comment. 135
Error Missing a Javadoc comment. 151
Error Missing a Javadoc comment. 157
Error Missing a Javadoc comment. 162
Error Missing a Javadoc comment. 175
Error Missing a Javadoc comment. 180
Error Unable to get class information for MatchingException. 180
Error Line contains a tab character. 198
Error Missing a Javadoc comment. 214
Error '!' is followed by whitespace. 221
Error Must have at least one statement. 234
Error Missing a Javadoc comment. 244
Error Line is longer than 100 characters. 306

org/cb/jset/client/SetGame.java

ErrorLine
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 Unable to get class information for MatchingException. 41
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 49

org/cb/jset/client/SetGameListener.java

ErrorLine
Error Line has trailing spaces. 33
Error Expected @param tag for 'event'. 36

org/cb/jset/client/SmartAutoPlayer.java

ErrorLine
Error Using the '.*' form of import should be avoided - org.cb.jset.*. 23
Error Expected @param tag for 'playerName'. 49
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 72
Error Line has trailing spaces. 86
Error First sentence should end with a period. 91
Error Expected @param tag for 'cards'. 94
Error First sentence should end with a period. 99
Error Expected @param tag for 'set'. 102
Error First sentence should end with a period. 114
Error Expected @param tag for 'event'. 117
Error Missing a Javadoc comment. 124
Error Missing a Javadoc comment. 132
Error Missing a Javadoc comment. 134
Error '!' is followed by whitespace. 142
Error Missing a Javadoc comment. 148
Error 'catch' is not followed by whitespace. 166
Error Must have at least one statement. 167
Error '.' is followed by whitespace. 175
Error Must have at least one statement. 178
Error Missing a Javadoc comment. 233

org/cb/jset/client/model/CardEvent.java

ErrorLine
Error Line has trailing spaces. 42
Error Expected @param tag for 'source'. 46
Error Expected @param tag for 'type'. 46

org/cb/jset/client/model/JSetClientBoardModel.java

ErrorLine
Error Line is longer than 100 characters. 38
Error Line is longer than 100 characters. 45
Error 'final' modifier out of order with the JLS suggestions. 47
Error Line is longer than 100 characters. 75
Error Expected @param tag for 'index'. 77
Error Line is longer than 100 characters. 83
Error Line is longer than 100 characters. 111
Error Unable to get class information for BoardException. 161
Error Line is longer than 100 characters. 206
Error Line is longer than 100 characters. 212
Error Line has trailing spaces. 230

org/cb/jset/client/model/SetGameClientBoard.java

ErrorLine
Error Line is longer than 100 characters. 41
Error Unable to get class information for BoardException. 49

org/cb/jset/client/ui/JSetBoardComponent.java

ErrorLine
Error Line has trailing spaces. 146

org/cb/jset/client/ui/JSetCardComponent.java

ErrorLine
Error Line is longer than 100 characters. 91
Error Expected @param tag for 'bounds'. 95
Error Line is longer than 100 characters. 153
Error First sentence should end with a period. 181
Error Expected @param tag for 'g'. 184
Error Line is longer than 100 characters. 187
Error switch without "default" clause. 196
Error ',' is not followed by whitespace. 209
Error ',' is not followed by whitespace. 209
Error ',' is not followed by whitespace. 209
Error switch without "default" clause. 215
Error switch without "default" clause. 231
Error Line is longer than 100 characters. 259
Error Line is longer than 100 characters. 280
Error Line is longer than 100 characters. 286
Error Line is longer than 100 characters. 295
Error Expected @param tag for 'card'. 308
Error Line is longer than 100 characters. 359
Error Line is longer than 100 characters. 365
Error Line is longer than 100 characters. 370
Error Line is longer than 100 characters. 372
Error Line is longer than 100 characters. 396
Error First sentence should end with a period. 428
Error '!' is followed by whitespace. 433
Error Avoid inline conditionals. 448
Error Expected @param tag for 'g'. 473
Error Line is longer than 100 characters. 476
Error Parameter i should be final. 485
Error Expected @param tag for 'i'. 485
Error Line is longer than 100 characters. 491
Error First sentence should end with a period. 495
Error Line contains a tab character. 502
Error 'if' is not followed by whitespace. 502
Error Expected @param tag for 'cardListener'. 513
Error Expected @param tag for 'cardListener'. 522
Error First sentence should end with a period. 527

org/cb/jset/client/ui/JSetClientUI.java

ErrorLine
Error Missing a Javadoc comment. 80
Error Variable '_logger' must be private and have accessor methods. 80
Error Redundant throws: 'HeadlessException' is unchecked exception. 107
Error Line is longer than 100 characters. 123
Error Line is longer than 100 characters. 135
Error Parameter e should be final. 224
Error Missing a Javadoc comment. 284
Error Missing a Javadoc comment. 322
Error Line is longer than 100 characters. 325
Error Missing a Javadoc comment. 334
Error Line is longer than 100 characters. 337
Error Missing a Javadoc comment. 346
Error Missing a Javadoc comment. 368
Error First sentence should end with a period. 410
Error Expected @param tag for 'cards'. 413
Error First sentence should end with a period. 418
Error Expected @param tag for 'set'. 421
Error First sentence should end with a period. 426
Error Expected @param tag for 'event'. 429
Error Line is longer than 100 characters. 480
Error Missing a Javadoc comment. 544
Error Missing a Javadoc comment. 546
Error Missing a Javadoc comment. 569

org/cb/jset/server/JSetRemoteGameImpl.java

ErrorLine
Error Line is longer than 100 characters. 37
Error Expected @param tag for 'name'. 54
Error Expected @param tag for 'nbPlayers'. 54
Error Line is longer than 100 characters. 64
Error First sentence should end with a period. 68
Error Expected @param tag for 'localConnection'. 73
Error Unable to get class information for MatchingException. 84
Error Expected @param tag for 'remotePlayer'. 123
Error Missing a Javadoc comment. 250
Error Missing a Javadoc comment. 255
Error First sentence should end with a period. 260
Error Expected an @return tag. 263
Error Expected @throws tag for 'RemoteException'. 263
Error First sentence should end with a period. 268
Error Expected an @return tag. 271
Error Expected @throws tag for 'RemoteException'. 271
Error First sentence should end with a period. 276
Error Expected an @return tag. 279
Error Expected @throws tag for 'RemoteException'. 279
Error First sentence should end with a period. 284
Error Expected an @return tag. 287
Error Expected @param tag for 'player'. 287
Error Expected @throws tag for 'RemoteException'. 287
Error First sentence should end with a period. 302
Error Expected an @return tag. 305
Error Expected @throws tag for 'RemoteException'. 305

org/cb/jset/server/RemoteSetGameConnection.java

ErrorLine
Error Unable to get class information for MatchingException. 43