Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
4100731

Files

FilesIWE
net/sourceforge/simplegamenet/chess/ChessBishop.java 0018
net/sourceforge/simplegamenet/chess/ChessFactory.java 0012
net/sourceforge/simplegamenet/chess/ChessGridSize.java 007
net/sourceforge/simplegamenet/chess/ChessKing.java 0035
net/sourceforge/simplegamenet/chess/ChessKnight.java 0020
net/sourceforge/simplegamenet/chess/ChessMove.java 0024
net/sourceforge/simplegamenet/chess/ChessPacket.java 0011
net/sourceforge/simplegamenet/chess/ChessPacketCodes.java 0031
net/sourceforge/simplegamenet/chess/ChessPanel.java 00102
net/sourceforge/simplegamenet/chess/ChessPawn.java 0024
net/sourceforge/simplegamenet/chess/ChessPiece.java 0039
net/sourceforge/simplegamenet/chess/ChessPieceOwner.java 009
net/sourceforge/simplegamenet/chess/ChessPieceType.java 0017
net/sourceforge/simplegamenet/chess/ChessPlayField.java 00102
net/sourceforge/simplegamenet/chess/ChessPlayFieldComponent.java 0086
net/sourceforge/simplegamenet/chess/ChessPlayFieldState.java 0015
net/sourceforge/simplegamenet/chess/ChessPlayerClient.java 0076
net/sourceforge/simplegamenet/chess/ChessQueen.java 0023
net/sourceforge/simplegamenet/chess/ChessRook.java 0030
net/sourceforge/simplegamenet/chess/ChessServer.java 0049
net/sourceforge/simplegamenet/chess/package.html 001

net/sourceforge/simplegamenet/chess/ChessBishop.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Parameter participantOwnerIndex should be final. 5
Error Parameter x should be final. 5
Error Parameter y should be final. 5
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 9
Error Missing a Javadoc comment. 9
Error Parameter pieceGrid should be final. 9
Error Parameter destinationX should be final. 10
Error Parameter destinationY should be final. 10
Error Avoid inline conditionals. 19
Error Avoid inline conditionals. 20
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 28
Error Missing a Javadoc comment. 28
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 32
Error Missing a Javadoc comment. 32
Error '3' is a magic number. 33

net/sourceforge/simplegamenet/chess/ChessFactory.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 12
Error Missing a Javadoc comment. 14
Error Line is longer than 80 characters. 15
Error Method 'createGamePlayerClient' is not designed for extension - needs to be abstract, final or empty. 18
Error Missing a Javadoc comment. 18
Error Parameter clientEngine should be final. 18
Error Method 'createGameServer' is not designed for extension - needs to be abstract, final or empty. 22
Error Missing a Javadoc comment. 22
Error Parameter serverEngine should be final. 22
Error Method 'createDefaultGameSettings' is not designed for extension - needs to be abstract, final or empty. 26
Error Missing a Javadoc comment. 26

net/sourceforge/simplegamenet/chess/ChessGridSize.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error interfaces should describe a type and hence have methods. 3
Error Missing a Javadoc comment. 5
Error Redundant 'public' modifier. 5
Error Missing a Javadoc comment. 6
Error Redundant 'public' modifier. 6

net/sourceforge/simplegamenet/chess/ChessKing.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Missing a Javadoc comment. 7
Error Parameter participantOwnerIndex should be final. 7
Error Parameter x should be final. 7
Error Parameter y should be final. 7
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 11
Error Missing a Javadoc comment. 11
Error Parameter pieceGrid should be final. 11
Error Parameter destinationX should be final. 12
Error Parameter destinationY should be final. 12
Error Line is longer than 80 characters. 17
Error Line is longer than 80 characters. 18
Error Line is longer than 80 characters. 25
Error Conditional logic can be removed. 25
Error '7' is a magic number. 25
Error '7' is a magic number. 26
Error '7' is a magic number. 27
Error Line is longer than 80 characters. 33
Error Conditional logic can be removed. 33
Error Line is longer than 80 characters. 40
Error Method 'doMove' is not designed for extension - needs to be abstract, final or empty. 40
Error Missing a Javadoc comment. 40
Error Parameter pieceGrid should be final. 40
Error Parameter destinationX should be final. 40
Error Parameter destinationY should be final. 40
Error Line is longer than 80 characters. 43
Error Line is longer than 80 characters. 45
Error '7' is a magic number. 45
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 52
Error Missing a Javadoc comment. 52
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 56
Error Missing a Javadoc comment. 56
Error '100' is a magic number. 57

net/sourceforge/simplegamenet/chess/ChessKnight.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Parameter participantOwnerIndex should be final. 5
Error Parameter x should be final. 5
Error Parameter y should be final. 5
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 9
Error Missing a Javadoc comment. 9
Error Parameter pieceGrid should be final. 9
Error Parameter destinationX should be final. 10
Error Parameter destinationY should be final. 10
Error Line is longer than 80 characters. 15
Error Conditional logic can be removed. 15
Error '3' is a magic number. 15
Error Line is longer than 80 characters. 16
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 23
Error Missing a Javadoc comment. 23
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 27
Error Missing a Javadoc comment. 27
Error '3' is a magic number. 28

net/sourceforge/simplegamenet/chess/ChessMove.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 5
Error Missing a Javadoc comment. 7
Error Variable 'sourceX' must be private and have accessor methods. 7
Error Missing a Javadoc comment. 8
Error Variable 'sourceY' must be private and have accessor methods. 8
Error Missing a Javadoc comment. 9
Error Variable 'destinationX' must be private and have accessor methods. 9
Error Missing a Javadoc comment. 10
Error Variable 'destinationY' must be private and have accessor methods. 10
Error Missing a Javadoc comment. 11
Error Variable 'chosenPieceType' must be private and have accessor methods. 11
Error Line is longer than 80 characters. 13
Error Missing a Javadoc comment. 13
Error Parameter sourceX should be final. 13
Error 'sourceX' hides a field. 13
Error Parameter sourceY should be final. 13
Error 'sourceY' hides a field. 13
Error Parameter destinationX should be final. 13
Error 'destinationX' hides a field. 13
Error Parameter destinationY should be final. 13
Error 'destinationY' hides a field. 13
Error Parameter chosenPieceType should be final. 14
Error 'chosenPieceType' hides a field. 14

net/sourceforge/simplegamenet/chess/ChessPacket.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 5
Error Missing a Javadoc comment. 7
Error Variable 'packetCode' must be private and have accessor methods. 7
Error Missing a Javadoc comment. 8
Error Variable 'data' must be private and have accessor methods. 8
Error Missing a Javadoc comment. 10
Error Parameter packetCode should be final. 10
Error 'packetCode' hides a field. 10
Error Parameter data should be final. 10
Error 'data' hides a field. 10

net/sourceforge/simplegamenet/chess/ChessPacketCodes.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error interfaces should describe a type and hence have methods. 3
Error Missing a Javadoc comment. 5
Error Redundant 'public' modifier. 5
Error Missing a Javadoc comment. 7
Error Redundant 'public' modifier. 7
Error Missing a Javadoc comment. 8
Error Redundant 'public' modifier. 8
Error Missing a Javadoc comment. 9
Error Redundant 'public' modifier. 9
Error Missing a Javadoc comment. 11
Error Redundant 'public' modifier. 11
Error Missing a Javadoc comment. 12
Error Redundant 'public' modifier. 12
Error Missing a Javadoc comment. 14
Error Redundant 'public' modifier. 14
Error Missing a Javadoc comment. 15
Error Redundant 'public' modifier. 15
Error Missing a Javadoc comment. 16
Error Redundant 'public' modifier. 16
Error Missing a Javadoc comment. 18
Error Redundant 'public' modifier. 18
Error Missing a Javadoc comment. 19
Error Redundant 'public' modifier. 19
Error Missing a Javadoc comment. 21
Error Redundant 'public' modifier. 21
Error Missing a Javadoc comment. 22
Error Redundant 'public' modifier. 22
Error Missing a Javadoc comment. 24
Error Redundant 'public' modifier. 24

net/sourceforge/simplegamenet/chess/ChessPanel.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Using the '.*' form of import should be avoided - javax.swing.*. 5
Error Line is longer than 80 characters. 7
Error Missing a Javadoc comment. 10
Error Missing a Javadoc comment. 12
Error Missing a Javadoc comment. 14
Error Missing a Javadoc comment. 16
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 19
Error Line is longer than 80 characters. 20
Error Missing a Javadoc comment. 20
Error Missing a Javadoc comment. 21
Error Missing a Javadoc comment. 22
Error Missing a Javadoc comment. 23
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 25
Error Missing a Javadoc comment. 26
Error Missing a Javadoc comment. 28
Error Parameter chessPlayerClient should be final. 28
Error 'chessPlayerClient' hides a field. 28
Error Parameter chatClientPanel should be final. 29
Error '10' is a magic number. 37
Error '10' is a magic number. 39
Error '10' is a magic number. 42
Error '10' is a magic number. 44
Error '10' is a magic number. 46
Error '10' is a magic number. 48
Error '10' is a magic number. 50
Error Line is longer than 80 characters. 54
Error Line is longer than 80 characters. 59
Error '11' is a magic number. 59
Error '10' is a magic number. 59
Error '4' is a magic number. 62
Error '4' is a magic number. 64
Error '4' is a magic number. 65
Error '4' is a magic number. 66
Error '4' is a magic number. 66
Error '6' is a magic number. 68
Error '3' is a magic number. 68
Error '4' is a magic number. 68
Error '6' is a magic number. 68
Error '8' is a magic number. 70
Error '3' is a magic number. 70
Error '4' is a magic number. 70
Error '8' is a magic number. 70
Error '10' is a magic number. 71
Error '3' is a magic number. 71
Error '4' is a magic number. 71
Error '10' is a magic number. 71
Error Method 'setPieceOwnerSight' is not designed for extension - needs to be abstract, final or empty. 74
Error Missing a Javadoc comment. 74
Error Parameter pieceOwnerSight should be final. 74
Error Method 'handleTurn' is not designed for extension - needs to be abstract, final or empty. 78
Error Missing a Javadoc comment. 78
Error Missing a Javadoc comment. 83
Error Method 'getRemiseOfferAnswer' is not designed for extension - needs to be abstract, final or empty. 87
Error Missing a Javadoc comment. 87
Error Method 'setRemiseOfferAnswer' is not designed for extension - needs to be abstract, final or empty. 94
Error Missing a Javadoc comment. 94
Error Parameter remiseOfferAccepted should be final. 94
Error Method 'setEnabled' is not designed for extension - needs to be abstract, final or empty. 106
Error Missing a Javadoc comment. 106
Error Parameter enabled should be final. 106
Error Line is longer than 80 characters. 113
Error Method 'makeMove' is not designed for extension - needs to be abstract, final or empty. 113
Error Missing a Javadoc comment. 113
Error Parameter sourceX should be final. 113
Error Parameter sourceY should be final. 113
Error Parameter destinationX should be final. 113
Error Parameter destinationY should be final. 113
Error Line is longer than 80 characters. 117
Error Line is longer than 80 characters. 138
Error Line is longer than 80 characters. 141
Error Method 'actionPerformed' is not designed for extension - needs to be abstract, final or empty. 146
Error Missing a Javadoc comment. 146
Error Parameter actionEvent should be final. 146
Error Method 'setPlayFieldState' is not designed for extension - needs to be abstract, final or empty. 172
Error Missing a Javadoc comment. 172
Error Parameter playFieldState should be final. 172
Error switch without "default" clause. 173
Error Method 'setOtherParticipantAtTurn' is not designed for extension - needs to be abstract, final or empty. 195
Error Missing a Javadoc comment. 195
Error Parameter nickname should be final. 195
Error Method 'setWinnerThisPlayer' is not designed for extension - needs to be abstract, final or empty. 199
Error Missing a Javadoc comment. 199
Error Method 'setWinner' is not designed for extension - needs to be abstract, final or empty. 204
Error Missing a Javadoc comment. 204
Error Parameter nickname should be final. 204
Error Method 'setNoWinner' is not designed for extension - needs to be abstract, final or empty. 209
Error Missing a Javadoc comment. 209
Error Line is longer than 80 characters. 214
Error Method 'setLastMove' is not designed for extension - needs to be abstract, final or empty. 214
Error Missing a Javadoc comment. 214
Error Parameter sourceX should be final. 214
Error Parameter sourceY should be final. 214
Error Parameter destinationX should be final. 214
Error Parameter destinationY should be final. 214
Error Line is longer than 80 characters. 221
Error Method 'playFieldUpdated' is not designed for extension - needs to be abstract, final or empty. 221
Error Missing a Javadoc comment. 221
Error Parameter pieceTypeGrid should be final. 221
Error Parameter pieceOwnerGrid should be final. 221

net/sourceforge/simplegamenet/chess/ChessPawn.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Parameter participantOwnerIndex should be final. 5
Error Parameter x should be final. 5
Error Parameter y should be final. 5
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 9
Error Missing a Javadoc comment. 9
Error Parameter pieceGrid should be final. 9
Error Parameter destinationX should be final. 10
Error Parameter destinationY should be final. 10
Error Avoid inline conditionals. 17
Error Avoid inline conditionals. 21
Error Conditional logic can be removed. 23
Error Avoid inline conditionals. 24
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 36
Error Missing a Javadoc comment. 36
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 40
Error Missing a Javadoc comment. 40
Error Method 'isReplaceChoiceNeeded' is not designed for extension - needs to be abstract, final or empty. 44
Error Missing a Javadoc comment. 44
Error Parameter destinationX should be final. 44
Error Parameter destinationY should be final. 44
Error Avoid inline conditionals. 45

net/sourceforge/simplegamenet/chess/ChessPiece.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line is longer than 80 characters. 5
Error Missing a Javadoc comment. 5
Error 'public' modifier out of order with the JLS suggestions. 5
Error Missing a Javadoc comment. 7
Error Variable 'participantOwnerIndex' must be private and have accessor methods. 7
Error Missing a Javadoc comment. 8
Error Variable 'x' must be private and have accessor methods. 8
Error Missing a Javadoc comment. 9
Error Variable 'y' must be private and have accessor methods. 9
Error Missing a Javadoc comment. 11
Error Parameter participantOwnerIndex should be final. 11
Error 'participantOwnerIndex' hides a field. 11
Error Parameter x should be final. 11
Error 'x' hides a field. 11
Error Parameter y should be final. 11
Error 'y' hides a field. 11
Error Missing a Javadoc comment. 17
Error Parameter pieceGrid should be final. 17
Error Parameter destinationX should be final. 18
Error Parameter destinationY should be final. 18
Error Line is longer than 80 characters. 20
Error Method 'doMove' is not designed for extension - needs to be abstract, final or empty. 20
Error Missing a Javadoc comment. 20
Error Parameter pieceGrid should be final. 20
Error Parameter destinationX should be final. 20
Error Parameter destinationY should be final. 20
Error Method 'getParticipantsOwnerIndex' is not designed for extension - needs to be abstract, final or empty. 27
Error Missing a Javadoc comment. 27
Error Method 'isInPlayField' is not designed for extension - needs to be abstract, final or empty. 31
Error Missing a Javadoc comment. 31
Error Method 'getX' is not designed for extension - needs to be abstract, final or empty. 35
Error Missing a Javadoc comment. 35
Error Method 'getY' is not designed for extension - needs to be abstract, final or empty. 39
Error Missing a Javadoc comment. 39
Error Method 'clone' is not designed for extension - needs to be abstract, final or empty. 43
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 52
Error Missing a Javadoc comment. 54

net/sourceforge/simplegamenet/chess/ChessPieceOwner.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error interfaces should describe a type and hence have methods. 3
Error Missing a Javadoc comment. 5
Error Redundant 'public' modifier. 5
Error Missing a Javadoc comment. 6
Error Redundant 'public' modifier. 6
Error Missing a Javadoc comment. 7
Error Redundant 'public' modifier. 7

net/sourceforge/simplegamenet/chess/ChessPieceType.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error interfaces should describe a type and hence have methods. 3
Error Missing a Javadoc comment. 5
Error Redundant 'public' modifier. 5
Error Missing a Javadoc comment. 6
Error Redundant 'public' modifier. 6
Error Missing a Javadoc comment. 7
Error Redundant 'public' modifier. 7
Error Missing a Javadoc comment. 8
Error Redundant 'public' modifier. 8
Error Missing a Javadoc comment. 9
Error Redundant 'public' modifier. 9
Error Missing a Javadoc comment. 10
Error Redundant 'public' modifier. 10
Error Missing a Javadoc comment. 11
Error Redundant 'public' modifier. 11

net/sourceforge/simplegamenet/chess/ChessPlayField.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line is longer than 80 characters. 5
Error Missing a Javadoc comment. 5
Error Missing a Javadoc comment. 8
Error Missing a Javadoc comment. 18
Error Missing a Javadoc comment. 53
Error Parameter checkingPieceGrid should be final. 53
Error Parameter participantsOwnerIndex should be final. 54
Error Line is longer than 80 characters. 58
Error Line is longer than 80 characters. 68
Error Line is longer than 80 characters. 69
Error Missing a Javadoc comment. 76
Error Parameter checkingPieceGrid should be final. 76
Error Parameter participantsOwnerIndex should be final. 77
Error Line is longer than 80 characters. 85
Error Line is longer than 80 characters. 88
Error Line is longer than 80 characters. 93
Error Missing a Javadoc comment. 103
Error Missing a Javadoc comment. 105
Error Missing a Javadoc comment. 106
Error Missing a Javadoc comment. 108
Error Missing a Javadoc comment. 110
Error Missing a Javadoc comment. 112
Error Parameter participantsOrder should be final. 112
Error 'participantsOrder' hides a field. 112
Error switch without "default" clause. 118
Error switch without "default" clause. 126
Error Line is longer than 80 characters. 131
Error Line is longer than 80 characters. 134
Error Line is longer than 80 characters. 137
Error Method 'getParticipantAtTurnPlayerID' is not designed for extension - needs to be abstract, final or empty. 151
Error Missing a Javadoc comment. 151
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 155
Error Missing a Javadoc comment. 155
Error Parameter sourceX should be final. 155
Error Parameter sourceY should be final. 155
Error Line is longer than 80 characters. 156
Error Parameter destinationX should be final. 156
Error Parameter destinationY should be final. 156
Error Parameter chosenPieceType should be final. 156
Error Line is longer than 80 characters. 163
Error Missing a Javadoc comment. 184
Error Parameter sourceX should be final. 184
Error Parameter sourceY should be final. 184
Error Parameter destinationX should be final. 185
Error Parameter destinationY should be final. 185
Error Line is longer than 80 characters. 207
Error Method 'doMove' is not designed for extension - needs to be abstract, final or empty. 207
Error Missing a Javadoc comment. 207
Error Parameter sourceX should be final. 207
Error Parameter sourceY should be final. 207
Error Parameter destinationX should be final. 207
Error Parameter destinationY should be final. 207
Error Parameter chosenPieceType should be final. 208
Error Line is longer than 80 characters. 209
Error switch without "default" clause. 212
Error Line is longer than 80 characters. 215
Error Line is longer than 80 characters. 221
Error Line is longer than 80 characters. 227
Error Line is longer than 80 characters. 233
Error Line is longer than 80 characters. 242
Error Method 'setWaitingForRemiseOfferAnswer' is not designed for extension - needs to be abstract, final or empty. 262
Error Missing a Javadoc comment. 262
Error Method 'setRemiseOfferAnswer' is not designed for extension - needs to be abstract, final or empty. 266
Error Missing a Javadoc comment. 266
Error Parameter remiseOfferAccepted should be final. 266
Error Method 'yieldGame' is not designed for extension - needs to be abstract, final or empty. 275
Error Missing a Javadoc comment. 275
Error Parameter playerID should be final. 275
Error Line is longer than 80 characters. 284
Error Method 'getMoveSourceAllowedGrid' is not designed for extension - needs to be abstract, final or empty. 288
Error Missing a Javadoc comment. 288
Error Line is longer than 80 characters. 289
Error Line is longer than 80 characters. 292
Error Method 'getMoveDestinationAllowedGrid' is not designed for extension - needs to be abstract, final or empty. 301
Error Missing a Javadoc comment. 301
Error Parameter sourceX should be final. 301
Error Parameter sourceY should be final. 301
Error Line is longer than 80 characters. 302
Error Line is longer than 80 characters. 305
Error Method 'isReplaceChoiceNeeded' is not designed for extension - needs to be abstract, final or empty. 311
Error Missing a Javadoc comment. 311
Error Parameter sourceX should be final. 311
Error Parameter sourceY should be final. 311
Error Parameter destinationX should be final. 312
Error Parameter destinationY should be final. 312
Error Line is longer than 80 characters. 314
Error Method 'getPieceOwnerSight' is not designed for extension - needs to be abstract, final or empty. 319
Error Missing a Javadoc comment. 319
Error Parameter clientPlayerID should be final. 319
Error Method 'getPlayFieldState' is not designed for extension - needs to be abstract, final or empty. 328
Error Missing a Javadoc comment. 328
Error Method 'getPieceTypeGrid' is not designed for extension - needs to be abstract, final or empty. 332
Error Missing a Javadoc comment. 332
Error Line is longer than 80 characters. 339
Error Method 'getPieceOwnerGrid' is not designed for extension - needs to be abstract, final or empty. 346
Error Missing a Javadoc comment. 346
Error Line is longer than 80 characters. 353
Error Method 'getState' is not designed for extension - needs to be abstract, final or empty. 370
Error Missing a Javadoc comment. 370
Error Method 'getPieceGrid' is not designed for extension - needs to be abstract, final or empty. 374
Error Missing a Javadoc comment. 374

net/sourceforge/simplegamenet/chess/ChessPlayFieldComponent.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Using the '.*' form of import should be avoided - java.awt.*. 3
Error Using the '.*' form of import should be avoided - javax.swing.*. 5
Error Missing a Javadoc comment. 8
Error Missing a Javadoc comment. 12
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 15
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 18
Error Missing a Javadoc comment. 20
Error Missing a Javadoc comment. 22
Error Missing a Javadoc comment. 23
Error Missing a Javadoc comment. 25
Error Missing a Javadoc comment. 26
Error Missing a Javadoc comment. 28
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 31
Error Missing a Javadoc comment. 33
Error Line is longer than 80 characters. 35
Error Missing a Javadoc comment. 35
Error Parameter chessPlayerClient should be final. 35
Error 'chessPlayerClient' hides a field. 35
Error Parameter chessPanel should be final. 35
Error 'chessPanel' hides a field. 35
Error Parameter piecesImage should be final. 36
Error 'piecesImage' hides a field. 36
Error Parameter squaresImage should be final. 36
Error 'squaresImage' hides a field. 36
Error Line is longer than 80 characters. 42
Error Line is longer than 80 characters. 44
Error Method 'setPieceOwnerSight' is not designed for extension - needs to be abstract, final or empty. 50
Error Missing a Javadoc comment. 50
Error Parameter pieceOwnerSight should be final. 50
Error 'pieceOwnerSight' hides a field. 50
Error Method 'setEnabled' is not designed for extension - needs to be abstract, final or empty. 54
Error Missing a Javadoc comment. 54
Error Parameter enabled should be final. 54
Error Line is longer than 80 characters. 57
Error Line is longer than 80 characters. 67
Error Method 'playFieldUpdated' is not designed for extension - needs to be abstract, final or empty. 67
Error Missing a Javadoc comment. 67
Error Parameter pieceTypeGrid should be final. 67
Error 'pieceTypeGrid' hides a field. 67
Error Parameter pieceOwnerGrid should be final. 67
Error 'pieceOwnerGrid' hides a field. 67
Error Method 'paintComponent' is not designed for extension - needs to be abstract, final or empty. 73
Error Missing a Javadoc comment. 73
Error Parameter graphics should be final. 73
Error switch without "default" clause. 79
Error Line is longer than 80 characters. 86
Error Line is longer than 80 characters. 87
Error Line is longer than 80 characters. 96
Error Line is longer than 80 characters. 100
Error '3' is a magic number. 100
Error Line is longer than 80 characters. 101
Error '4' is a magic number. 101
Error '4' is a magic number. 112
Error Missing a Javadoc comment. 136
Error Parameter i should be final. 136
Error Parameter j should be final. 136
Error Avoid inline conditionals. 137
Error '6' is a magic number. 137
Error switch without "default" clause. 138
Error '3' is a magic number. 146
Error '4' is a magic number. 148
Error '5' is a magic number. 150
Error '5' is a magic number. 152
Error Parameter mouseEvent should be final. 159
Error Expected @param tag for 'mouseEvent'. 159
Error Parameter mouseEvent should be final. 173
Error Expected @param tag for 'mouseEvent'. 173
Error Parameter mouseEvent should be final. 179
Error Expected @param tag for 'mouseEvent'. 179
Error Method 'mouseExited' is not designed for extension - needs to be abstract, final or empty. 185
Error Parameter mouseEvent should be final. 185
Error Expected @param tag for 'mouseEvent'. 185
Error Method 'mouseMoved' is not designed for extension - needs to be abstract, final or empty. 195
Error Parameter mouseEvent should be final. 195
Error Expected @param tag for 'mouseEvent'. 195
Error Method 'mousePressed' is not designed for extension - needs to be abstract, final or empty. 225
Error Parameter mouseEvent should be final. 225
Error Expected @param tag for 'mouseEvent'. 225
Error Line is longer than 80 characters. 245
Error Parameter mouseEvent should be final. 259
Error Expected @param tag for 'mouseEvent'. 259

net/sourceforge/simplegamenet/chess/ChessPlayFieldState.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error interfaces should describe a type and hence have methods. 3
Error Missing a Javadoc comment. 5
Error Redundant 'public' modifier. 5
Error Missing a Javadoc comment. 6
Error Redundant 'public' modifier. 6
Error Missing a Javadoc comment. 7
Error Redundant 'public' modifier. 7
Error Missing a Javadoc comment. 8
Error Redundant 'public' modifier. 8
Error Missing a Javadoc comment. 9
Error Redundant 'public' modifier. 9
Error Missing a Javadoc comment. 10
Error Redundant 'public' modifier. 10

net/sourceforge/simplegamenet/chess/ChessPlayerClient.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line is longer than 80 characters. 10
Error Missing a Javadoc comment. 10
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 15
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 19
Error Parameter clientEngine should be final. 19
Error Method 'createGamePanel' is not designed for extension - needs to be abstract, final or empty. 23
Error Missing a Javadoc comment. 23
Error Parameter utilityPanelFactory should be final. 23
Error Line is longer than 80 characters. 24
Error Method 'playerRemoved' is not designed for extension - needs to be abstract, final or empty. 28
Error Missing a Javadoc comment. 28
Error Parameter playerSettings should be final. 28
Error Line is longer than 80 characters. 30
Error Line is longer than 80 characters. 31
Error Line is longer than 80 characters. 33
Error Line is longer than 80 characters. 37
Error Method 'receiveData' is not designed for extension - needs to be abstract, final or empty. 44
Error Missing a Javadoc comment. 44
Error Parameter data should be final. 44
Error Line is longer than 80 characters. 58
Error Line is longer than 80 characters. 76
Error switch without "default" clause. 84
Error Line is longer than 80 characters. 90
Error Line is longer than 80 characters. 91
Error Line is longer than 80 characters. 94
Error Line is longer than 80 characters. 110
Error Line is longer than 80 characters. 114
Error Line is longer than 80 characters. 129
Error Line is longer than 80 characters. 131
Error Line is longer than 80 characters. 133
Error Line is longer than 80 characters. 165
Error Method 'gameAborting' is not designed for extension - needs to be abstract, final or empty. 174
Error Missing a Javadoc comment. 174
Error Missing a Javadoc comment. 180
Error Parameter adjustRemiseOfferable should be final. 180
Error Line is longer than 80 characters. 181
Error Line is longer than 80 characters. 188
Error Line is longer than 80 characters. 194
Error Method 'makeMove' is not designed for extension - needs to be abstract, final or empty. 194
Error Missing a Javadoc comment. 194
Error Parameter sourceX should be final. 194
Error Parameter sourceY should be final. 194
Error Parameter destinationX should be final. 194
Error Parameter destinationY should be final. 194
Error Line is longer than 80 characters. 195
Error Line is longer than 80 characters. 198
Error Method 'makeMove' is not designed for extension - needs to be abstract, final or empty. 198
Error Missing a Javadoc comment. 198
Error Parameter sourceX should be final. 198
Error Parameter sourceY should be final. 198
Error Parameter destinationX should be final. 198
Error Parameter destinationY should be final. 198
Error Parameter chosenPieceType should be final. 199
Error Line is longer than 80 characters. 201
Error Method 'isOfferRemiseAllowed' is not designed for extension - needs to be abstract, final or empty. 204
Error Missing a Javadoc comment. 204
Error Method 'offerRemise' is not designed for extension - needs to be abstract, final or empty. 208
Error Missing a Javadoc comment. 208
Error Method 'yieldGame' is not designed for extension - needs to be abstract, final or empty. 213
Error Missing a Javadoc comment. 213
Error Method 'getMoveSourceAllowedGrid' is not designed for extension - needs to be abstract, final or empty. 217
Error Missing a Javadoc comment. 217
Error Method 'getMoveDestinationAllowedGrid' is not designed for extension - needs to be abstract, final or empty. 225
Error Missing a Javadoc comment. 225
Error Parameter sourceX should be final. 225
Error Parameter sourceY should be final. 225
Error Line is longer than 80 characters. 229
Error Method 'isReplaceChoiceNeeded' is not designed for extension - needs to be abstract, final or empty. 233
Error Missing a Javadoc comment. 233
Error Parameter sourceX should be final. 233
Error Parameter sourceY should be final. 233
Error Parameter destinationX should be final. 234
Error Parameter destinationY should be final. 234

net/sourceforge/simplegamenet/chess/ChessQueen.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Parameter participantOwnerIndex should be final. 5
Error Parameter x should be final. 5
Error Parameter y should be final. 5
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 9
Error Missing a Javadoc comment. 9
Error Parameter pieceGrid should be final. 9
Error Parameter destinationX should be final. 10
Error Parameter destinationY should be final. 10
Error Avoid inline conditionals. 19
Error Line is longer than 80 characters. 26
Error Avoid inline conditionals. 26
Error Line is longer than 80 characters. 32
Error Line is longer than 80 characters. 34
Error Avoid inline conditionals. 34
Error Avoid inline conditionals. 35
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 46
Error Missing a Javadoc comment. 46
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 50
Error Missing a Javadoc comment. 50
Error '7' is a magic number. 51

net/sourceforge/simplegamenet/chess/ChessRook.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 3
Error Missing a Javadoc comment. 5
Error Missing a Javadoc comment. 7
Error Parameter participantOwnerIndex should be final. 7
Error Parameter x should be final. 7
Error Parameter y should be final. 7
Error Method 'isMoveAllowed' is not designed for extension - needs to be abstract, final or empty. 11
Error Missing a Javadoc comment. 11
Error Parameter pieceGrid should be final. 11
Error Parameter destinationX should be final. 12
Error Parameter destinationY should be final. 12
Error Avoid inline conditionals. 23
Error Line is longer than 80 characters. 29
Error Avoid inline conditionals. 29
Error Line is longer than 80 characters. 39
Error Method 'doMove' is not designed for extension - needs to be abstract, final or empty. 39
Error Missing a Javadoc comment. 39
Error Parameter pieceGrid should be final. 39
Error Parameter destinationX should be final. 39
Error Parameter destinationY should be final. 39
Error Method 'clone' is not designed for extension - needs to be abstract, final or empty. 44
Error Missing a Javadoc comment. 44
Error Method 'isUnmoved' is not designed for extension - needs to be abstract, final or empty. 49
Error Missing a Javadoc comment. 49
Error Method 'getPieceType' is not designed for extension - needs to be abstract, final or empty. 53
Error Missing a Javadoc comment. 53
Error Method 'getPieceValue' is not designed for extension - needs to be abstract, final or empty. 57
Error Missing a Javadoc comment. 57
Error '4' is a magic number. 58

net/sourceforge/simplegamenet/chess/ChessServer.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 8
Error Missing a Javadoc comment. 11
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 15
Error Parameter serverEngine should be final. 15
Error Method 'playerAdded' is not designed for extension - needs to be abstract, final or empty. 19
Error Missing a Javadoc comment. 19
Error Parameter playerSettings should be final. 19
Error Method 'playerRemoved' is not designed for extension - needs to be abstract, final or empty. 26
Error Missing a Javadoc comment. 26
Error Parameter playerSettings should be final. 26
Error Line is longer than 80 characters. 28
Error Line is longer than 80 characters. 30
Error Line is longer than 80 characters. 31
Error Method 'gameStarted' is not designed for extension - needs to be abstract, final or empty. 39
Error Missing a Javadoc comment. 39
Error Line is longer than 80 characters. 45
Error Line is longer than 80 characters. 47
Error Line is longer than 80 characters. 54
Error Method 'receiveData' is not designed for extension - needs to be abstract, final or empty. 57
Error Missing a Javadoc comment. 57
Error Parameter playerID should be final. 57
Error Parameter data should be final. 57
Error Line is longer than 80 characters. 71
Error Line is longer than 80 characters. 72
Error Line is longer than 80 characters. 75
Error Line is longer than 80 characters. 78
Error switch without "default" clause. 79
Error Line is longer than 80 characters. 85
Error Line is longer than 80 characters. 92
Error Line is longer than 80 characters. 96
Error Line is longer than 80 characters. 101
Error Line is longer than 80 characters. 106
Error Line is longer than 80 characters. 107
Error Line is longer than 80 characters. 109
Error Line is longer than 80 characters. 110
Error Line is longer than 80 characters. 119
Error Line is longer than 80 characters. 121
Error Line is longer than 80 characters. 126
Error Line is longer than 80 characters. 130
Error Line is longer than 80 characters. 132
Error Line is longer than 80 characters. 134
Error Line is longer than 80 characters. 140
Error Line is longer than 80 characters. 142
Error Line is longer than 80 characters. 144
Error Method 'gameAborting' is not designed for extension - needs to be abstract, final or empty. 153
Error Missing a Javadoc comment. 153
Error Line is longer than 80 characters. 155

net/sourceforge/simplegamenet/chess/package.html

ErrorLine
Error Missing package documentation file.0