Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
272 | 0 | 0 | 4000 |
Files
io/IOUtilities.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
10
|
| Class IOUtilities should be declared as final. |
16
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| '{' should be on the previous line. |
19
|
| Missing a Javadoc comment. |
22
|
| '(' is followed by whitespace. |
22
|
| Parameter in should be final. |
22
|
| ')' is preceded with whitespace. |
22
|
| '{' should be on the previous line. |
23
|
| '(' is followed by whitespace. |
25
|
| ')' is preceded with whitespace. |
25
|
| '256' is a magic number. |
26
|
| '(' is followed by whitespace. |
28
|
| '(' is followed by whitespace. |
28
|
| '(' is followed by whitespace. |
28
|
| ')' is preceded with whitespace. |
28
|
| ')' is preceded with whitespace. |
28
|
| ')' is preceded with whitespace. |
28
|
| '{' should be on the previous line. |
29
|
| '(' is followed by whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| '(' is followed by whitespace. |
33
|
| ')' is preceded with whitespace. |
33
|
io/RethrownException.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
10
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| Missing a Javadoc comment. |
18
|
| '(' is followed by whitespace. |
18
|
| Parameter e should be final. |
18
|
| ')' is preceded with whitespace. |
18
|
| '{' should be on the previous line. |
19
|
| Missing a Javadoc comment. |
23
|
| '(' is followed by whitespace. |
23
|
| Parameter s should be final. |
23
|
| ')' is preceded with whitespace. |
23
|
| '{' should be on the previous line. |
24
|
| '(' is followed by whitespace. |
25
|
| ')' is preceded with whitespace. |
25
|
| Line has trailing spaces. |
33
|
| Line has trailing spaces. |
35
|
| Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. |
35
|
| '{' should be on the previous line. |
36
|
| '(' is followed by whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| '{' should be on the previous line. |
39
|
| '}' should be on the same line. |
41
|
| '{' should be on the previous line. |
43
|
| Line has trailing spaces. |
53
|
| Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. |
53
|
| Line has trailing spaces. |
54
|
| '{' should be on the previous line. |
54
|
| '(' is followed by whitespace. |
55
|
| ')' is preceded with whitespace. |
55
|
| '{' should be on the previous line. |
56
|
| '}' should be on the same line. |
58
|
| Line has trailing spaces. |
59
|
| '{' should be on the previous line. |
60
|
| Line has trailing spaces. |
68
|
| Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. |
68
|
| Parameter s should be final. |
68
|
| Expected @param tag for 's'. |
68
|
| Line has trailing spaces. |
69
|
| '{' should be on the previous line. |
69
|
| '(' is followed by whitespace. |
70
|
| ')' is preceded with whitespace. |
70
|
| '{' should be on the previous line. |
71
|
| '(' is followed by whitespace. |
72
|
| ')' is preceded with whitespace. |
72
|
| '}' should be on the same line. |
73
|
| Line has trailing spaces. |
74
|
| '{' should be on the previous line. |
75
|
| '(' is followed by whitespace. |
76
|
| ')' is preceded with whitespace. |
76
|
| Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. |
83
|
| Parameter s should be final. |
83
|
| Expected @param tag for 's'. |
83
|
| Line has trailing spaces. |
84
|
| '{' should be on the previous line. |
84
|
| '(' is followed by whitespace. |
85
|
| ')' is preceded with whitespace. |
85
|
| '{' should be on the previous line. |
86
|
| '(' is followed by whitespace. |
87
|
| ')' is preceded with whitespace. |
87
|
| '}' should be on the same line. |
88
|
| Line has trailing spaces. |
89
|
| '{' should be on the previous line. |
90
|
| '(' is followed by whitespace. |
91
|
| ')' is preceded with whitespace. |
91
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Line has trailing spaces. |
96
|
| '{' should be on the previous line. |
96
|
| Line has trailing spaces. |
98
|
| '(' is followed by whitespace. |
99
|
| ')' is preceded with whitespace. |
99
|
| '{' should be on the previous line. |
100
|
| '}' should be on the same line. |
102
|
| Line has trailing spaces. |
103
|
| '{' should be on the previous line. |
104
|
io/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/beings/Being.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Comment matches to-do format 'TODO:'. |
29
|
| Missing a Javadoc comment. |
85
|
| Parameter isNullable should be final. |
435
|
spellcast/beings/Female.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
19
|
| '{' should be on the previous line. |
20
|
| '(' is followed by whitespace. |
21
|
| ')' is preceded with whitespace. |
21
|
| Expected an @return tag. |
27
|
| Method 'pro_himself' is not designed for extension - needs to be abstract, final or empty. |
27
|
| Name 'pro_himself' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| '{' should be on the previous line. |
28
|
| Expected an @return tag. |
35
|
| Method 'pro_him' is not designed for extension - needs to be abstract, final or empty. |
35
|
| Name 'pro_him' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
35
|
| '{' should be on the previous line. |
36
|
| Expected an @return tag. |
43
|
| Method 'pro_he' is not designed for extension - needs to be abstract, final or empty. |
43
|
| Name 'pro_he' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| '{' should be on the previous line. |
44
|
| Line has trailing spaces. |
50
|
| Expected an @return tag. |
51
|
| Method 'pro_his' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Name 'pro_his' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
51
|
| '{' should be on the previous line. |
52
|
spellcast/beings/FireElemental.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/Gender.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
19
|
| Line has trailing spaces. |
25
|
| '{' is followed by whitespace. |
25
|
| Line has trailing spaces. |
26
|
| Missing a Javadoc comment. |
30
|
| '{' is followed by whitespace. |
30
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
34
|
| '(' is followed by whitespace. |
34
|
| Parameter genderString should be final. |
34
|
| 'genderString' hides a field. |
34
|
| ')' is preceded with whitespace. |
34
|
| '{' should be on the previous line. |
35
|
| Line has trailing spaces. |
37
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
44
|
| Method 'getGenderString' is not designed for extension - needs to be abstract, final or empty. |
44
|
| '{' should be on the previous line. |
45
|
| Line has trailing spaces. |
48
|
| Line has trailing spaces. |
54
|
| Method 'setGenderString' is not designed for extension - needs to be abstract, final or empty. |
54
|
| '(' is followed by whitespace. |
54
|
| Parameter v should be final. |
54
|
| ')' is preceded with whitespace. |
54
|
| '{' should be on the previous line. |
55
|
| Expected an @return tag. |
62
|
| Line has trailing spaces. |
62
|
| Name 'pro_himself' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
62
|
| Expected an @return tag. |
67
|
| Name 'pro_him' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
| Expected an @return tag. |
72
|
| Name 'pro_he' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
72
|
| Line has trailing spaces. |
76
|
| Expected an @return tag. |
77
|
| Name 'pro_his' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
77
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
79
|
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
79
|
| Missing a Javadoc comment. |
79
|
| '(' is followed by whitespace. |
79
|
| Parameter o should be final. |
79
|
| ')' is preceded with whitespace. |
79
|
| '{' should be on the previous line. |
80
|
| Line has trailing spaces. |
82
|
| '(' is followed by whitespace. |
83
|
| ')' is preceded with whitespace. |
83
|
| '{' should be on the previous line. |
84
|
| 'cast' is not followed by whitespace. |
85
|
| '(' is followed by whitespace. |
86
|
| '(' is followed by whitespace. |
86
|
| ')' is preceded with whitespace. |
86
|
| ')' is preceded with whitespace. |
86
|
| '{' should be on the previous line. |
87
|
| Line has trailing spaces. |
91
|
| Line has trailing spaces. |
96
|
| Line is longer than 80 characters. |
99
|
| '(' is followed by whitespace. |
102
|
| Parameter genderString should be final. |
102
|
| ')' is preceded with whitespace. |
102
|
| '{' should be on the previous line. |
103
|
| '(' is followed by whitespace. |
106
|
| ')' is preceded with whitespace. |
106
|
| '{' should be on the previous line. |
107
|
| '(' is followed by whitespace. |
108
|
| '(' is followed by whitespace. |
108
|
| ')' is preceded with whitespace. |
108
|
| ')' is preceded with whitespace. |
108
|
| '{' should be on the previous line. |
109
|
spellcast/beings/GenderNone.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
19
|
| '{' should be on the previous line. |
20
|
| '(' is followed by whitespace. |
21
|
| ')' is preceded with whitespace. |
21
|
| Expected an @return tag. |
27
|
| Method 'pro_himself' is not designed for extension - needs to be abstract, final or empty. |
27
|
| Name 'pro_himself' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| '{' should be on the previous line. |
28
|
| Expected an @return tag. |
35
|
| Method 'pro_him' is not designed for extension - needs to be abstract, final or empty. |
35
|
| Name 'pro_him' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
35
|
| '{' should be on the previous line. |
36
|
| Expected an @return tag. |
43
|
| Method 'pro_he' is not designed for extension - needs to be abstract, final or empty. |
43
|
| Name 'pro_he' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| '{' should be on the previous line. |
44
|
| Line has trailing spaces. |
50
|
| Expected an @return tag. |
51
|
| Method 'pro_his' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Name 'pro_his' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
51
|
| '{' should be on the previous line. |
52
|
spellcast/beings/Giant.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/Goblin.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
11
|
| '(' is followed by whitespace. |
12
|
| ')' is preceded with whitespace. |
12
|
spellcast/beings/IBeing.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/beings/IBeing.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/IMonster.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/beings/IMonster.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
6
|
spellcast/beings/IWizard.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/beings/IWizard.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
18
|
| Line is longer than 80 characters. |
25
|
| Line is longer than 80 characters. |
62
|
spellcast/beings/IceElemental.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/Male.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
20
|
| '{' should be on the previous line. |
21
|
| '(' is followed by whitespace. |
22
|
| ')' is preceded with whitespace. |
22
|
| Expected an @return tag. |
28
|
| Method 'pro_himself' is not designed for extension - needs to be abstract, final or empty. |
28
|
| Name 'pro_himself' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
28
|
| '{' should be on the previous line. |
29
|
| Expected an @return tag. |
36
|
| Method 'pro_him' is not designed for extension - needs to be abstract, final or empty. |
36
|
| Name 'pro_him' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
36
|
| '{' should be on the previous line. |
37
|
| Expected an @return tag. |
44
|
| Method 'pro_he' is not designed for extension - needs to be abstract, final or empty. |
44
|
| Name 'pro_he' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
44
|
| '{' should be on the previous line. |
45
|
| Line has trailing spaces. |
51
|
| Expected an @return tag. |
52
|
| Method 'pro_his' is not designed for extension - needs to be abstract, final or empty. |
52
|
| Name 'pro_his' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
52
|
| '{' should be on the previous line. |
53
|
spellcast/beings/Monster.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
14
|
| Line is longer than 80 characters. |
16
|
| Missing a Javadoc comment. |
16
|
| Missing a Javadoc comment. |
20
|
| Missing a Javadoc comment. |
21
|
| Missing a Javadoc comment. |
22
|
| Missing a Javadoc comment. |
23
|
| Line is longer than 80 characters. |
24
|
| Missing a Javadoc comment. |
24
|
| Missing a Javadoc comment. |
25
|
| Line is longer than 80 characters. |
27
|
| Missing a Javadoc comment. |
27
|
| Missing a Javadoc comment. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Line is longer than 80 characters. |
35
|
| Missing a Javadoc comment. |
35
|
| Line is longer than 80 characters. |
36
|
| Missing a Javadoc comment. |
36
|
| Comment matches to-do format 'TODO:'. |
42
|
| '(' is followed by whitespace. |
45
|
| ')' is preceded with whitespace. |
45
|
| Missing a Javadoc comment. |
49
|
| Parameter name should be final. |
49
|
| Parameter gender should be final. |
49
|
| Parameter maxHitPoints should be final. |
49
|
| '(' is followed by whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
| Method 'createKurukName' is not designed for extension - needs to be abstract, final or empty. |
53
|
| Missing a Javadoc comment. |
53
|
| 'cast' is not followed by whitespace. |
58
|
| '*' is not preceded with whitespace. |
58
|
| '*' is not followed by whitespace. |
58
|
| '10' is a magic number. |
58
|
| '%' is not preceded with whitespace. |
58
|
| '%' is not followed by whitespace. |
58
|
| '(' is followed by whitespace. |
61
|
| ')' is preceded with whitespace. |
61
|
| '(' is followed by whitespace. |
62
|
| ')' is preceded with whitespace. |
62
|
| Line is longer than 80 characters. |
65
|
| Line is longer than 80 characters. |
67
|
| '(' is followed by whitespace. |
67
|
| '&&' should be on a new line. |
67
|
| 'cast' is not followed by whitespace. |
68
|
| '*' is not preceded with whitespace. |
68
|
| '*' is not followed by whitespace. |
68
|
| '10' is a magic number. |
68
|
| '%' is not preceded with whitespace. |
68
|
| '%' is not followed by whitespace. |
68
|
| ')' is preceded with whitespace. |
68
|
| Line is longer than 80 characters. |
70
|
| 'cast' is not followed by whitespace. |
70
|
| '*' is not preceded with whitespace. |
70
|
| '*' is not followed by whitespace. |
70
|
| '10' is a magic number. |
70
|
| '%' is not preceded with whitespace. |
70
|
| '%' is not followed by whitespace. |
70
|
| '(' is followed by whitespace. |
72
|
| ')' is preceded with whitespace. |
72
|
| '(' is followed by whitespace. |
73
|
| ')' is preceded with whitespace. |
73
|
| Line is longer than 80 characters. |
78
|
| '(' is followed by whitespace. |
78
|
| '(' is followed by whitespace. |
78
|
| '(' is followed by whitespace. |
78
|
| ')' is preceded with whitespace. |
78
|
| ')' is preceded with whitespace. |
78
|
| ')' is preceded with whitespace. |
78
|
| '(' is followed by whitespace. |
79
|
| ')' is preceded with whitespace. |
79
|
| Line is longer than 80 characters. |
80
|
| '(' is followed by whitespace. |
80
|
| '(' is followed by whitespace. |
80
|
| '(' is followed by whitespace. |
80
|
| ')' is preceded with whitespace. |
80
|
| ')' is preceded with whitespace. |
80
|
| ')' is preceded with whitespace. |
80
|
| Line is longer than 80 characters. |
81
|
| '(' is followed by whitespace. |
82
|
| ')' is preceded with whitespace. |
82
|
| Missing a Javadoc comment. |
88
|
| Line is longer than 80 characters. |
89
|
| 'cast' is not followed by whitespace. |
89
|
| '*' is not preceded with whitespace. |
89
|
| '*' is not followed by whitespace. |
89
|
| '100' is a magic number. |
89
|
| '%' is not preceded with whitespace. |
89
|
| '%' is not followed by whitespace. |
89
|
| Method 'createSnaffiName' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Missing a Javadoc comment. |
92
|
| 'cast' is not followed by whitespace. |
97
|
| '*' is not preceded with whitespace. |
97
|
| '*' is not followed by whitespace. |
97
|
| '10' is a magic number. |
97
|
| '%' is not preceded with whitespace. |
97
|
| '%' is not followed by whitespace. |
97
|
| '(' is followed by whitespace. |
100
|
| ')' is preceded with whitespace. |
100
|
| '(' is followed by whitespace. |
101
|
| ')' is preceded with whitespace. |
101
|
| Line is longer than 80 characters. |
104
|
| '(' is followed by whitespace. |
106
|
| '||' should be on a new line. |
106
|
| Line is longer than 80 characters. |
107
|
| '(' is followed by whitespace. |
107
|
| '&&' should be on a new line. |
107
|
| 'cast' is not followed by whitespace. |
108
|
| '*' is not preceded with whitespace. |
108
|
| '*' is not followed by whitespace. |
108
|
| '10' is a magic number. |
108
|
| '%' is not preceded with whitespace. |
108
|
| '%' is not followed by whitespace. |
108
|
| ')' is preceded with whitespace. |
108
|
| ')' is preceded with whitespace. |
108
|
| Line is longer than 80 characters. |
110
|
| 'cast' is not followed by whitespace. |
110
|
| '*' is not preceded with whitespace. |
110
|
| '*' is not followed by whitespace. |
110
|
| '10' is a magic number. |
110
|
| '%' is not preceded with whitespace. |
110
|
| '%' is not followed by whitespace. |
110
|
| '(' is followed by whitespace. |
112
|
| ')' is preceded with whitespace. |
112
|
| '(' is followed by whitespace. |
113
|
| ')' is preceded with whitespace. |
113
|
| Line is longer than 80 characters. |
118
|
| '(' is followed by whitespace. |
118
|
| '(' is followed by whitespace. |
118
|
| '(' is followed by whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| '(' is followed by whitespace. |
119
|
| ')' is preceded with whitespace. |
119
|
| Line is longer than 80 characters. |
120
|
| '(' is followed by whitespace. |
120
|
| '(' is followed by whitespace. |
120
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| Line is longer than 80 characters. |
121
|
| '(' is followed by whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| Missing a Javadoc comment. |
128
|
| Line is longer than 80 characters. |
129
|
| 'cast' is not followed by whitespace. |
129
|
| '*' is not preceded with whitespace. |
129
|
| '*' is not followed by whitespace. |
129
|
| '100' is a magic number. |
129
|
| '%' is not preceded with whitespace. |
129
|
| '%' is not followed by whitespace. |
129
|
| Method 'getOwner' is not designed for extension - needs to be abstract, final or empty. |
135
|
spellcast/beings/Neuter.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
19
|
| '{' should be on the previous line. |
20
|
| '(' is followed by whitespace. |
21
|
| ')' is preceded with whitespace. |
21
|
| Expected an @return tag. |
27
|
| Method 'pro_himself' is not designed for extension - needs to be abstract, final or empty. |
27
|
| Name 'pro_himself' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| '{' should be on the previous line. |
28
|
| Expected an @return tag. |
35
|
| Method 'pro_him' is not designed for extension - needs to be abstract, final or empty. |
35
|
| Name 'pro_him' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
35
|
| '{' should be on the previous line. |
36
|
| Expected an @return tag. |
43
|
| Method 'pro_he' is not designed for extension - needs to be abstract, final or empty. |
43
|
| Name 'pro_he' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| '{' should be on the previous line. |
44
|
| Line has trailing spaces. |
50
|
| Expected an @return tag. |
51
|
| Method 'pro_his' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Name 'pro_his' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
51
|
| '{' should be on the previous line. |
52
|
spellcast/beings/NullBeing.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/NullMonster.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/beings/NullMonster.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/NullWizard.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/Ogre.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/beings/Troll.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
11
|
| '(' is followed by whitespace. |
12
|
| ')' is preceded with whitespace. |
12
|
spellcast/beings/Wizard.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
spellcast/beings/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/client/Client.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
34
|
| Missing a Javadoc comment. |
34
|
| Name 'programVersionDetails' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
34
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
43
|
| Method 'createGUI' is not designed for extension - needs to be abstract, final or empty. |
52
|
| Missing a Javadoc comment. |
52
|
| Method 'setVisible' is not designed for extension - needs to be abstract, final or empty. |
57
|
| Missing a Javadoc comment. |
57
|
| Parameter visible should be final. |
57
|
| First sentence should end with a period. |
63
|
| Method 'propertyChange' is not designed for extension - needs to be abstract, final or empty. |
66
|
| Parameter evt should be final. |
66
|
| Expected @param tag for 'evt'. |
66
|
| Method 'addMessage' is not designed for extension - needs to be abstract, final or empty. |
88
|
| Parameter message should be final. |
88
|
| Expected @param tag for 'message'. |
88
|
| Method 'addQuery' is not designed for extension - needs to be abstract, final or empty. |
97
|
| Parameter query should be final. |
97
|
| Expected @param tag for 'query'. |
97
|
| Method 'addWizard' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Parameter w should be final. |
106
|
| Expected @param tag for 'w'. |
106
|
| Method 'removeWizard' is not designed for extension - needs to be abstract, final or empty. |
115
|
| Parameter w should be final. |
115
|
| Expected @param tag for 'w'. |
115
|
| Method 'connected' is not designed for extension - needs to be abstract, final or empty. |
129
|
| Parameter success should be final. |
129
|
| Method 'disconnected' is not designed for extension - needs to be abstract, final or empty. |
138
|
| Method 'setID' is not designed for extension - needs to be abstract, final or empty. |
150
|
| Parameter v should be final. |
150
|
| Method 'setGame' is not designed for extension - needs to be abstract, final or empty. |
163
|
| Parameter v should be final. |
163
|
| Line is longer than 80 characters. |
174
|
| Line is longer than 80 characters. |
180
|
spellcast/client/ClientConnectionHandler.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/client/ClientConnectionHandler.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Missing a Javadoc comment. |
27
|
| Missing a Javadoc comment. |
28
|
| Missing a Javadoc comment. |
29
|
| Missing a Javadoc comment. |
30
|
| Missing a Javadoc comment. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
37
|
| Line is longer than 80 characters. |
40
|
| '10' is a magic number. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
51
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
51
|
| Missing a Javadoc comment. |
53
|
| Parameter view should be final. |
54
|
| 'view' hides a field. |
54
|
| Parameter programVersionDetails should be final. |
55
|
| 'programVersionDetails' hides a field. |
55
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
60
|
| Missing a Javadoc comment. |
60
|
| '}' should be on the same line. |
72
|
| Line has trailing spaces. |
83
|
| Parameter e should be final. |
86
|
| Expected @param tag for 'e'. |
86
|
| Line has trailing spaces. |
96
|
| Line is longer than 80 characters. |
96
|
| Line has trailing spaces. |
98
|
| Line has trailing spaces. |
99
|
| Expected an @return tag. |
102
|
| Method 'receive' is not designed for extension - needs to be abstract, final or empty. |
102
|
| '}' should be on the same line. |
109
|
| Method 'send' is not designed for extension - needs to be abstract, final or empty. |
132
|
| Parameter event should be final. |
132
|
| Expected @param tag for 'event'. |
132
|
| '}' should be on the same line. |
137
|
| Line is longer than 80 characters. |
155
|
| '}' should be on the same line. |
164
|
| Method 'connect' is not designed for extension - needs to be abstract, final or empty. |
180
|
| Parameter serverAddressString should be final. |
181
|
| 'serverAddressString' hides a field. |
181
|
| Parameter wizardName should be final. |
182
|
| 'wizardName' hides a field. |
182
|
| Parameter gender should be final. |
183
|
| 'gender' hides a field. |
183
|
| Method 'disconnect' is not designed for extension - needs to be abstract, final or empty. |
196
|
| Method 'join' is not designed for extension - needs to be abstract, final or empty. |
203
|
| '}' should be on the same line. |
207
|
| Line has trailing spaces. |
215
|
| Line is longer than 80 characters. |
216
|
| Line is longer than 80 characters. |
217
|
| Line is longer than 80 characters. |
218
|
| Line has trailing spaces. |
219
|
| Line has trailing spaces. |
220
|
spellcast/client/Main.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/client/Main.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Utility classes should not have a public or default constructor. |
21
|
| Missing a Javadoc comment. |
22
|
| Variable 'logger' must be private and have accessor methods. |
22
|
| Missing a Javadoc comment. |
24
|
| Parameter args should be final. |
24
|
| Line is longer than 80 characters. |
27
|
| Missing a Javadoc comment. |
48
|
| Parameter args should be final. |
48
|
spellcast/client/cengine.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/client/cengine.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Missing a Javadoc comment. |
29
|
| Name 'cengine' must match pattern '^[A-Z][a-zA-Z0-9]*$'. |
29
|
| Missing a Javadoc comment. |
30
|
| Missing a Javadoc comment. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
36
|
| 'static' modifier out of order with the JLS suggestions. |
36
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
36
|
| Line is longer than 80 characters. |
38
|
| Missing a Javadoc comment. |
40
|
| Parameter view should be final. |
41
|
| 'view' hides a field. |
41
|
| Parameter clientConnectionHandler should be final. |
42
|
| 'clientConnectionHandler' hides a field. |
42
|
| Line is longer than 80 characters. |
49
|
| Line is longer than 80 characters. |
50
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
52
|
| Line is longer than 80 characters. |
56
|
| Method 'cengine_execute' is not designed for extension - needs to be abstract, final or empty. |
58
|
| Missing a Javadoc comment. |
58
|
| Name 'cengine_execute' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
58
|
| Parameter args should be final. |
58
|
| Array brackets at illegal position. |
58
|
| Line is longer than 80 characters. |
65
|
| Method 'initialise_the_program' is not designed for extension - needs to be abstract, final or empty. |
67
|
| Missing a Javadoc comment. |
67
|
| Name 'initialise_the_program' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
| Line is longer than 80 characters. |
71
|
| Method 'get_external_event' is not designed for extension - needs to be abstract, final or empty. |
73
|
| Missing a Javadoc comment. |
73
|
| Name 'get_external_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
73
|
| Method 'mapGameEventToStateMachineEvent' is not designed for extension - needs to be abstract, final or empty. |
78
|
| Missing a Javadoc comment. |
78
|
| '}' should be on the same line. |
83
|
| '}' should be on the same line. |
87
|
| '}' should be on the same line. |
91
|
| '}' should be on the same line. |
95
|
| '}' should be on the same line. |
99
|
| '}' should be on the same line. |
103
|
| Line is longer than 80 characters. |
114
|
| Line is longer than 80 characters. |
117
|
| Method 'add_connection' is not designed for extension - needs to be abstract, final or empty. |
120
|
| Name 'add_connection' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
120
|
| Line is longer than 80 characters. |
126
|
| Method 'connect_this_client' is not designed for extension - needs to be abstract, final or empty. |
132
|
| Name 'connect_this_client' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
132
|
| Line is longer than 80 characters. |
138
|
| Method 'remove_connection' is not designed for extension - needs to be abstract, final or empty. |
144
|
| Name 'remove_connection' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
144
|
| Line is longer than 80 characters. |
160
|
| Method 'display_message' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Name 'display_message' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
165
|
| Line is longer than 80 characters. |
170
|
| Line is longer than 80 characters. |
173
|
| Line is longer than 80 characters. |
174
|
| Method 'update_game' is not designed for extension - needs to be abstract, final or empty. |
177
|
| Name 'update_game' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
177
|
| Line is longer than 80 characters. |
189
|
| Method 'handle_unknown_event' is not designed for extension - needs to be abstract, final or empty. |
191
|
| Missing a Javadoc comment. |
191
|
| Name 'handle_unknown_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
191
|
| Line is longer than 80 characters. |
193
|
| Line is longer than 80 characters. |
196
|
| Method 'sync_game' is not designed for extension - needs to be abstract, final or empty. |
202
|
| Name 'sync_game' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
202
|
| '}' should be on the same line. |
207
|
| Line is longer than 80 characters. |
210
|
| Line is longer than 80 characters. |
214
|
| Missing a Javadoc comment. |
216
|
| Name 'handle_io_error' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
216
|
| Line is longer than 80 characters. |
217
|
spellcast/client/cenginei.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/client/cenginei.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
7
|
| 'public' modifier out of order with the JLS suggestions. |
7
|
| Name 'cenginei' must match pattern '^[A-Z][a-zA-Z0-9]*$'. |
7
|
| Missing a Javadoc comment. |
10
|
| Name '_LR_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
10
|
| Name '_LR_state' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
11
|
| Name '_LR_savest' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
12
|
| Name '_LR_index' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
13
|
| Missing a Javadoc comment. |
15
|
| Name 'the_next_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
15
|
| Variable 'the_next_event' must be private and have accessor methods. |
15
|
| Name 'the_exception_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
16
|
| Variable 'the_exception_event' must be private and have accessor methods. |
16
|
| Missing a Javadoc comment. |
18
|
| Name 'exception_raised' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
18
|
| Missing a Javadoc comment. |
22
|
| Name '_LR_STOP' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
22
|
| '0xFFFF' is a magic number. |
22
|
| Name '_LR_NULL_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
22
|
| '-2' is a magic number. |
22
|
| Missing a Javadoc comment. |
24
|
| Name '_LR_STATE_after_init' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
24
|
| Variable '_LR_STATE_after_init' must be private and have accessor methods. |
24
|
| Name '_LR_STATE_not_connected' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
24
|
| Variable '_LR_STATE_not_connected' must be private and have accessor methods. |
24
|
| Name '_LR_STATE_connected' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
25
|
| Variable '_LR_STATE_connected' must be private and have accessor methods. |
25
|
| Name '_LR_STATE_defaults' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
25
|
| Variable '_LR_STATE_defaults' must be private and have accessor methods. |
25
|
| '3' is a magic number. |
25
|
| Name '_LR_defaults_state' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
26
|
| Variable '_LR_defaults_state' must be private and have accessor methods. |
26
|
| '3' is a magic number. |
26
|
| Name 'connect_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
26
|
| Variable 'connect_event' must be private and have accessor methods. |
26
|
| Name 'disconnect_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
26
|
| Variable 'disconnect_event' must be private and have accessor methods. |
26
|
| Name 'game_sync_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| Variable 'game_sync_event' must be private and have accessor methods. |
27
|
| Name 'game_update_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| Variable 'game_update_event' must be private and have accessor methods. |
27
|
| '3' is a magic number. |
27
|
| Name 'io_error_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
| Variable 'io_error_event' must be private and have accessor methods. |
27
|
| '4' is a magic number. |
27
|
| Name 'message_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
28
|
| Variable 'message_event' must be private and have accessor methods. |
28
|
| '5' is a magic number. |
28
|
| Name 'ok_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
28
|
| Variable 'ok_event' must be private and have accessor methods. |
28
|
| '6' is a magic number. |
28
|
| Name 'stop_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
28
|
| Variable 'stop_event' must be private and have accessor methods. |
28
|
| '7' is a magic number. |
28
|
| Name 'unknown_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
28
|
| Variable 'unknown_event' must be private and have accessor methods. |
28
|
| '8' is a magic number. |
28
|
| Name 'terminate_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
29
|
| Variable 'terminate_event' must be private and have accessor methods. |
29
|
| Missing a Javadoc comment. |
33
|
| Name '_LR_nextst' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
33
|
| Array brackets at illegal position. |
33
|
| '{' is followed by whitespace. |
33
|
| '{' is followed by whitespace. |
33
|
| '{' is followed by whitespace. |
34
|
| '{' is followed by whitespace. |
34
|
| '{' is followed by whitespace. |
35
|
| '3' is a magic number. |
35
|
| '3' is a magic number. |
35
|
| Missing a Javadoc comment. |
37
|
| Name '_LR_action' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
37
|
| Array brackets at illegal position. |
37
|
| '{' is followed by whitespace. |
37
|
| '{' is followed by whitespace. |
37
|
| '{' is followed by whitespace. |
38
|
| '{' is followed by whitespace. |
38
|
| '4' is a magic number. |
38
|
| '5' is a magic number. |
38
|
| '6' is a magic number. |
38
|
| '3' is a magic number. |
38
|
| '7' is a magic number. |
38
|
| '{' is followed by whitespace. |
39
|
| '8' is a magic number. |
39
|
| '9' is a magic number. |
39
|
| Missing a Javadoc comment. |
41
|
| Name '_LR_vector' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
41
|
| Array brackets at illegal position. |
41
|
| '{' is followed by whitespace. |
41
|
| '{' is followed by whitespace. |
41
|
| '{' is followed by whitespace. |
41
|
| '{' is followed by whitespace. |
41
|
| '{' is followed by whitespace. |
42
|
| '7' is a magic number. |
42
|
| '{' is followed by whitespace. |
42
|
| '{' is followed by whitespace. |
42
|
| '5' is a magic number. |
42
|
| '{' is followed by whitespace. |
42
|
| '6' is a magic number. |
42
|
| '{' is followed by whitespace. |
43
|
| '3' is a magic number. |
43
|
| '{' is followed by whitespace. |
43
|
| '{' is followed by whitespace. |
43
|
| '4' is a magic number. |
43
|
| Missing a Javadoc comment. |
45
|
| Name '_LR_mname' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
45
|
| Array brackets at illegal position. |
45
|
| '{' is followed by whitespace. |
45
|
| Missing a Javadoc comment. |
50
|
| Name '_LR_sname' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
50
|
| Array brackets at illegal position. |
50
|
| '{' is followed by whitespace. |
50
|
| Missing a Javadoc comment. |
53
|
| Name '_LR_ename' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
53
|
| Array brackets at illegal position. |
53
|
| '{' is followed by whitespace. |
53
|
| Missing a Javadoc comment. |
57
|
| 'public' modifier out of order with the JLS suggestions. |
57
|
| Name 'initialise_the_program' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
57
|
| Missing a Javadoc comment. |
59
|
| 'public' modifier out of order with the JLS suggestions. |
59
|
| Name 'get_external_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
61
|
| 'public' modifier out of order with the JLS suggestions. |
61
|
| Name 'add_connection' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
63
|
| 'public' modifier out of order with the JLS suggestions. |
63
|
| Name 'connect_this_client' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
63
|
| Missing a Javadoc comment. |
65
|
| 'public' modifier out of order with the JLS suggestions. |
65
|
| Name 'display_message' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
65
|
| Missing a Javadoc comment. |
67
|
| 'public' modifier out of order with the JLS suggestions. |
67
|
| Name 'handle_io_error' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
| Missing a Javadoc comment. |
69
|
| 'public' modifier out of order with the JLS suggestions. |
69
|
| Name 'handle_unknown_event' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
69
|
| Missing a Javadoc comment. |
71
|
| 'public' modifier out of order with the JLS suggestions. |
71
|
| Name 'remove_connection' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
71
|
| Missing a Javadoc comment. |
73
|
| 'public' modifier out of order with the JLS suggestions. |
73
|
| Name 'sync_game' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
73
|
| Missing a Javadoc comment. |
75
|
| 'public' modifier out of order with the JLS suggestions. |
75
|
| Name 'update_game' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
75
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
79
|
| Missing a Javadoc comment. |
79
|
| Name 'next_module' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
80
|
| '9' is a magic number. |
86
|
| 'if' construct must use '{}'s. |
116
|
| switch without "default" clause. |
119
|
| '3' is a magic number. |
129
|
| '4' is a magic number. |
132
|
| '5' is a magic number. |
135
|
| '6' is a magic number. |
138
|
| '7' is a magic number. |
141
|
| 'if' construct must use '{}'s. |
148
|
| 'else' construct must use '{}'s. |
152
|
| 'if' construct must use '{}'s. |
155
|
| Method 'raise_exception' is not designed for extension - needs to be abstract, final or empty. |
172
|
| Missing a Javadoc comment. |
172
|
| Name 'raise_exception' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
172
|
| Parameter event should be final. |
172
|
| 'if' construct must use '{}'s. |
174
|
spellcast/client/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/damage/Damage.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
15
|
| Missing a Javadoc comment. |
16
|
| Parameter type_ should be final. |
16
|
| Name 'type_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
16
|
| Parameter value_ should be final. |
16
|
| Name 'value_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
16
|
| Line has trailing spaces. |
20
|
| Missing a Javadoc comment. |
21
|
| Method 'getType' is not designed for extension - needs to be abstract, final or empty. |
22
|
| Missing a Javadoc comment. |
22
|
| Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
23
|
| Missing a Javadoc comment. |
23
|
| Parameter type_ should be final. |
23
|
| Name 'type_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
23
|
| Line has trailing spaces. |
24
|
| Missing a Javadoc comment. |
25
|
| Method 'getValue' is not designed for extension - needs to be abstract, final or empty. |
26
|
| Missing a Javadoc comment. |
26
|
| Line has trailing spaces. |
27
|
| Method 'setValue' is not designed for extension - needs to be abstract, final or empty. |
27
|
| Missing a Javadoc comment. |
27
|
| Parameter value_ should be final. |
27
|
| Name 'value_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
27
|
spellcast/damage/DamageType.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
18
|
| Parameter isNullable should be final. |
28
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
39
|
| Parameter type_ should be final. |
43
|
| Expected @param tag for 'type_'. |
43
|
| Name 'type_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| Expected an @return tag. |
50
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
50
|
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
50
|
| '(' is followed by whitespace. |
50
|
| Parameter o should be final. |
50
|
| Expected @param tag for 'o'. |
50
|
| ')' is preceded with whitespace. |
50
|
| '{' should be on the previous line. |
51
|
| '(' is followed by whitespace. |
54
|
| ')' is preceded with whitespace. |
54
|
| '{' should be on the previous line. |
55
|
| '(' is followed by whitespace. |
57
|
| ')' is preceded with whitespace. |
57
|
| Expected an @return tag. |
65
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
65
|
| Line has trailing spaces. |
68
|
| Missing a Javadoc comment. |
69
|
| Method 'getType' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Missing a Javadoc comment. |
70
|
| Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
71
|
| Missing a Javadoc comment. |
71
|
| Parameter type_ should be final. |
71
|
| Name 'type_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
71
|
| Line has trailing spaces. |
72
|
| Missing a Javadoc comment. |
73
|
| Name 'physicalDamageType_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
73
|
| Line has trailing spaces. |
74
|
| Missing a Javadoc comment. |
75
|
| Line has trailing spaces. |
81
|
| Missing a Javadoc comment. |
82
|
| Name 'fireDamageType_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
82
|
| Line has trailing spaces. |
83
|
| Missing a Javadoc comment. |
84
|
| Line has trailing spaces. |
90
|
| Missing a Javadoc comment. |
91
|
| Name 'coldDamageType_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
91
|
| Missing a Javadoc comment. |
92
|
| Line has trailing spaces. |
98
|
| Line has trailing spaces. |
107
|
spellcast/damage/KnifeAttack.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
19
|
| Method 'setTarget' is not designed for extension - needs to be abstract, final or empty. |
26
|
| Parameter theTarget should be final. |
26
|
spellcast/damage/NullDamageType.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
13
|
| First sentence should end with a period. |
14
|
| Line has trailing spaces. |
19
|
spellcast/damage/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/enchantment/AmnesiaEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Unused import - spellcast.beings.Being. |
6
|
spellcast/enchantment/BlindEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/CharmPersonEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/ConfusionEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
51
|
spellcast/enchantment/DelayedEffectEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/DiseasedEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/Enchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/EnchantmentImpl.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
spellcast/enchantment/FearEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/HasteEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/InvisibleEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
51
|
spellcast/enchantment/ParalysisEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
60
|
spellcast/enchantment/PermanencyEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/PoisonedEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/ProtectionFromEvilEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/enchantment/ResistColdEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
48
|
spellcast/enchantment/ResistHeatEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
52
|
spellcast/enchantment/TimeStopEnchantment.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/event/ConnectionEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.beings.*. |
8
|
| Line has trailing spaces. |
16
|
| Line has trailing spaces. |
18
|
| '{' should be on the previous line. |
19
|
| Missing a Javadoc comment. |
20
|
| Line has trailing spaces. |
24
|
| '(' is followed by whitespace. |
29
|
| Parameter wizard should be final. |
29
|
| 'wizard' hides a field. |
29
|
| ')' is preceded with whitespace. |
29
|
| '{' should be on the previous line. |
30
|
| Line has trailing spaces. |
39
|
| Method 'getWizard' is not designed for extension - needs to be abstract, final or empty. |
39
|
| '{' should be on the previous line. |
40
|
spellcast/event/ConnectionRequestEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line has trailing spaces. |
14
|
| Line has trailing spaces. |
16
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
19
|
| Line is longer than 80 characters. |
23
|
| '(' is followed by whitespace. |
26
|
| Parameter wizardName should be final. |
26
|
| 'wizardName' hides a field. |
26
|
| Expected @param tag for 'wizardName'. |
26
|
| Parameter gender should be final. |
26
|
| 'gender' hides a field. |
26
|
| Expected @param tag for 'gender'. |
26
|
| ')' is preceded with whitespace. |
26
|
| '{' should be on the previous line. |
27
|
| Line has trailing spaces. |
37
|
| Method 'getWizardName' is not designed for extension - needs to be abstract, final or empty. |
37
|
| '{' should be on the previous line. |
38
|
| Line has trailing spaces. |
47
|
| Method 'getGender' is not designed for extension - needs to be abstract, final or empty. |
47
|
| '{' should be on the previous line. |
48
|
spellcast/event/DisconnectionEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
20
|
| Parameter target should be final. |
25
|
| Expected @param tag for 'target'. |
25
|
| Method 'getWizardID' is not designed for extension - needs to be abstract, final or empty. |
34
|
| Method 'setWizardID' is not designed for extension - needs to be abstract, final or empty. |
44
|
| Parameter v should be final. |
44
|
| Missing a Javadoc comment. |
48
|
spellcast/event/DisconnectionRequestEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line has trailing spaces. |
14
|
| Line has trailing spaces. |
16
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| '{' should be on the previous line. |
19
|
spellcast/event/GameEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line is longer than 80 characters. |
10
|
| Line has trailing spaces. |
15
|
| '{' should be on the previous line. |
17
|
spellcast/event/GameSyncEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.game.*. |
8
|
| Line is longer than 80 characters. |
11
|
| '{' should be on the previous line. |
19
|
| Missing a Javadoc comment. |
20
|
| First sentence should end with a period. |
22
|
| '(' is followed by whitespace. |
25
|
| Parameter game should be final. |
25
|
| 'game' hides a field. |
25
|
| Expected @param tag for 'game'. |
25
|
| ')' is preceded with whitespace. |
25
|
| '{' should be on the previous line. |
26
|
| Line has trailing spaces. |
35
|
| Method 'getGame' is not designed for extension - needs to be abstract, final or empty. |
35
|
| '{' should be on the previous line. |
36
|
| Line has trailing spaces. |
39
|
| Line has trailing spaces. |
45
|
| Method 'setGame' is not designed for extension - needs to be abstract, final or empty. |
45
|
| '(' is followed by whitespace. |
45
|
| Parameter v should be final. |
45
|
| ')' is preceded with whitespace. |
45
|
| '{' should be on the previous line. |
46
|
spellcast/event/GameUpdateEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.beans.*. |
7
|
| Using the '.*' form of import should be avoided - java.io.*. |
8
|
| Using the '.*' form of import should be avoided - spellcast.model.*. |
9
|
| Line is longer than 80 characters. |
15
|
| '{' should be on the previous line. |
24
|
| Missing a Javadoc comment. |
25
|
| Missing a Javadoc comment. |
26
|
| Line has trailing spaces. |
27
|
| '(' is followed by whitespace. |
33
|
| Parameter event should be final. |
33
|
| 'event' hides a field. |
33
|
| Expected @param tag for 'event'. |
33
|
| ')' is preceded with whitespace. |
33
|
| '{' should be on the previous line. |
34
|
| 'cast' is not followed by whitespace. |
36
|
| Line has trailing spaces. |
44
|
| Method 'getEvent' is not designed for extension - needs to be abstract, final or empty. |
44
|
| '{' should be on the previous line. |
45
|
| Line has trailing spaces. |
48
|
| Line has trailing spaces. |
54
|
| Method 'setEvent' is not designed for extension - needs to be abstract, final or empty. |
54
|
| '(' is followed by whitespace. |
54
|
| Parameter v should be final. |
54
|
| ')' is preceded with whitespace. |
54
|
| '{' should be on the previous line. |
55
|
| Line has trailing spaces. |
58
|
| Line has trailing spaces. |
64
|
| Method 'getSource' is not designed for extension - needs to be abstract, final or empty. |
64
|
| '{' should be on the previous line. |
65
|
| Line has trailing spaces. |
68
|
| Line has trailing spaces. |
74
|
| Method 'setSource' is not designed for extension - needs to be abstract, final or empty. |
74
|
| '(' is followed by whitespace. |
74
|
| Parameter v should be final. |
74
|
| ')' is preceded with whitespace. |
74
|
| '{' should be on the previous line. |
75
|
spellcast/event/MessageEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line has trailing spaces. |
14
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| '(' is followed by whitespace. |
23
|
| Parameter message should be final. |
23
|
| 'message' hides a field. |
23
|
| Expected @param tag for 'message'. |
23
|
| ')' is preceded with whitespace. |
23
|
| '{' should be on the previous line. |
24
|
| Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. |
33
|
| '{' should be on the previous line. |
34
|
| Line has trailing spaces. |
37
|
spellcast/event/OkEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Using the '.*' form of import should be avoided - java.util.*. |
8
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
9
|
| '{' should be on the previous line. |
21
|
| Missing a Javadoc comment. |
22
|
| Missing a Javadoc comment. |
23
|
| Missing a Javadoc comment. |
24
|
| Line has trailing spaces. |
25
|
| '{' should be on the previous line. |
30
|
| Line has trailing spaces. |
38
|
| Method 'getLeftHandGesture' is not designed for extension - needs to be abstract, final or empty. |
38
|
| '{' should be on the previous line. |
39
|
| Line has trailing spaces. |
42
|
| Line has trailing spaces. |
48
|
| Method 'setLeftHandGesture' is not designed for extension - needs to be abstract, final or empty. |
48
|
| '(' is followed by whitespace. |
48
|
| Parameter v should be final. |
48
|
| ')' is preceded with whitespace. |
48
|
| '{' should be on the previous line. |
49
|
| Line has trailing spaces. |
52
|
| Line has trailing spaces. |
58
|
| Method 'getRightHandGesture' is not designed for extension - needs to be abstract, final or empty. |
58
|
| '{' should be on the previous line. |
59
|
| Line has trailing spaces. |
62
|
| Line has trailing spaces. |
68
|
| Method 'setRightHandGesture' is not designed for extension - needs to be abstract, final or empty. |
68
|
| '(' is followed by whitespace. |
68
|
| Parameter v should be final. |
68
|
| ')' is preceded with whitespace. |
68
|
| '{' should be on the previous line. |
69
|
| Line has trailing spaces. |
78
|
| Method 'getAnswers' is not designed for extension - needs to be abstract, final or empty. |
78
|
| '{' should be on the previous line. |
79
|
| Line has trailing spaces. |
82
|
| Line has trailing spaces. |
88
|
| Method 'setAnswers' is not designed for extension - needs to be abstract, final or empty. |
88
|
| '(' is followed by whitespace. |
88
|
| Parameter v should be final. |
88
|
| ')' is preceded with whitespace. |
88
|
| '{' should be on the previous line. |
89
|
spellcast/event/QueryEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.model.*. |
8
|
| '{' should be on the previous line. |
20
|
| Missing a Javadoc comment. |
21
|
| Missing a Javadoc comment. |
23
|
| '(' is followed by whitespace. |
23
|
| Parameter query should be final. |
23
|
| 'query' hides a field. |
23
|
| ')' is preceded with whitespace. |
23
|
| '{' should be on the previous line. |
24
|
| Line has trailing spaces. |
33
|
| Method 'getQuery' is not designed for extension - needs to be abstract, final or empty. |
33
|
| '{' should be on the previous line. |
34
|
| Line has trailing spaces. |
37
|
| Line has trailing spaces. |
43
|
| Method 'setQuery' is not designed for extension - needs to be abstract, final or empty. |
43
|
| '(' is followed by whitespace. |
43
|
| Parameter v should be final. |
43
|
| ')' is preceded with whitespace. |
43
|
| '{' should be on the previous line. |
44
|
spellcast/event/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/game/Arena.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on the previous line. |
12
|
spellcast/game/Engine.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on the previous line. |
12
|
| Missing a Javadoc comment. |
13
|
| '{' should be on the previous line. |
14
|
| Missing a Javadoc comment. |
18
|
| Name 'BeginGame' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
18
|
| '{' should be on the previous line. |
19
|
| Line is longer than 80 characters. |
21
|
| Line is longer than 80 characters. |
22
|
| Line is longer than 80 characters. |
23
|
spellcast/game/Game.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/game/Game.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
spellcast/game/GameContext.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
8
|
spellcast/game/GameLog.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.util.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.beings.*. |
8
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| '(' is followed by whitespace. |
17
|
| '1024' is a magic number. |
17
|
| ')' is preceded with whitespace. |
17
|
| Missing a Javadoc comment. |
19
|
| '{' should be on the previous line. |
20
|
| '(' is followed by whitespace. |
21
|
| ')' is preceded with whitespace. |
21
|
| Method 'log' is not designed for extension - needs to be abstract, final or empty. |
24
|
| Missing a Javadoc comment. |
24
|
| '(' is followed by whitespace. |
24
|
| Parameter message should be final. |
24
|
| ')' is preceded with whitespace. |
24
|
| '{' should be on the previous line. |
25
|
| '(' is followed by whitespace. |
26
|
| ')' is preceded with whitespace. |
26
|
| Method 'logRoundHeader' is not designed for extension - needs to be abstract, final or empty. |
29
|
| Missing a Javadoc comment. |
29
|
| '(' is followed by whitespace. |
29
|
| Parameter theGame should be final. |
29
|
| ')' is preceded with whitespace. |
29
|
| '{' should be on the previous line. |
30
|
| Line has trailing spaces. |
32
|
| '(' is followed by whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| '{' should be on the previous line. |
33
|
| '}' should be on the same line. |
35
|
| '(' is followed by whitespace. |
36
|
| ')' is preceded with whitespace. |
36
|
| '{' should be on the previous line. |
37
|
| Line is longer than 80 characters. |
41
|
| '(' is followed by whitespace. |
41
|
| ')' is preceded with whitespace. |
41
|
| '(' is followed by whitespace. |
44
|
| ')' is preceded with whitespace. |
44
|
| '{' should be on the previous line. |
45
|
| 'cast' is not followed by whitespace. |
46
|
| Line has trailing spaces. |
47
|
| '(' is followed by whitespace. |
47
|
| ')' is preceded with whitespace. |
47
|
| '{' should be on the previous line. |
48
|
| Line has trailing spaces. |
49
|
| '(' is followed by whitespace. |
49
|
| ')' is preceded with whitespace. |
49
|
| '{' should be on the previous line. |
50
|
| Line is longer than 80 characters. |
51
|
| '(' is followed by whitespace. |
51
|
| ')' is preceded with whitespace. |
51
|
| '}' should be on the same line. |
52
|
| Line has trailing spaces. |
53
|
| '{' should be on the previous line. |
54
|
| Line is longer than 80 characters. |
55
|
| '(' is followed by whitespace. |
55
|
| ')' is preceded with whitespace. |
55
|
| '(' is followed by whitespace. |
61
|
| ')' is preceded with whitespace. |
61
|
| '{' should be on the previous line. |
62
|
| 'cast' is not followed by whitespace. |
63
|
| Line has trailing spaces. |
64
|
| '(' is followed by whitespace. |
64
|
| ')' is preceded with whitespace. |
64
|
| '{' should be on the previous line. |
65
|
| Line is longer than 80 characters. |
66
|
| '(' is followed by whitespace. |
66
|
| ')' is preceded with whitespace. |
66
|
| '(' is followed by whitespace. |
69
|
| ')' is preceded with whitespace. |
69
|
spellcast/game/GameProperty.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
14
|
spellcast/game/Game_Server.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/game/Game_Server.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Unused import - spellcast.questions.Question. |
24
|
| Name 'Game_Server' must match pattern '^[A-Z][a-zA-Z0-9]*$'. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Line is longer than 80 characters. |
39
|
| Missing a Javadoc comment. |
44
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
44
|
| Missing a Javadoc comment. |
46
|
| Parameter ipc should be final. |
46
|
| 'ipc' hides a field. |
46
|
| Parameter gameName should be final. |
46
|
| Method 'getGame' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Missing a Javadoc comment. |
51
|
| First sentence should end with a period. |
55
|
| Line is longer than 80 characters. |
56
|
| Method 'propertyChange' is not designed for extension - needs to be abstract, final or empty. |
58
|
| Parameter pce should be final. |
58
|
| Expected @param tag for 'pce'. |
58
|
| '}' should be on the same line. |
64
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Missing a Javadoc comment. |
70
|
| '}' should be on the same line. |
75
|
| Line is longer than 80 characters. |
86
|
| '}' should be on the same line. |
96
|
| '}' should be on the same line. |
100
|
| '}' should be on the same line. |
104
|
| '}' should be on the same line. |
108
|
| Line is longer than 80 characters. |
111
|
| Parameter request should be final. |
124
|
| Expected @param tag for 'request'. |
124
|
| Line is longer than 80 characters. |
125
|
| Line is longer than 80 characters. |
129
|
| Line is longer than 80 characters. |
157
|
| '}' should be on the same line. |
160
|
| Parameter request should be final. |
182
|
| Expected @param tag for 'request'. |
182
|
| '}' should be on the same line. |
194
|
| Parameter request should be final. |
203
|
| Expected @param tag for 'request'. |
203
|
| Method 'processOkEvent' is not designed for extension - needs to be abstract, final or empty. |
215
|
| Parameter request should be final. |
215
|
| Expected @param tag for 'request'. |
215
|
| Method 'start' is not designed for extension - needs to be abstract, final or empty. |
228
|
| Line is longer than 80 characters. |
236
|
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. |
240
|
| '}' should be on the same line. |
244
|
| Missing a Javadoc comment. |
262
|
| Line is longer than 80 characters. |
270
|
| Line is longer than 80 characters. |
272
|
| Missing a Javadoc comment. |
278
|
| Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. |
285
|
| Parameter message should be final. |
285
|
| Expected @param tag for 'message'. |
285
|
| Method 'sendMessage2' is not designed for extension - needs to be abstract, final or empty. |
292
|
| Parameter id1 should be final. |
293
|
| Expected @param tag for 'id1'. |
293
|
| Parameter messageForID1 should be final. |
294
|
| Expected @param tag for 'messageForID1'. |
294
|
| Parameter messageForEveryoneElse should be final. |
295
|
| Expected @param tag for 'messageForEveryoneElse'. |
295
|
| Line is longer than 80 characters. |
300
|
| Method 'sendMessage3' is not designed for extension - needs to be abstract, final or empty. |
302
|
| Parameter id1 should be final. |
303
|
| Expected @param tag for 'id1'. |
303
|
| Parameter messageForID1 should be final. |
304
|
| Expected @param tag for 'messageForID1'. |
304
|
| Parameter id2 should be final. |
305
|
| Expected @param tag for 'id2'. |
305
|
| Parameter messageForID2 should be final. |
306
|
| Expected @param tag for 'messageForID2'. |
306
|
| Parameter messageForEveryoneElse should be final. |
307
|
| Expected @param tag for 'messageForEveryoneElse'. |
307
|
| Line is longer than 80 characters. |
310
|
| '}' should be on the same line. |
317
|
| '}' should be on the same line. |
321
|
spellcast/game/IGame.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/game/IGame.java
Error | Line |
| Got an exception - expecting EOF, found 'List' |
0
|
spellcast/game/IPC.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - spellcast.event.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.model.*. |
8
|
| Line has trailing spaces. |
18
|
| '{' should be on the previous line. |
19
|
| Redundant 'public' modifier. |
25
|
| '(' is followed by whitespace. |
25
|
| Expected @param tag for 'recipient'. |
25
|
| Expected @param tag for 'e'. |
25
|
| ')' is preceded with whitespace. |
25
|
| Redundant 'public' modifier. |
31
|
| '(' is followed by whitespace. |
31
|
| Expected @param tag for 'e'. |
31
|
| ')' is preceded with whitespace. |
31
|
| Expected an @return tag. |
37
|
| Redundant 'public' modifier. |
37
|
| Redundant 'public' modifier. |
42
|
| '(' is followed by whitespace. |
42
|
| Expected @param tag for 'handle'. |
42
|
| Expected @param tag for 'client'. |
42
|
| ')' is preceded with whitespace. |
42
|
| Redundant 'public' modifier. |
47
|
| '(' is followed by whitespace. |
47
|
| Expected @param tag for 'handle'. |
47
|
| ')' is preceded with whitespace. |
47
|
spellcast/game/IPCHandle.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
14
|
| '{' should be on the previous line. |
15
|
| Redundant 'public' modifier. |
21
|
spellcast/game/IPCRequest.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - spellcast.model.*. |
7
|
| Using the '.*' form of import should be avoided - spellcast.event.*. |
8
|
| Line has trailing spaces. |
11
|
| Line has trailing spaces. |
12
|
| Line has trailing spaces. |
17
|
| '{' should be on the previous line. |
18
|
| Missing a Javadoc comment. |
19
|
| Missing a Javadoc comment. |
20
|
| Missing a Javadoc comment. |
21
|
| Line has trailing spaces. |
22
|
| Line has trailing spaces. |
23
|
| Missing a Javadoc comment. |
23
|
| '(' is followed by whitespace. |
23
|
| Parameter handle should be final. |
23
|
| 'handle' hides a field. |
23
|
| Parameter id should be final. |
24
|
| 'id' hides a field. |
24
|
| Parameter event should be final. |
25
|
| 'event' hides a field. |
25
|
| ')' is preceded with whitespace. |
25
|
| '{' should be on the previous line. |
26
|
| Line has trailing spaces. |
31
|
| Line has trailing spaces. |
37
|
| Method 'getHandle' is not designed for extension - needs to be abstract, final or empty. |
37
|
| '{' should be on the previous line. |
38
|
| Line has trailing spaces. |
41
|
| Line has trailing spaces. |
47
|
| Method 'setHandle' is not designed for extension - needs to be abstract, final or empty. |
47
|
| '(' is followed by whitespace. |
47
|
| Parameter v should be final. |
47
|
| ')' is preceded with whitespace. |
47
|
| '{' should be on the previous line. |
48
|
| Line has trailing spaces. |
57
|
| Method 'getId' is not designed for extension - needs to be abstract, final or empty. |
57
|
| '{' should be on the previous line. |
58
|
| Line has trailing spaces. |
61
|
| Line has trailing spaces. |
67
|
| Method 'setID' is not designed for extension - needs to be abstract, final or empty. |
67
|
| '(' is followed by whitespace. |
67
|
| Parameter v should be final. |
67
|
| ')' is preceded with whitespace. |
67
|
| '{' should be on the previous line. |
68
|
| Line has trailing spaces. |
77
|
| Method 'getGameEvent' is not designed for extension - needs to be abstract, final or empty. |
77
|
| '{' should be on the previous line. |
78
|
| Line has trailing spaces. |
81
|
| Line has trailing spaces. |
87
|
| Method 'setGameEvent' is not designed for extension - needs to be abstract, final or empty. |
87
|
| '(' is followed by whitespace. |
87
|
| Parameter v should be final. |
87
|
| ')' is preceded with whitespace. |
87
|
| '{' should be on the previous line. |
88
|
spellcast/game/ResolveSpells.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
11
|
| First sentence should end with a period. |
12
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
17
|
| Missing a Javadoc comment. |
17
|
| Parameter arg0 should be final. |
17
|
spellcast/game/Turn.java
Error | Line |
| Got an exception - unexpected char: '@' |
0
|
spellcast/game/TurnType.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
spellcast/game/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/gestures/Gesture.java
Error | Line |
| Got an exception - expecting EOF, found 'Gesture' |
0
|
spellcast/gestures/GestureFactory.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
spellcast/model/Id.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Line is longer than 80 characters. |
10
|
| Line is longer than 80 characters. |
16
|
| Class Id should be declared as final. |
20
|
| '(' is followed by whitespace. |
24
|
| ')' is preceded with whitespace. |
24
|
| Line has trailing spaces. |
25
|
| Unclosed HTML tag found: <oode>Id</code> indicates that a message is from the game en |
27
|
| Extra HTML tag found: </code> indicates that a message is from the game engine. |
27
|
| '(' is followed by whitespace. |
29
|
| '-2' is a magic number. |
29
|
| ')' is preceded with whitespace. |
29
|
| Line has trailing spaces. |
30
|
| Line is longer than 80 characters. |
33
|
| '(' is followed by whitespace. |
35
|
| '-3' is a magic number. |
35
|
| ')' is preceded with whitespace. |
35
|
| Line has trailing spaces. |
36
|
| Missing a Javadoc comment. |
37
|
| Line has trailing spaces. |
38
|
| Missing a Javadoc comment. |
39
|
| Line has trailing spaces. |
40
|
| Missing a Javadoc comment. |
41
|
| Parameter id_ should be final. |
41
|
| Name 'id_' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
41
|
| Line has trailing spaces. |
44
|
| Missing a Javadoc comment. |
45
|
| '(' is followed by whitespace. |
45
|
| Parameter o should be final. |
45
|
| ')' is preceded with whitespace. |
45
|
| Line has trailing spaces. |
47
|
| '(' is followed by whitespace. |
48
|
| ')' is preceded with whitespace. |
48
|
| 'cast' is not followed by whitespace. |
49
|
| '(' is followed by whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
| Line has trailing spaces. |
54
|
| Line has trailing spaces. |
57
|
| Missing a Javadoc comment. |
58
|
| '(' is followed by whitespace. |
59
|
| ')' is preceded with whitespace. |
59
|
| Line has trailing spaces. |
61
|
| Missing a Javadoc comment. |
62
|
| Line has trailing spaces. |
65
|
| Missing a Javadoc comment. |
66
|
| '(' is followed by whitespace. |
67
|
| ')' is preceded with whitespace. |
67
|
spellcast/model/PropertyUpdater.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.beans.*. |
7
|
| Line has trailing spaces. |
16
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| Redundant 'public' modifier. |
18
|
| '(' is followed by whitespace. |
18
|
| ')' is preceded with whitespace. |
18
|
| Missing a Javadoc comment. |
19
|
| Redundant 'public' modifier. |
19
|
| '(' is followed by whitespace. |
19
|
| ')' is preceded with whitespace. |
19
|
spellcast/model/Updateable.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.beans.*. |
7
|
| Line is longer than 80 characters. |
10
|
| Line is longer than 80 characters. |
11
|
| Line is longer than 80 characters. |
12
|
| Line is longer than 80 characters. |
14
|
| Line has trailing spaces. |
19
|
| '{' should be on the previous line. |
20
|
| Line is longer than 80 characters. |
22
|
| Line is longer than 80 characters. |
23
|
| Redundant 'public' modifier. |
26
|
| '(' is followed by whitespace. |
26
|
| Expected @param tag for 'pce'. |
26
|
| ')' is preceded with whitespace. |
26
|
spellcast/model/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/net/ConnectionStatus.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Class ConnectionStatus should be declared as final. |
20
|
| '{' should be on the previous line. |
22
|
| Line is longer than 80 characters. |
23
|
| Missing a Javadoc comment. |
23
|
| 'static' modifier out of order with the JLS suggestions. |
23
|
| '(' is followed by whitespace. |
23
|
| ')' is preceded with whitespace. |
23
|
| Line is longer than 80 characters. |
24
|
| Missing a Javadoc comment. |
24
|
| 'static' modifier out of order with the JLS suggestions. |
24
|
| '(' is followed by whitespace. |
24
|
| ')' is preceded with whitespace. |
24
|
| Line is longer than 80 characters. |
25
|
| Missing a Javadoc comment. |
25
|
| 'static' modifier out of order with the JLS suggestions. |
25
|
| '(' is followed by whitespace. |
25
|
| ')' is preceded with whitespace. |
25
|
| Missing a Javadoc comment. |
27
|
| Line has trailing spaces. |
28
|
| Missing a Javadoc comment. |
29
|
| '(' is followed by whitespace. |
29
|
| Parameter status should be final. |
29
|
| 'status' hides a field. |
29
|
| ')' is preceded with whitespace. |
29
|
| '{' should be on the previous line. |
30
|
| Missing a Javadoc comment. |
34
|
| '{' should be on the previous line. |
35
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
39
|
| Missing a Javadoc comment. |
39
|
| '(' is followed by whitespace. |
39
|
| Parameter obj should be final. |
39
|
| ')' is preceded with whitespace. |
39
|
| '{' should be on the previous line. |
40
|
| '(' is followed by whitespace. |
43
|
| ')' is preceded with whitespace. |
43
|
| '{' should be on the previous line. |
44
|
| 'cast' is not followed by whitespace. |
45
|
| '(' is followed by whitespace. |
46
|
| '(' is followed by whitespace. |
46
|
| ')' is preceded with whitespace. |
46
|
| ')' is preceded with whitespace. |
46
|
| '{' should be on the previous line. |
47
|
spellcast/net/NetConstants.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| interfaces should describe a type and hence have methods. |
13
|
| '{' should be on the previous line. |
14
|
| Redundant 'public' modifier. |
19
|
| Redundant 'public' modifier. |
26
|
| Line is longer than 80 characters. |
32
|
| Redundant 'public' modifier. |
32
|
spellcast/net/ServerStatus.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| Using the '.*' form of import should be avoided - java.net.*. |
8
|
| Line has trailing spaces. |
14
|
| Line is longer than 80 characters. |
16
|
| '{' should be on the previous line. |
24
|
| First sentence should end with a period. |
25
|
| Name 'numberOfMemberVariables' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
28
|
| Missing a Javadoc comment. |
30
|
| Missing a Javadoc comment. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Parameter server should be final. |
40
|
| Expected @param tag for 'server'. |
40
|
| Unclosed HTML tag found: <ul> |
53
|
| Expected an @return tag. |
62
|
| Method 'get' is not designed for extension - needs to be abstract, final or empty. |
62
|
| '(' is followed by whitespace. |
62
|
| Parameter index should be final. |
62
|
| Expected @param tag for 'index'. |
62
|
| ')' is preceded with whitespace. |
62
|
| '{' should be on the previous line. |
63
|
| switch without "default" clause. |
66
|
| '(' is followed by whitespace. |
66
|
| ')' is preceded with whitespace. |
66
|
| '{' should be on the previous line. |
67
|
| '(' is followed by whitespace. |
72
|
| ')' is preceded with whitespace. |
72
|
| '3' is a magic number. |
77
|
| '4' is a magic number. |
80
|
| Line has trailing spaces. |
81
|
| '(' is followed by whitespace. |
81
|
| ')' is preceded with whitespace. |
81
|
| '5' is a magic number. |
83
|
| Line has trailing spaces. |
87
|
| Line is longer than 80 characters. |
92
|
| Expected an @return tag. |
94
|
| '{' should be on the previous line. |
95
|
| Line has trailing spaces. |
96
|
| '{' is followed by whitespace. |
96
|
| Method 'getGameName' is not designed for extension - needs to be abstract, final or empty. |
104
|
| Missing a Javadoc comment. |
104
|
| '{' should be on the previous line. |
105
|
| Line has trailing spaces. |
108
|
| Method 'getNumberOfPlayers' is not designed for extension - needs to be abstract, final or empty. |
109
|
| Missing a Javadoc comment. |
109
|
| '{' should be on the previous line. |
110
|
| Line has trailing spaces. |
113
|
| Method 'getServerIPAddress' is not designed for extension - needs to be abstract, final or empty. |
114
|
| Missing a Javadoc comment. |
114
|
| '{' should be on the previous line. |
115
|
| Method 'getPort' is not designed for extension - needs to be abstract, final or empty. |
119
|
| Missing a Javadoc comment. |
119
|
| '{' should be on the previous line. |
120
|
| Line has trailing spaces. |
123
|
| Method 'getConnectionStatus' is not designed for extension - needs to be abstract, final or empty. |
124
|
| Missing a Javadoc comment. |
124
|
| '{' should be on the previous line. |
125
|
| Line has trailing spaces. |
134
|
| Method 'getVersionDetails' is not designed for extension - needs to be abstract, final or empty. |
134
|
| '{' should be on the previous line. |
135
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
139
|
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
139
|
| Missing a Javadoc comment. |
139
|
| '(' is followed by whitespace. |
139
|
| Parameter obj should be final. |
139
|
| ')' is preceded with whitespace. |
139
|
| '{' should be on the previous line. |
140
|
| '(' is followed by whitespace. |
143
|
| ')' is preceded with whitespace. |
143
|
| '{' should be on the previous line. |
144
|
| 'cast' is not followed by whitespace. |
145
|
| '(' is followed by whitespace. |
146
|
| '(' is followed by whitespace. |
146
|
| ')' is preceded with whitespace. |
146
|
| '&&' should be on a new line. |
146
|
| '&&' should be on a new line. |
147
|
| '(' is followed by whitespace. |
148
|
| ')' is preceded with whitespace. |
148
|
| '&&' should be on a new line. |
148
|
| '&&' should be on a new line. |
149
|
| '(' is followed by whitespace. |
150
|
| ')' is preceded with whitespace. |
150
|
| ')' is preceded with whitespace. |
150
|
| '{' should be on the previous line. |
151
|
spellcast/net/VersionDetails.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
7
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
19
|
| '(' is followed by whitespace. |
29
|
| Parameter programName should be final. |
29
|
| 'programName' hides a field. |
29
|
| Parameter majorVersionNumber should be final. |
30
|
| 'majorVersionNumber' hides a field. |
30
|
| Parameter minorVersionNumber should be final. |
31
|
| 'minorVersionNumber' hides a field. |
31
|
| Parameter revisionVersionNumber should be final. |
32
|
| 'revisionVersionNumber' hides a field. |
32
|
| ')' is preceded with whitespace. |
32
|
| Line has trailing spaces. |
33
|
| '{' should be on the previous line. |
34
|
| '(' is followed by whitespace. |
45
|
| Parameter copy should be final. |
45
|
| Expected @param tag for 'copy'. |
45
|
| ')' is preceded with whitespace. |
45
|
| '{' should be on the previous line. |
46
|
| '(' is followed by whitespace. |
47
|
| ')' is preceded with whitespace. |
50
|
| Line is longer than 80 characters. |
55
|
| Expected an @return tag. |
57
|
| Method 'getProgramName' is not designed for extension - needs to be abstract, final or empty. |
57
|
| '{' should be on the previous line. |
58
|
| Line is longer than 80 characters. |
64
|
| Line is longer than 80 characters. |
65
|
| Expected an @return tag. |
67
|
| Method 'getMajorVersionNumber' is not designed for extension - needs to be abstract, final or empty. |
67
|
| '{' should be on the previous line. |
68
|
| Line has trailing spaces. |
71
|
| Line has trailing spaces. |
74
|
| Line is longer than 80 characters. |
74
|
| Line is longer than 80 characters. |
75
|
| Expected an @return tag. |
78
|
| Method 'getMinorVersionNumber' is not designed for extension - needs to be abstract, final or empty. |
78
|
| '{' should be on the previous line. |
79
|
| Line has trailing spaces. |
82
|
| Line has trailing spaces. |
85
|
| Line is longer than 80 characters. |
85
|
| Expected an @return tag. |
90
|
| Method 'getRevisionVersionNumber' is not designed for extension - needs to be abstract, final or empty. |
90
|
| '{' should be on the previous line. |
91
|
| Line has trailing spaces. |
95
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| '{' should be on the previous line. |
96
|
| Line is longer than 80 characters. |
97
|
| '+' should be on a new line. |
97
|
spellcast/net/WizardSocket.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/net/WizardSocket.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
43
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
43
|
| Missing a Javadoc comment. |
45
|
| Parameter programVersionDetails should be final. |
45
|
| 'programVersionDetails' hides a field. |
45
|
| Line has trailing spaces. |
63
|
| Expected an @return tag. |
69
|
| Method 'receive' is not designed for extension - needs to be abstract, final or empty. |
69
|
| '}' should be on the same line. |
80
|
| Line is longer than 80 characters. |
86
|
| '}' should be on the same line. |
117
|
| Must have at least one statement. |
118
|
| Line has trailing spaces. |
125
|
| Line has trailing spaces. |
131
|
| Method 'send' is not designed for extension - needs to be abstract, final or empty. |
135
|
| Parameter e should be final. |
135
|
| Expected @param tag for 'e'. |
135
|
| Expected @throws tag for 'IOException'. |
135
|
| First sentence should end with a period. |
144
|
| Expected an @return tag. |
156
|
| Parameter e should be final. |
156
|
| Expected @param tag for 'e'. |
156
|
| Expected @throws tag for 'IOException'. |
156
|
| Line is longer than 80 characters. |
182
|
| Line has trailing spaces. |
184
|
| Line is longer than 80 characters. |
184
|
| Line is longer than 80 characters. |
186
|
| Expected an @return tag. |
198
|
| Expected @throws tag for 'IOException'. |
198
|
| Line is longer than 80 characters. |
200
|
| 'messageSize' hides a field. |
203
|
| Line is longer than 80 characters. |
205
|
| Line is longer than 80 characters. |
214
|
| '}' should be on the same line. |
223
|
| Line is longer than 80 characters. |
229
|
| '}' should be on the same line. |
250
|
| Line is longer than 80 characters. |
260
|
| Method 'close' is not designed for extension - needs to be abstract, final or empty. |
262
|
| '}' should be on the same line. |
266
|
| Must have at least one statement. |
267
|
| '}' should be on the same line. |
268
|
| '}' should be on the same line. |
276
|
| Must have at least one statement. |
277
|
| '}' should be on the same line. |
278
|
| '}' should be on the same line. |
286
|
| Must have at least one statement. |
287
|
| '}' should be on the same line. |
288
|
| Method 'getSocket' is not designed for extension - needs to be abstract, final or empty. |
300
|
| Method 'setSocket' is not designed for extension - needs to be abstract, final or empty. |
309
|
| Parameter v should be final. |
309
|
| Expected @throws tag for 'IOException'. |
309
|
| Line is longer than 80 characters. |
311
|
| Line is longer than 80 characters. |
312
|
| Method 'getID' is not designed for extension - needs to be abstract, final or empty. |
320
|
| Method 'setID' is not designed for extension - needs to be abstract, final or empty. |
329
|
| Parameter v should be final. |
329
|
| Expected an @return tag. |
338
|
| Method 'isConnected' is not designed for extension - needs to be abstract, final or empty. |
338
|
spellcast/net/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/questions/IQuestion.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/questions/IQuestion.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
spellcast/questions/IRequiresTarget.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
spellcast/questions/Question.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/questions/Question.java
Error | Line |
| Got an exception - expecting EOF, found 'question' |
0
|
spellcast/questions/QuestionType.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
spellcast/questions/SelectTargetQuestion.java
Error | Line |
| Got an exception - expecting EOF, found 'requiresATarget' |
0
|
spellcast/questions/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/server/Main.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/server/Main.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Utility classes should not have a public or default constructor. |
17
|
| Missing a Javadoc comment. |
18
|
| Variable 'logger' must be private and have accessor methods. |
18
|
| Missing a Javadoc comment. |
20
|
| Parameter args should be final. |
20
|
| Missing a Javadoc comment. |
29
|
| Parameter args should be final. |
29
|
spellcast/server/Server.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/server/Server.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
16
|
| Line has trailing spaces. |
17
|
| Class Server should be declared as final. |
21
|
| Missing a Javadoc comment. |
22
|
| Missing a Javadoc comment. |
23
|
| Missing a Javadoc comment. |
24
|
| Missing a Javadoc comment. |
25
|
| Missing a Javadoc comment. |
26
|
| Missing a Javadoc comment. |
27
|
| Missing a Javadoc comment. |
29
|
| Missing a Javadoc comment. |
30
|
| Name 'programVersionDetails' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
30
|
| Missing a Javadoc comment. |
33
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
33
|
| Missing a Javadoc comment. |
35
|
| Parameter bindAddress should be final. |
35
|
| 'bindAddress' hides a field. |
35
|
| Parameter port should be final. |
35
|
| 'port' hides a field. |
35
|
| Parameter gameName should be final. |
35
|
| Missing a Javadoc comment. |
43
|
| Parameter bindAddress should be final. |
44
|
| Parameter port should be final. |
45
|
| Parameter gameName should be final. |
46
|
| Missing a Javadoc comment. |
52
|
| Missing a Javadoc comment. |
56
|
| Parameter gameName should be final. |
56
|
| Line is longer than 80 characters. |
59
|
| Missing a Javadoc comment. |
64
|
| Missing a Javadoc comment. |
80
|
spellcast/server/ServerConnectionHandler.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/server/ServerConnectionHandler.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Missing a Javadoc comment. |
43
|
| Name 'DEFAULT_LIST_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| '10' is a magic number. |
43
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
49
|
| Missing a Javadoc comment. |
50
|
| Missing a Javadoc comment. |
52
|
| Line is longer than 80 characters. |
55
|
| Missing a Javadoc comment. |
59
|
| First sentence should end with a period. |
61
|
| Missing a Javadoc comment. |
71
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
71
|
| Line is longer than 80 characters. |
72
|
| Missing a Javadoc comment. |
72
|
| Name 'logger_net' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
72
|
| Missing a Javadoc comment. |
74
|
| Parameter programVersionDetails should be final. |
75
|
| 'programVersionDetails' hides a field. |
75
|
| Parameter bindAddress should be final. |
76
|
| 'bindAddress' hides a field. |
76
|
| Parameter port should be final. |
77
|
| 'port' hides a field. |
77
|
| Line has trailing spaces. |
85
|
| Parameter e should be final. |
88
|
| Expected @param tag for 'e'. |
88
|
| Line has trailing spaces. |
98
|
| Line is longer than 80 characters. |
98
|
| Expected an @return tag. |
101
|
| Method 'receive' is not designed for extension - needs to be abstract, final or empty. |
101
|
| '}' should be on the same line. |
106
|
| Line is longer than 80 characters. |
123
|
| Method 'send' is not designed for extension - needs to be abstract, final or empty. |
125
|
| Parameter client should be final. |
125
|
| Expected @param tag for 'client'. |
125
|
| Parameter event should be final. |
125
|
| Expected @param tag for 'event'. |
125
|
| '}' should be on the same line. |
130
|
| Line is longer than 80 characters. |
133
|
| Line is longer than 80 characters. |
136
|
| Method 'sendToAll' is not designed for extension - needs to be abstract, final or empty. |
146
|
| Parameter e should be final. |
146
|
| Expected @param tag for 'e'. |
146
|
| Line has trailing spaces. |
157
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
167
|
| Line has trailing spaces. |
177
|
| Line is longer than 80 characters. |
179
|
| Line is longer than 80 characters. |
189
|
| '}' should be on the same line. |
190
|
| Must have at least one statement. |
191
|
| '}' should be on the same line. |
193
|
| '}' should be on the same line. |
213
|
| Line is longer than 80 characters. |
216
|
| Line is longer than 80 characters. |
219
|
| Method 'connect' is not designed for extension - needs to be abstract, final or empty. |
229
|
| Parameter handle should be final. |
229
|
| Expected @param tag for 'handle'. |
229
|
| Parameter client should be final. |
229
|
| Expected @param tag for 'client'. |
229
|
| Method 'disconnect' is not designed for extension - needs to be abstract, final or empty. |
237
|
| Parameter handle should be final. |
237
|
| Expected @param tag for 'handle'. |
237
|
| Parameter client should be final. |
250
|
| Line is longer than 80 characters. |
265
|
| Line has trailing spaces. |
274
|
| Line is longer than 80 characters. |
275
|
| Method 'start' is not designed for extension - needs to be abstract, final or empty. |
277
|
| '}' should be on the same line. |
290
|
| Line has trailing spaces. |
297
|
| Line has trailing spaces. |
298
|
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. |
301
|
| '}' should be on the same line. |
305
|
| First sentence should end with a period. |
312
|
| '}' should be on the same line. |
319
|
spellcast/server/ServerException.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - io.*. |
7
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| '(' is followed by whitespace. |
16
|
| Parameter e should be final. |
16
|
| ')' is preceded with whitespace. |
16
|
| '{' should be on the previous line. |
17
|
| '(' is followed by whitespace. |
18
|
| ')' is preceded with whitespace. |
18
|
| Missing a Javadoc comment. |
21
|
| '(' is followed by whitespace. |
21
|
| Parameter s should be final. |
21
|
| ')' is preceded with whitespace. |
21
|
| '{' should be on the previous line. |
22
|
| '(' is followed by whitespace. |
23
|
| ')' is preceded with whitespace. |
23
|
spellcast/server/ServerStatusRequestHandler.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/server/ServerStatusRequestHandler.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
21
|
| Line is longer than 80 characters. |
24
|
| '10' is a magic number. |
33
|
| '1000' is a magic number. |
33
|
| Missing a Javadoc comment. |
41
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
41
|
| Line is longer than 80 characters. |
42
|
| Missing a Javadoc comment. |
42
|
| Name 'logger_net' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
42
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
48
|
| Parameter message should be final. |
54
|
| Expected @param tag for 'message'. |
54
|
| '}' should be on the same line. |
76
|
| Line has trailing spaces. |
83
|
| Line has trailing spaces. |
84
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
89
|
| Line is longer than 80 characters. |
90
|
| '}' should be on the same line. |
96
|
| Must have at least one statement. |
97
|
| '}' should be on the same line. |
99
|
| Line has trailing spaces. |
109
|
| Line is longer than 80 characters. |
110
|
| Method 'start' is not designed for extension - needs to be abstract, final or empty. |
112
|
| '}' should be on the same line. |
128
|
| Line has trailing spaces. |
135
|
| Line has trailing spaces. |
136
|
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. |
139
|
| '}' should be on the same line. |
143
|
| First sentence should end with a period. |
150
|
spellcast/server/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/spell/ISpell.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/spell/ISpell.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
36
|
spellcast/spell/ShieldSpell.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/spell/ShieldSpell.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' is followed by whitespace. |
23
|
spellcast/spell/SpellImpl.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/spell/SpellImpl.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Parameter theDescription should be final. |
43
|
spellcast/spell/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/test/PropertyChangeListenerTester.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
49
|
| 'cast' is not followed by whitespace. |
53
|
| Line is longer than 80 characters. |
59
|
| Missing a Javadoc comment. |
63
|
| Line is longer than 80 characters. |
64
|
| 'cast' is not followed by whitespace. |
64
|
| '}' should be on the same line. |
67
|
spellcast/test/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/ui/AvailableServerListUpdater.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/AvailableServerListUpdater.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
23
|
| '1000' is a magic number. |
35
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
50
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
50
|
| Line is longer than 80 characters. |
51
|
| Missing a Javadoc comment. |
51
|
| Name 'logger_net' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
51
|
| Missing a Javadoc comment. |
53
|
| Parameter serverList should be final. |
53
|
| 'serverList' hides a field. |
53
|
| '100' is a magic number. |
58
|
| '}' should be on the same line. |
59
|
| Line is longer than 80 characters. |
62
|
| Missing a Javadoc comment. |
67
|
| '}' should be on the same line. |
72
|
| Missing a Javadoc comment. |
79
|
| Missing a Javadoc comment. |
86
|
| Missing a Javadoc comment. |
90
|
| Line is longer than 80 characters. |
111
|
| Line is longer than 80 characters. |
116
|
| Line is longer than 80 characters. |
117
|
| Line is longer than 80 characters. |
123
|
| '}' should be on the same line. |
138
|
| Line has trailing spaces. |
145
|
| Expected an @return tag. |
148
|
| '}' should be on the same line. |
158
|
| '}' should be on the same line. |
161
|
| Line is longer than 80 characters. |
169
|
| Line is longer than 80 characters. |
172
|
| '}' should be on the same line. |
173
|
| '}' should be on the same line. |
177
|
| Line has trailing spaces. |
188
|
| Line is longer than 80 characters. |
190
|
| Missing a Javadoc comment. |
194
|
| Missing a Javadoc comment. |
195
|
| Line is longer than 80 characters. |
197
|
| Missing a Javadoc comment. |
197
|
| Parameter serverList should be final. |
197
|
| 'serverList' hides a field. |
197
|
| Parameter newServers should be final. |
197
|
| 'newServers' hides a field. |
197
|
| Missing a Javadoc comment. |
202
|
spellcast/ui/ConnectToServerEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
12
|
| '{' should be on the previous line. |
13
|
| Missing a Javadoc comment. |
14
|
| Missing a Javadoc comment. |
15
|
| Missing a Javadoc comment. |
16
|
| Line is longer than 80 characters. |
18
|
| Missing a Javadoc comment. |
18
|
| '(' is followed by whitespace. |
18
|
| Parameter serverAddress should be final. |
18
|
| 'serverAddress' hides a field. |
18
|
| Parameter wizardName should be final. |
18
|
| 'wizardName' hides a field. |
18
|
| Parameter gender should be final. |
18
|
| 'gender' hides a field. |
18
|
| ')' is preceded with whitespace. |
18
|
| Line has trailing spaces. |
30
|
| Method 'getServerAddress' is not designed for extension - needs to be abstract, final or empty. |
30
|
| '{' should be on the previous line. |
31
|
| Line has trailing spaces. |
40
|
| Method 'getWizardName' is not designed for extension - needs to be abstract, final or empty. |
40
|
| '{' should be on the previous line. |
41
|
| Line has trailing spaces. |
50
|
| Method 'getGender' is not designed for extension - needs to be abstract, final or empty. |
50
|
| '{' should be on the previous line. |
51
|
spellcast/ui/ConnectionDialog.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/ConnectionDialog.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Line is longer than 80 characters. |
41
|
| Line is longer than 80 characters. |
43
|
| Line is longer than 80 characters. |
44
|
| Line is longer than 80 characters. |
47
|
| Line has trailing spaces. |
48
|
| Line is longer than 80 characters. |
48
|
| Line is longer than 80 characters. |
49
|
| Line is longer than 80 characters. |
54
|
| Missing a Javadoc comment. |
61
|
| Missing a Javadoc comment. |
62
|
| Missing a Javadoc comment. |
63
|
| Missing a Javadoc comment. |
64
|
| Missing a Javadoc comment. |
65
|
| Missing a Javadoc comment. |
66
|
| Missing a Javadoc comment. |
67
|
| Missing a Javadoc comment. |
68
|
| Missing a Javadoc comment. |
70
|
| Missing a Javadoc comment. |
72
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
72
|
| Missing a Javadoc comment. |
74
|
| Method 'addPropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Missing a Javadoc comment. |
87
|
| Parameter listener should be final. |
87
|
| Method 'removePropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
91
|
| Missing a Javadoc comment. |
91
|
| Parameter listener should be final. |
91
|
| First sentence should end with a period. |
95
|
| Method 'setVisible' is not designed for extension - needs to be abstract, final or empty. |
109
|
| Missing a Javadoc comment. |
109
|
| Parameter isVisible should be final. |
109
|
| Line is longer than 80 characters. |
115
|
| '}' should be on the same line. |
131
|
| Missing a Javadoc comment. |
137
|
| '4' is a magic number. |
143
|
| '4' is a magic number. |
143
|
| '4' is a magic number. |
143
|
| '4' is a magic number. |
143
|
| Parameter e should be final. |
156
|
| Parameter e should be final. |
166
|
| Line is longer than 80 characters. |
167
|
| Parameter e should be final. |
176
|
| Missing a Javadoc comment. |
186
|
| '4' is a magic number. |
188
|
| '4' is a magic number. |
188
|
| '4' is a magic number. |
188
|
| '4' is a magic number. |
188
|
| '4' is a magic number. |
194
|
| '4' is a magic number. |
194
|
| '4' is a magic number. |
194
|
| '4' is a magic number. |
194
|
| '12' is a magic number. |
213
|
| Parameter e should be final. |
215
|
| Parameter e should be final. |
238
|
| Line is longer than 80 characters. |
243
|
| Line is longer than 80 characters. |
248
|
| '350' is a magic number. |
248
|
| '75' is a magic number. |
248
|
| Line is longer than 80 characters. |
250
|
| Parameter value should be final. |
251
|
| Missing a Javadoc comment. |
276
|
| Parameter e should be final. |
278
|
| Parameter e should be final. |
282
|
| '}' should be on the same line. |
285
|
| Parameter e should be final. |
291
|
| '}' should be on the same line. |
294
|
| Missing a Javadoc comment. |
302
|
spellcast/ui/GestureButton.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - java.awt.event.*. |
8
|
| Using the '.*' form of import should be avoided - java.util.*. |
9
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
10
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
11
|
| Using the '.*' form of import should be avoided - ui.*. |
12
|
| Line is longer than 80 characters. |
16
|
| Line is longer than 80 characters. |
17
|
| Line is longer than 80 characters. |
18
|
| Line is longer than 80 characters. |
19
|
| Line is longer than 80 characters. |
20
|
| Line is longer than 80 characters. |
23
|
| Line has trailing spaces. |
25
|
| '{' should be on the previous line. |
29
|
| Missing a Javadoc comment. |
30
|
| Missing a Javadoc comment. |
31
|
| '(' is followed by whitespace. |
31
|
| ')' is preceded with whitespace. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Line is longer than 80 characters. |
37
|
| Line is longer than 80 characters. |
39
|
| '(' is followed by whitespace. |
42
|
| Parameter hand should be final. |
42
|
| 'hand' hides a field. |
42
|
| ')' is preceded with whitespace. |
42
|
| '{' should be on the previous line. |
43
|
| '(' is followed by whitespace. |
44
|
| ')' is preceded with whitespace. |
44
|
| Line has trailing spaces. |
46
|
| Line has trailing spaces. |
48
|
| Line is longer than 80 characters. |
48
|
| Line is longer than 80 characters. |
51
|
| '(' is followed by whitespace. |
55
|
| Parameter hand should be final. |
55
|
| 'hand' hides a field. |
55
|
| Parameter useImages should be final. |
55
|
| 'useImages' hides a field. |
55
|
| ')' is preceded with whitespace. |
55
|
| '{' should be on the previous line. |
56
|
| '(' is followed by whitespace. |
59
|
| ')' is preceded with whitespace. |
59
|
| Line has trailing spaces. |
60
|
| '(' is followed by whitespace. |
61
|
| ')' is preceded with whitespace. |
61
|
| '(' is followed by whitespace. |
62
|
| ')' is preceded with whitespace. |
62
|
| '(' is followed by whitespace. |
63
|
| ')' is preceded with whitespace. |
63
|
| '(' is followed by whitespace. |
64
|
| ')' is preceded with whitespace. |
64
|
| '(' is followed by whitespace. |
65
|
| ')' is preceded with whitespace. |
65
|
| '(' is followed by whitespace. |
67
|
| ')' is preceded with whitespace. |
67
|
| '{' should be on the previous line. |
68
|
| '}' should be on the same line. |
70
|
| '(' is followed by whitespace. |
71
|
| ')' is preceded with whitespace. |
71
|
| '{' should be on the previous line. |
72
|
| '}' should be on the same line. |
74
|
| '{' should be on the previous line. |
76
|
| Line is longer than 80 characters. |
77
|
| '(' is followed by whitespace. |
77
|
| ')' is preceded with whitespace. |
77
|
| '(' is followed by whitespace. |
80
|
| '(' is followed by whitespace. |
82
|
| Parameter g should be final. |
82
|
| ')' is preceded with whitespace. |
82
|
| '{' should be on the previous line. |
83
|
| '(' is followed by whitespace. |
85
|
| ')' is preceded with whitespace. |
85
|
| '{' should be on the previous line. |
86
|
| '(' is followed by whitespace. |
87
|
| ')' is preceded with whitespace. |
87
|
| '(' is followed by whitespace. |
90
|
| ')' is preceded with whitespace. |
90
|
| '{' should be on the previous line. |
91
|
| 'cast' is not followed by whitespace. |
92
|
| '(' is followed by whitespace. |
93
|
| ')' is preceded with whitespace. |
93
|
| '(' is followed by whitespace. |
95
|
| ')' is preceded with whitespace. |
95
|
| Method 'getGesture' is not designed for extension - needs to be abstract, final or empty. |
101
|
| Missing a Javadoc comment. |
101
|
| '{' should be on the previous line. |
102
|
| Method 'setGesture' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Missing a Javadoc comment. |
106
|
| '(' is followed by whitespace. |
106
|
| Parameter newGesture should be final. |
106
|
| ')' is preceded with whitespace. |
106
|
| '{' should be on the previous line. |
107
|
| '(' is followed by whitespace. |
109
|
| ')' is preceded with whitespace. |
109
|
| '{' should be on the previous line. |
110
|
| '(' is followed by whitespace. |
111
|
| '(' is followed by whitespace. |
111
|
| ')' is preceded with whitespace. |
111
|
| ')' is preceded with whitespace. |
111
|
| '}' should be on the same line. |
112
|
| '{' should be on the previous line. |
114
|
| '(' is followed by whitespace. |
115
|
| ')' is preceded with whitespace. |
115
|
| Line has trailing spaces. |
119
|
| Method 'addGestureListener' is not designed for extension - needs to be abstract, final or empty. |
120
|
| Missing a Javadoc comment. |
120
|
| '(' is followed by whitespace. |
120
|
| Parameter l should be final. |
120
|
| ')' is preceded with whitespace. |
120
|
| '{' should be on the previous line. |
121
|
| '(' is followed by whitespace. |
122
|
| '!' is followed by whitespace. |
122
|
| '(' is followed by whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| '{' should be on the previous line. |
123
|
| '(' is followed by whitespace. |
124
|
| ')' is preceded with whitespace. |
124
|
| Method 'removeGestureListener' is not designed for extension - needs to be abstract, final or empty. |
128
|
| Missing a Javadoc comment. |
128
|
| '(' is followed by whitespace. |
128
|
| Parameter l should be final. |
128
|
| ')' is preceded with whitespace. |
128
|
| '{' should be on the previous line. |
129
|
| '(' is followed by whitespace. |
130
|
| ')' is preceded with whitespace. |
130
|
| Missing a Javadoc comment. |
133
|
| '{' should be on the previous line. |
134
|
| '(' is followed by whitespace. |
141
|
| Parameter e should be final. |
141
|
| Expected @param tag for 'e'. |
141
|
| ')' is preceded with whitespace. |
141
|
| '{' should be on the previous line. |
142
|
| 'cast' is not followed by whitespace. |
143
|
| '(' is followed by whitespace. |
145
|
| ')' is preceded with whitespace. |
145
|
| '{' should be on the previous line. |
146
|
| '(' is followed by whitespace. |
147
|
| ')' is preceded with whitespace. |
147
|
| '(' is followed by whitespace. |
148
|
| ')' is preceded with whitespace. |
148
|
| '(' is followed by whitespace. |
149
|
| ')' is preceded with whitespace. |
149
|
| '(' is followed by whitespace. |
150
|
| ')' is preceded with whitespace. |
150
|
spellcast/ui/GestureHistoryCellRenderer.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
8
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
9
|
| '{' should be on the previous line. |
20
|
| Missing a Javadoc comment. |
21
|
| Variable 'hand' must be private and have accessor methods. |
21
|
| Line has trailing spaces. |
26
|
| '(' is followed by whitespace. |
29
|
| Parameter hand should be final. |
29
|
| 'hand' hides a field. |
29
|
| ')' is preceded with whitespace. |
29
|
| '{' should be on the previous line. |
30
|
| '(' is followed by whitespace. |
32
|
| '(' is followed by whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| Line has trailing spaces. |
36
|
| Expected an @return tag. |
38
|
| Method 'getListCellRendererComponent' is not designed for extension - needs to be abstract, final or empty. |
38
|
| '(' is followed by whitespace. |
38
|
| Parameter list should be final. |
38
|
| Expected @param tag for 'list'. |
38
|
| Line has trailing spaces. |
39
|
| Parameter value should be final. |
39
|
| Expected @param tag for 'value'. |
39
|
| Parameter index should be final. |
40
|
| Expected @param tag for 'index'. |
40
|
| Parameter isSelected should be final. |
41
|
| Expected @param tag for 'isSelected'. |
41
|
| Parameter cellHasFocus should be final. |
42
|
| Expected @param tag for 'cellHasFocus'. |
42
|
| ')' is preceded with whitespace. |
42
|
| '{' should be on the previous line. |
43
|
| '(' is followed by whitespace. |
44
|
| '!' is followed by whitespace. |
44
|
| '(' is followed by whitespace. |
44
|
| ')' is preceded with whitespace. |
44
|
| ')' is preceded with whitespace. |
44
|
| '{' should be on the previous line. |
45
|
| Line has trailing spaces. |
46
|
| Line is longer than 80 characters. |
46
|
| '(' is followed by whitespace. |
46
|
| '+' should be on a new line. |
46
|
| Line is longer than 80 characters. |
47
|
| ')' is preceded with whitespace. |
47
|
| 'cast' is not followed by whitespace. |
49
|
| '(' is followed by whitespace. |
50
|
| '(' is followed by whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
spellcast/ui/GestureIcon.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Using the '.*' form of import should be avoided - io.*. |
7
|
| Using the '.*' form of import should be avoided - java.awt.*. |
8
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
9
|
| Using the '.*' form of import should be avoided - java.io.*. |
10
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
11
|
| Line has trailing spaces. |
15
|
| Utility classes should not have a public or default constructor. |
19
|
| '{' should be on the previous line. |
20
|
| Name 'LEFT_HANDED' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
24
|
| Variable 'LEFT_HANDED' must be private and have accessor methods. |
24
|
| Line has trailing spaces. |
25
|
| Name 'RIGHT_HANDED' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
29
|
| Variable 'RIGHT_HANDED' must be private and have accessor methods. |
29
|
| Missing a Javadoc comment. |
31
|
| Missing a Javadoc comment. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
49
|
| Name 'GESTURE_WIDTH' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
49
|
| '48' is a magic number. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'GESTURE_HEIGHT' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
50
|
| '48' is a magic number. |
50
|
| Missing a Javadoc comment. |
51
|
| Name 'GESTURE_SCALE_HINTS' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
51
|
| Missing a Javadoc comment. |
53
|
| '{' should be on the previous line. |
54
|
| '(' is followed by whitespace. |
55
|
| ')' is preceded with whitespace. |
55
|
| '{' should be on the previous line. |
56
|
| '(' is followed by whitespace. |
57
|
| ')' is preceded with whitespace. |
57
|
| Missing a Javadoc comment. |
62
|
| '{' should be on the previous line. |
63
|
| '(' is followed by whitespace. |
64
|
| ')' is preceded with whitespace. |
64
|
| '{' should be on the previous line. |
65
|
| Line is longer than 80 characters. |
66
|
| '(' is followed by whitespace. |
66
|
| ')' is preceded with whitespace. |
66
|
| Missing a Javadoc comment. |
71
|
| '{' should be on the previous line. |
72
|
| '(' is followed by whitespace. |
73
|
| ')' is preceded with whitespace. |
73
|
| '{' should be on the previous line. |
74
|
| Line is longer than 80 characters. |
75
|
| '(' is followed by whitespace. |
75
|
| ')' is preceded with whitespace. |
75
|
| Missing a Javadoc comment. |
80
|
| '{' should be on the previous line. |
81
|
| '(' is followed by whitespace. |
82
|
| ')' is preceded with whitespace. |
82
|
| '{' should be on the previous line. |
83
|
| Line is longer than 80 characters. |
84
|
| '(' is followed by whitespace. |
84
|
| ')' is preceded with whitespace. |
84
|
| Missing a Javadoc comment. |
89
|
| '{' should be on the previous line. |
90
|
| Line has trailing spaces. |
91
|
| '(' is followed by whitespace. |
91
|
| ')' is preceded with whitespace. |
91
|
| '{' should be on the previous line. |
92
|
| Line is longer than 80 characters. |
93
|
| '(' is followed by whitespace. |
93
|
| ')' is preceded with whitespace. |
93
|
| Missing a Javadoc comment. |
98
|
| '{' should be on the previous line. |
99
|
| '(' is followed by whitespace. |
100
|
| ')' is preceded with whitespace. |
100
|
| '{' should be on the previous line. |
101
|
| '(' is followed by whitespace. |
102
|
| ')' is preceded with whitespace. |
102
|
| Missing a Javadoc comment. |
107
|
| '{' should be on the previous line. |
108
|
| '(' is followed by whitespace. |
109
|
| ')' is preceded with whitespace. |
109
|
| '{' should be on the previous line. |
110
|
| Line is longer than 80 characters. |
111
|
| '(' is followed by whitespace. |
111
|
| ')' is preceded with whitespace. |
111
|
| Missing a Javadoc comment. |
116
|
| '{' should be on the previous line. |
117
|
| '(' is followed by whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| '{' should be on the previous line. |
119
|
| Line is longer than 80 characters. |
120
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| Missing a Javadoc comment. |
125
|
| '{' should be on the previous line. |
126
|
| '(' is followed by whitespace. |
127
|
| ')' is preceded with whitespace. |
127
|
| '{' should be on the previous line. |
128
|
| '(' is followed by whitespace. |
129
|
| ')' is preceded with whitespace. |
129
|
| Missing a Javadoc comment. |
134
|
| '{' should be on the previous line. |
135
|
| '(' is followed by whitespace. |
136
|
| ')' is preceded with whitespace. |
136
|
| '{' should be on the previous line. |
137
|
| Line is longer than 80 characters. |
138
|
| '(' is followed by whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|
| Missing a Javadoc comment. |
143
|
| '{' should be on the previous line. |
144
|
| '(' is followed by whitespace. |
145
|
| ')' is preceded with whitespace. |
145
|
| '{' should be on the previous line. |
146
|
| Line is longer than 80 characters. |
147
|
| '(' is followed by whitespace. |
147
|
| ')' is preceded with whitespace. |
147
|
| Missing a Javadoc comment. |
152
|
| '{' should be on the previous line. |
153
|
| '(' is followed by whitespace. |
154
|
| ')' is preceded with whitespace. |
154
|
| '{' should be on the previous line. |
155
|
| Line is longer than 80 characters. |
156
|
| '(' is followed by whitespace. |
156
|
| ')' is preceded with whitespace. |
156
|
| Missing a Javadoc comment. |
161
|
| '{' should be on the previous line. |
162
|
| '(' is followed by whitespace. |
163
|
| ')' is preceded with whitespace. |
163
|
| '{' should be on the previous line. |
164
|
| Line is longer than 80 characters. |
165
|
| '(' is followed by whitespace. |
165
|
| ')' is preceded with whitespace. |
165
|
| Missing a Javadoc comment. |
170
|
| '{' should be on the previous line. |
171
|
| '(' is followed by whitespace. |
172
|
| ')' is preceded with whitespace. |
172
|
| '{' should be on the previous line. |
173
|
| Line is longer than 80 characters. |
174
|
| '(' is followed by whitespace. |
174
|
| ')' is preceded with whitespace. |
174
|
| Missing a Javadoc comment. |
179
|
| '{' should be on the previous line. |
180
|
| '(' is followed by whitespace. |
181
|
| ')' is preceded with whitespace. |
181
|
| '{' should be on the previous line. |
182
|
| Line is longer than 80 characters. |
183
|
| '(' is followed by whitespace. |
183
|
| ')' is preceded with whitespace. |
183
|
| Missing a Javadoc comment. |
188
|
| '{' should be on the previous line. |
189
|
| '(' is followed by whitespace. |
190
|
| ')' is preceded with whitespace. |
190
|
| '{' should be on the previous line. |
191
|
| Line is longer than 80 characters. |
192
|
| '(' is followed by whitespace. |
192
|
| ')' is preceded with whitespace. |
192
|
| Missing a Javadoc comment. |
197
|
| '{' should be on the previous line. |
198
|
| '(' is followed by whitespace. |
199
|
| ')' is preceded with whitespace. |
199
|
| '{' should be on the previous line. |
200
|
| Line is longer than 80 characters. |
201
|
| '(' is followed by whitespace. |
201
|
| ')' is preceded with whitespace. |
201
|
| Missing a Javadoc comment. |
206
|
| '(' is followed by whitespace. |
206
|
| Parameter imageName should be final. |
206
|
| ')' is preceded with whitespace. |
206
|
| '{' should be on the previous line. |
207
|
| '(' is followed by whitespace. |
208
|
| ')' is preceded with whitespace. |
208
|
| '(' is followed by whitespace. |
209
|
| ')' is preceded with whitespace. |
209
|
| '(' is followed by whitespace. |
210
|
| ')' is preceded with whitespace. |
210
|
| '(' is followed by whitespace. |
211
|
| ')' is preceded with whitespace. |
211
|
| '{' should be on the previous line. |
213
|
| '(' is followed by whitespace. |
215
|
| ')' is preceded with whitespace. |
215
|
| '{' should be on the previous line. |
216
|
| '(' is followed by whitespace. |
217
|
| ')' is preceded with whitespace. |
217
|
| '}' should be on the same line. |
219
|
| '(' is followed by whitespace. |
220
|
| ')' is preceded with whitespace. |
220
|
| '{' should be on the previous line. |
221
|
| '(' is followed by whitespace. |
222
|
| ')' is preceded with whitespace. |
222
|
| '(' is followed by whitespace. |
224
|
| ')' is preceded with whitespace. |
224
|
| Line is longer than 80 characters. |
225
|
| '(' is followed by whitespace. |
225
|
| ')' is preceded with whitespace. |
225
|
| '(' is followed by whitespace. |
226
|
| ')' is preceded with whitespace. |
226
|
| '{' should be on the previous line. |
228
|
| '(' is followed by whitespace. |
230
|
| ')' is preceded with whitespace. |
230
|
| '{' should be on the previous line. |
231
|
| '(' is followed by whitespace. |
232
|
| ')' is preceded with whitespace. |
232
|
| '}' should be on the same line. |
234
|
| '(' is followed by whitespace. |
235
|
| ')' is preceded with whitespace. |
235
|
| '{' should be on the previous line. |
236
|
| '(' is followed by whitespace. |
237
|
| ')' is preceded with whitespace. |
237
|
| '(' is followed by whitespace. |
239
|
| ')' is preceded with whitespace. |
239
|
| '(' is followed by whitespace. |
240
|
| ')' is preceded with whitespace. |
240
|
| Missing a Javadoc comment. |
244
|
| '(' is followed by whitespace. |
244
|
| Parameter imageName should be final. |
244
|
| ')' is preceded with whitespace. |
244
|
| '{' should be on the previous line. |
245
|
| Line is longer than 80 characters. |
247
|
| '(' is followed by whitespace. |
247
|
| ')' is preceded with whitespace. |
247
|
| '(' is followed by whitespace. |
248
|
| ')' is preceded with whitespace. |
248
|
| '{' should be on the previous line. |
249
|
| Line is longer than 80 characters. |
250
|
| '(' is followed by whitespace. |
250
|
| ')' is preceded with whitespace. |
250
|
| '{' should be on the previous line. |
253
|
| '(' is followed by whitespace. |
254
|
| ')' is preceded with whitespace. |
254
|
| '}' should be on the same line. |
255
|
| '(' is followed by whitespace. |
256
|
| ')' is preceded with whitespace. |
256
|
| '{' should be on the previous line. |
257
|
| Line is longer than 80 characters. |
258
|
| '(' is followed by whitespace. |
258
|
| '+' should be on a new line. |
258
|
| ')' is preceded with whitespace. |
259
|
| '}' should be on the same line. |
260
|
| '{' should be on the previous line. |
262
|
| '{' should be on the previous line. |
264
|
| '}' should be on the same line. |
266
|
| '(' is followed by whitespace. |
267
|
| ')' is preceded with whitespace. |
267
|
| '{' should be on the previous line. |
268
|
| Must have at least one statement. |
268
|
| Missing a Javadoc comment. |
274
|
| '(' is followed by whitespace. |
274
|
| Parameter g should be final. |
274
|
| Parameter hand should be final. |
274
|
| ')' is preceded with whitespace. |
274
|
| '{' should be on the previous line. |
275
|
| '(' is followed by whitespace. |
278
|
| ')' is preceded with whitespace. |
278
|
| '{' should be on the previous line. |
279
|
| Line is longer than 80 characters. |
280
|
| '(' is followed by whitespace. |
280
|
| ')' is preceded with whitespace. |
280
|
| '(' is followed by whitespace. |
283
|
| '(' is followed by whitespace. |
283
|
| ')' is preceded with whitespace. |
283
|
| ')' is preceded with whitespace. |
283
|
| '{' should be on the previous line. |
284
|
| '}' should be on the same line. |
286
|
| '(' is followed by whitespace. |
287
|
| '(' is followed by whitespace. |
287
|
| ')' is preceded with whitespace. |
287
|
| ')' is preceded with whitespace. |
287
|
| '{' should be on the previous line. |
288
|
| '(' is followed by whitespace. |
289
|
| ')' is preceded with whitespace. |
289
|
| '{' should be on the previous line. |
290
|
| '}' should be on the same line. |
292
|
| '{' should be on the previous line. |
294
|
| '}' should be on the same line. |
297
|
| '(' is followed by whitespace. |
298
|
| '(' is followed by whitespace. |
298
|
| ')' is preceded with whitespace. |
298
|
| ')' is preceded with whitespace. |
298
|
| '{' should be on the previous line. |
299
|
| '(' is followed by whitespace. |
300
|
| ')' is preceded with whitespace. |
300
|
| '{' should be on the previous line. |
301
|
| '}' should be on the same line. |
303
|
| '{' should be on the previous line. |
305
|
| '}' should be on the same line. |
308
|
| '(' is followed by whitespace. |
309
|
| '(' is followed by whitespace. |
309
|
| ')' is preceded with whitespace. |
309
|
| ')' is preceded with whitespace. |
309
|
| '{' should be on the previous line. |
310
|
| '(' is followed by whitespace. |
311
|
| ')' is preceded with whitespace. |
311
|
| '{' should be on the previous line. |
312
|
| '}' should be on the same line. |
314
|
| '{' should be on the previous line. |
316
|
| '}' should be on the same line. |
319
|
| '(' is followed by whitespace. |
320
|
| '(' is followed by whitespace. |
320
|
| ')' is preceded with whitespace. |
320
|
| ')' is preceded with whitespace. |
320
|
| '{' should be on the previous line. |
321
|
| '(' is followed by whitespace. |
322
|
| ')' is preceded with whitespace. |
322
|
| '{' should be on the previous line. |
323
|
| '}' should be on the same line. |
325
|
| '{' should be on the previous line. |
327
|
| '}' should be on the same line. |
330
|
| '(' is followed by whitespace. |
331
|
| '(' is followed by whitespace. |
331
|
| ')' is preceded with whitespace. |
331
|
| ')' is preceded with whitespace. |
331
|
| '{' should be on the previous line. |
332
|
| '(' is followed by whitespace. |
333
|
| ')' is preceded with whitespace. |
333
|
| '{' should be on the previous line. |
334
|
| '}' should be on the same line. |
336
|
| '{' should be on the previous line. |
338
|
| '}' should be on the same line. |
341
|
| '(' is followed by whitespace. |
342
|
| '(' is followed by whitespace. |
342
|
| ')' is preceded with whitespace. |
342
|
| ')' is preceded with whitespace. |
342
|
| '{' should be on the previous line. |
343
|
| '(' is followed by whitespace. |
344
|
| ')' is preceded with whitespace. |
344
|
| '{' should be on the previous line. |
345
|
| '}' should be on the same line. |
347
|
| '{' should be on the previous line. |
349
|
| '}' should be on the same line. |
352
|
| '(' is followed by whitespace. |
353
|
| '(' is followed by whitespace. |
353
|
| ')' is preceded with whitespace. |
353
|
| ')' is preceded with whitespace. |
353
|
| '{' should be on the previous line. |
354
|
| '(' is followed by whitespace. |
355
|
| ')' is preceded with whitespace. |
355
|
| '{' should be on the previous line. |
356
|
| '}' should be on the same line. |
358
|
| '{' should be on the previous line. |
360
|
| '}' should be on the same line. |
363
|
| '{' should be on the previous line. |
365
|
| Line is longer than 80 characters. |
366
|
| '(' is followed by whitespace. |
366
|
| ')' is preceded with whitespace. |
366
|
| Line has trailing spaces. |
368
|
spellcast/ui/GestureListener.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
7
|
| '{' should be on the previous line. |
17
|
| Redundant 'public' modifier. |
22
|
| '(' is followed by whitespace. |
22
|
| ')' is preceded with whitespace. |
22
|
spellcast/ui/GestureMenuItemUI.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
8
|
| Line has trailing spaces. |
12
|
| Line has trailing spaces. |
15
|
| Line has trailing spaces. |
19
|
| '{' should be on the previous line. |
20
|
| Line is longer than 80 characters. |
22
|
| Expected an @return tag. |
24
|
| Method 'getPropertyPrefix' is not designed for extension - needs to be abstract, final or empty. |
24
|
| Line has trailing spaces. |
27
|
| Expected an @return tag. |
31
|
| Line has trailing spaces. |
31
|
| Method 'getMinimumSize' is not designed for extension - needs to be abstract, final or empty. |
31
|
| '(' is followed by whitespace. |
31
|
| Parameter c should be final. |
31
|
| Expected @param tag for 'c'. |
31
|
| ')' is preceded with whitespace. |
31
|
| '{' should be on the previous line. |
32
|
| Line contains a tab character. |
33
|
| '(' is followed by whitespace. |
33
|
| ')' is preceded with whitespace. |
33
|
| Expected an @return tag. |
39
|
| Line has trailing spaces. |
39
|
| Method 'getMaximumSize' is not designed for extension - needs to be abstract, final or empty. |
39
|
| '(' is followed by whitespace. |
39
|
| Parameter c should be final. |
39
|
| Expected @param tag for 'c'. |
39
|
| ')' is preceded with whitespace. |
39
|
| '{' should be on the previous line. |
40
|
| '(' is followed by whitespace. |
41
|
| ')' is preceded with whitespace. |
41
|
| Line has trailing spaces. |
44
|
| Method 'getPreferredSize' is not designed for extension - needs to be abstract, final or empty. |
44
|
| Missing a Javadoc comment. |
44
|
| '(' is followed by whitespace. |
44
|
| Parameter c should be final. |
44
|
| ')' is preceded with whitespace. |
44
|
| '{' should be on the previous line. |
45
|
| Line has trailing spaces. |
47
|
| Line is longer than 80 characters. |
55
|
| Line has trailing spaces. |
57
|
| Method 'paint' is not designed for extension - needs to be abstract, final or empty. |
57
|
| Parameter g should be final. |
57
|
| Expected @param tag for 'g'. |
57
|
| Parameter c should be final. |
57
|
| Expected @param tag for 'c'. |
57
|
| '{' should be on the previous line. |
58
|
| Line has trailing spaces. |
62
|
| '(' is followed by whitespace. |
62
|
| ')' is preceded with whitespace. |
62
|
| '{' should be on the previous line. |
63
|
| Line has trailing spaces. |
68
|
spellcast/ui/GesturePopupMenu.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - java.awt.event.*. |
8
|
| Using the '.*' form of import should be avoided - java.util.*. |
9
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
10
|
| Using the '.*' form of import should be avoided - spellcast.gestures.*. |
11
|
| Line has trailing spaces. |
20
|
| '{' should be on the previous line. |
21
|
| Line has trailing spaces. |
22
|
| Missing a Javadoc comment. |
22
|
| '(' is followed by whitespace. |
22
|
| ')' is preceded with whitespace. |
22
|
| Missing a Javadoc comment. |
23
|
| Missing a Javadoc comment. |
24
|
| Missing a Javadoc comment. |
26
|
| '{' should be on the previous line. |
27
|
| '(' is followed by whitespace. |
28
|
| ')' is preceded with whitespace. |
28
|
| Method 'addGestureListener' is not designed for extension - needs to be abstract, final or empty. |
33
|
| Missing a Javadoc comment. |
33
|
| '(' is followed by whitespace. |
33
|
| Parameter l should be final. |
33
|
| ')' is preceded with whitespace. |
33
|
| '{' should be on the previous line. |
34
|
| '(' is followed by whitespace. |
35
|
| '!' is followed by whitespace. |
35
|
| '(' is followed by whitespace. |
35
|
| ')' is preceded with whitespace. |
35
|
| ')' is preceded with whitespace. |
35
|
| '{' should be on the previous line. |
36
|
| '(' is followed by whitespace. |
37
|
| ')' is preceded with whitespace. |
37
|
| Method 'removeGestureListener' is not designed for extension - needs to be abstract, final or empty. |
41
|
| Missing a Javadoc comment. |
41
|
| '(' is followed by whitespace. |
41
|
| Parameter l should be final. |
41
|
| ')' is preceded with whitespace. |
41
|
| '{' should be on the previous line. |
42
|
| '(' is followed by whitespace. |
43
|
| ')' is preceded with whitespace. |
43
|
| Missing a Javadoc comment. |
46
|
| '(' is followed by whitespace. |
46
|
| Parameter g should be final. |
46
|
| ')' is preceded with whitespace. |
46
|
| '{' should be on the previous line. |
47
|
| '(' is followed by whitespace. |
49
|
| ')' is preceded with whitespace. |
49
|
| '{' should be on the previous line. |
50
|
| '(' is followed by whitespace. |
51
|
| ')' is preceded with whitespace. |
51
|
| '(' is followed by whitespace. |
54
|
| ')' is preceded with whitespace. |
54
|
| '{' should be on the previous line. |
55
|
| 'cast' is not followed by whitespace. |
56
|
| '(' is followed by whitespace. |
57
|
| ')' is preceded with whitespace. |
57
|
| Missing a Javadoc comment. |
61
|
| Missing a Javadoc comment. |
62
|
| Missing a Javadoc comment. |
63
|
| Missing a Javadoc comment. |
64
|
| Missing a Javadoc comment. |
65
|
| Missing a Javadoc comment. |
66
|
| Missing a Javadoc comment. |
67
|
| Line has trailing spaces. |
68
|
| Line is longer than 80 characters. |
70
|
| Line is longer than 80 characters. |
71
|
| Line is longer than 80 characters. |
72
|
| Line is longer than 80 characters. |
74
|
| '(' is followed by whitespace. |
74
|
| Parameter theGesture should be final. |
74
|
| Expected @param tag for 'theGesture'. |
74
|
| Parameter gestureIcon should be final. |
74
|
| Expected @param tag for 'gestureIcon'. |
74
|
| Parameter c should be final. |
74
|
| Expected @param tag for 'c'. |
74
|
| ')' is preceded with whitespace. |
74
|
| '(' is followed by whitespace. |
76
|
| ')' is preceded with whitespace. |
76
|
| '(' is followed by whitespace. |
77
|
| ')' is preceded with whitespace. |
77
|
| '(' is followed by whitespace. |
78
|
| ')' is preceded with whitespace. |
78
|
| '(' is followed by whitespace. |
79
|
| ')' is preceded with whitespace. |
79
|
| '(' is followed by whitespace. |
80
|
| ')' is preceded with whitespace. |
80
|
| '(' is followed by whitespace. |
81
|
| ')' is preceded with whitespace. |
81
|
| Missing a Javadoc comment. |
84
|
| '{' should be on the previous line. |
85
|
| Line is longer than 80 characters. |
88
|
| '(' is followed by whitespace. |
88
|
| ')' is preceded with whitespace. |
88
|
| '(' is followed by whitespace. |
89
|
| ')' is preceded with whitespace. |
89
|
| Line is longer than 80 characters. |
90
|
| '(' is followed by whitespace. |
90
|
| ')' is preceded with whitespace. |
90
|
| Line is longer than 80 characters. |
92
|
| '(' is followed by whitespace. |
92
|
| ')' is preceded with whitespace. |
92
|
| Missing a Javadoc comment. |
95
|
| '{' should be on the previous line. |
96
|
| '(' is followed by whitespace. |
99
|
| ')' is preceded with whitespace. |
99
|
| '(' is followed by whitespace. |
100
|
| ')' is preceded with whitespace. |
100
|
| '(' is followed by whitespace. |
101
|
| ')' is preceded with whitespace. |
101
|
| Line is longer than 80 characters. |
103
|
| '(' is followed by whitespace. |
103
|
| ')' is preceded with whitespace. |
103
|
| Missing a Javadoc comment. |
106
|
| '{' should be on the previous line. |
107
|
| Missing a Javadoc comment. |
108
|
| Variable 'gesture' must be private and have accessor methods. |
108
|
| Missing a Javadoc comment. |
110
|
| '(' is followed by whitespace. |
110
|
| Parameter gesture should be final. |
110
|
| 'gesture' hides a field. |
110
|
| ')' is preceded with whitespace. |
110
|
| '{' should be on the previous line. |
111
|
| Missing a Javadoc comment. |
115
|
| '(' is followed by whitespace. |
115
|
| Parameter e should be final. |
115
|
| ')' is preceded with whitespace. |
115
|
| '{' should be on the previous line. |
116
|
| '(' is followed by whitespace. |
117
|
| ')' is preceded with whitespace. |
117
|
spellcast/ui/ImageNotAvailableException.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on the previous line. |
12
|
| Missing a Javadoc comment. |
13
|
| '(' is followed by whitespace. |
13
|
| Parameter s should be final. |
13
|
| ')' is preceded with whitespace. |
13
|
| '{' should be on the previous line. |
14
|
| '(' is followed by whitespace. |
15
|
| ')' is preceded with whitespace. |
15
|
spellcast/ui/LeftHandedGesturePopupMenu.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
7
|
| '{' should be on the previous line. |
14
|
| Missing a Javadoc comment. |
15
|
| '{' should be on the previous line. |
16
|
| Method 'getPalmIcon' is not designed for extension - needs to be abstract, final or empty. |
20
|
| Missing a Javadoc comment. |
20
|
| '{' should be on the previous line. |
21
|
| Method 'getDigitIcon' is not designed for extension - needs to be abstract, final or empty. |
25
|
| Missing a Javadoc comment. |
25
|
| '{' should be on the previous line. |
26
|
| Method 'getFingersIcon' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Missing a Javadoc comment. |
30
|
| '{' should be on the previous line. |
31
|
| Method 'getWaveIcon' is not designed for extension - needs to be abstract, final or empty. |
35
|
| Missing a Javadoc comment. |
35
|
| '{' should be on the previous line. |
36
|
| Method 'getClapIcon' is not designed for extension - needs to be abstract, final or empty. |
40
|
| Missing a Javadoc comment. |
40
|
| '{' should be on the previous line. |
41
|
| Method 'getSnapIcon' is not designed for extension - needs to be abstract, final or empty. |
45
|
| Missing a Javadoc comment. |
45
|
| '{' should be on the previous line. |
46
|
| Method 'getKnifeIcon' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Missing a Javadoc comment. |
50
|
| '{' should be on the previous line. |
51
|
spellcast/ui/MonsterDetails.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
8
|
| Using the '.*' form of import should be avoided - spellcast.beings.*. |
9
|
| Line has trailing spaces. |
15
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
19
|
| Missing a Javadoc comment. |
20
|
| Missing a Javadoc comment. |
22
|
| '(' is followed by whitespace. |
22
|
| Parameter m should be final. |
22
|
| ')' is preceded with whitespace. |
22
|
| '{' should be on the previous line. |
23
|
| '(' is followed by whitespace. |
26
|
| ')' is preceded with whitespace. |
26
|
| Line is longer than 80 characters. |
27
|
| '(' is followed by whitespace. |
27
|
| '(' is followed by whitespace. |
27
|
| ')' is preceded with whitespace. |
27
|
| ')' is preceded with whitespace. |
27
|
| '(' is followed by whitespace. |
29
|
| ')' is preceded with whitespace. |
29
|
| '(' is followed by whitespace. |
30
|
| ')' is preceded with whitespace. |
30
|
| Expected an @return tag. |
36
|
| '(' is followed by whitespace. |
36
|
| Parameter m should be final. |
36
|
| Expected @param tag for 'm'. |
36
|
| ')' is preceded with whitespace. |
36
|
| '{' should be on the previous line. |
37
|
| '(' is followed by whitespace. |
41
|
| ')' is preceded with whitespace. |
41
|
| '(' is followed by whitespace. |
42
|
| ')' is preceded with whitespace. |
42
|
| '{' should be on the previous line. |
43
|
| Line is longer than 80 characters. |
44
|
| '(' is followed by whitespace. |
44
|
| ')' is preceded with whitespace. |
44
|
| '}' should be on the same line. |
45
|
| '{' should be on the previous line. |
47
|
| '(' is followed by whitespace. |
48
|
| ')' is preceded with whitespace. |
48
|
| '(' is followed by whitespace. |
56
|
| Parameter currentHitPoints should be final. |
56
|
| Expected @param tag for 'currentHitPoints'. |
56
|
| ')' is preceded with whitespace. |
56
|
| '{' should be on the previous line. |
57
|
| '(' is followed by whitespace. |
58
|
| '(' is followed by whitespace. |
58
|
| ')' is preceded with whitespace. |
58
|
| ')' is preceded with whitespace. |
58
|
| Expected an @return tag. |
64
|
| Method 'getMonster' is not designed for extension - needs to be abstract, final or empty. |
64
|
| '{' should be on the previous line. |
65
|
| Expected an @return tag. |
72
|
| Method 'getMonsterName' is not designed for extension - needs to be abstract, final or empty. |
72
|
| '{' should be on the previous line. |
73
|
| Expected an @return tag. |
80
|
| Method 'getMonsterTitle' is not designed for extension - needs to be abstract, final or empty. |
80
|
| '{' should be on the previous line. |
81
|
| Expected an @return tag. |
88
|
| Method 'getHitPoints' is not designed for extension - needs to be abstract, final or empty. |
88
|
| '{' should be on the previous line. |
89
|
spellcast/ui/NetworkController.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
9
|
| Line has trailing spaces. |
14
|
| '{' should be on the previous line. |
15
|
| Line has trailing spaces. |
17
|
| Redundant 'public' modifier. |
20
|
| '(' is followed by whitespace. |
20
|
| Expected @param tag for 'start'. |
20
|
| ')' is preceded with whitespace. |
20
|
| Line has trailing spaces. |
23
|
| Redundant 'public' modifier. |
30
|
| '(' is followed by whitespace. |
30
|
| ')' is preceded with whitespace. |
32
|
| Redundant 'public' modifier. |
38
|
| Line has trailing spaces. |
43
|
| Redundant 'public' modifier. |
46
|
| '(' is followed by whitespace. |
46
|
| ')' is preceded with whitespace. |
46
|
| Redundant 'public' modifier. |
52
|
spellcast/ui/NewGameDialog.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/NewGameDialog.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Line has trailing spaces. |
44
|
| Line has trailing spaces. |
45
|
| Line is longer than 80 characters. |
45
|
| Line is longer than 80 characters. |
48
|
| Line has trailing spaces. |
49
|
| Line is longer than 80 characters. |
49
|
| Line has trailing spaces. |
57
|
| Unclosed HTML tag found: <number of uses> <game name> |
60
|
| Unclosed HTML tag found: <game name> |
60
|
| Line is longer than 80 characters. |
62
|
| Line has trailing spaces. |
63
|
| Line is longer than 80 characters. |
63
|
| Missing a Javadoc comment. |
69
|
| Missing a Javadoc comment. |
70
|
| Missing a Javadoc comment. |
72
|
| Name 'c_create' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
72
|
| Missing a Javadoc comment. |
73
|
| Name 'c_cancel' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
73
|
| Missing a Javadoc comment. |
74
|
| Name 'c_gameName' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
74
|
| Missing a Javadoc comment. |
75
|
| Name 'c_serverAddress' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
75
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
77
|
| Missing a Javadoc comment. |
80
|
| Missing a Javadoc comment. |
82
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
82
|
| Missing a Javadoc comment. |
84
|
| Method 'addPropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
94
|
| Missing a Javadoc comment. |
94
|
| Parameter listener should be final. |
94
|
| Method 'removePropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
98
|
| Missing a Javadoc comment. |
98
|
| Parameter listener should be final. |
98
|
| Missing a Javadoc comment. |
102
|
| Line is longer than 80 characters. |
108
|
| '10' is a magic number. |
111
|
| Line is longer than 80 characters. |
116
|
| Line is longer than 80 characters. |
123
|
| '}' should be on the same line. |
124
|
| Line is longer than 80 characters. |
126
|
| Line is longer than 80 characters. |
129
|
| '}' should be on the same line. |
137
|
| '}' should be on the same line. |
140
|
| '}' should be on the same line. |
146
|
| Missing a Javadoc comment. |
155
|
| Parameter model should be final. |
155
|
| Line is longer than 80 characters. |
164
|
| Line is longer than 80 characters. |
174
|
| Line is longer than 80 characters. |
182
|
| Line is longer than 80 characters. |
185
|
| Line is longer than 80 characters. |
188
|
| '}' should be on the same line. |
196
|
| '}' should be on the same line. |
199
|
| '}' should be on the same line. |
206
|
| Missing a Javadoc comment. |
214
|
| '4' is a magic number. |
220
|
| '4' is a magic number. |
220
|
| '4' is a magic number. |
220
|
| '4' is a magic number. |
220
|
| Parameter e should be final. |
233
|
| Line is longer than 80 characters. |
243
|
| Parameter e should be final. |
252
|
| Missing a Javadoc comment. |
262
|
| '4' is a magic number. |
264
|
| '4' is a magic number. |
264
|
| '4' is a magic number. |
264
|
| '4' is a magic number. |
264
|
| '4' is a magic number. |
270
|
| '4' is a magic number. |
270
|
| '4' is a magic number. |
270
|
| '4' is a magic number. |
270
|
| '12' is a magic number. |
292
|
| '}' should be on the same line. |
298
|
| Line is longer than 80 characters. |
300
|
| Line is longer than 80 characters. |
311
|
| Line has trailing spaces. |
312
|
| Line is longer than 80 characters. |
315
|
| Missing a Javadoc comment. |
318
|
| Parameter o1 should be final. |
318
|
| Parameter o2 should be final. |
318
|
| '}' should be on the same line. |
330
|
| '}' should be on the same line. |
334
|
spellcast/ui/NewGameEvent.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
12
|
| '{' should be on the previous line. |
13
|
| Missing a Javadoc comment. |
14
|
| Missing a Javadoc comment. |
15
|
| Missing a Javadoc comment. |
17
|
| '(' is followed by whitespace. |
17
|
| Parameter gameName should be final. |
17
|
| 'gameName' hides a field. |
17
|
| Parameter serverAddress should be final. |
17
|
| 'serverAddress' hides a field. |
17
|
| ')' is preceded with whitespace. |
17
|
| '{' should be on the previous line. |
18
|
| Line has trailing spaces. |
28
|
| Method 'getGameName' is not designed for extension - needs to be abstract, final or empty. |
28
|
| '{' should be on the previous line. |
29
|
| Line has trailing spaces. |
38
|
| Method 'getServerAddress' is not designed for extension - needs to be abstract, final or empty. |
38
|
| '{' should be on the previous line. |
39
|
spellcast/ui/QueryDisplay.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/QueryDisplay.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line is longer than 80 characters. |
27
|
| Line is longer than 80 characters. |
29
|
| Missing a Javadoc comment. |
35
|
| '736' is a magic number. |
35
|
| '100' is a magic number. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
38
|
| '10' is a magic number. |
38
|
| Missing a Javadoc comment. |
39
|
| '10' is a magic number. |
39
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
43
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
43
|
| Missing a Javadoc comment. |
45
|
| '4' is a magic number. |
46
|
| Method 'init' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Missing a Javadoc comment. |
51
|
| Method 'setEnabled' is not designed for extension - needs to be abstract, final or empty. |
62
|
| Parameter enabled should be final. |
62
|
| Expected @param tag for 'enabled'. |
62
|
| Method 'addQuery' is not designed for extension - needs to be abstract, final or empty. |
74
|
| Expected @param tag for 'query'. |
74
|
| Parameter e should be final. |
88
|
| Line is longer than 80 characters. |
89
|
| '4' is a magic number. |
97
|
| Expected an @return tag. |
106
|
| Method 'getAnswers' is not designed for extension - needs to be abstract, final or empty. |
106
|
spellcast/ui/RightHandedGesturePopupMenu.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
7
|
| '{' should be on the previous line. |
14
|
| Missing a Javadoc comment. |
15
|
| '{' should be on the previous line. |
16
|
| Method 'getPalmIcon' is not designed for extension - needs to be abstract, final or empty. |
20
|
| Missing a Javadoc comment. |
20
|
| '{' should be on the previous line. |
21
|
| Method 'getDigitIcon' is not designed for extension - needs to be abstract, final or empty. |
25
|
| Missing a Javadoc comment. |
25
|
| '{' should be on the previous line. |
26
|
| Method 'getFingersIcon' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Missing a Javadoc comment. |
30
|
| '{' should be on the previous line. |
31
|
| Method 'getWaveIcon' is not designed for extension - needs to be abstract, final or empty. |
35
|
| Missing a Javadoc comment. |
35
|
| '{' should be on the previous line. |
36
|
| Method 'getClapIcon' is not designed for extension - needs to be abstract, final or empty. |
40
|
| Missing a Javadoc comment. |
40
|
| '{' should be on the previous line. |
41
|
| Method 'getSnapIcon' is not designed for extension - needs to be abstract, final or empty. |
45
|
| Missing a Javadoc comment. |
45
|
| '{' should be on the previous line. |
46
|
| Method 'getKnifeIcon' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Missing a Javadoc comment. |
50
|
| '{' should be on the previous line. |
51
|
spellcast/ui/ServerListTableModel.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.util.*. |
7
|
| Using the '.*' form of import should be avoided - javax.swing.table.*. |
8
|
| Using the '.*' form of import should be avoided - spellcast.net.*. |
9
|
| Line has trailing spaces. |
14
|
| Line is longer than 80 characters. |
14
|
| Unclosed HTML tag found: <code>ServerStatus</class> |
14
|
| Extra HTML tag found: </class> |
14
|
| '{' should be on the previous line. |
20
|
| Missing a Javadoc comment. |
21
|
| Missing a Javadoc comment. |
22
|
| Missing a Javadoc comment. |
24
|
| '{' should be on the previous line. |
25
|
| '(' is followed by whitespace. |
27
|
| '5' is a magic number. |
27
|
| ')' is preceded with whitespace. |
27
|
| Method 'add' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Missing a Javadoc comment. |
30
|
| '(' is followed by whitespace. |
30
|
| Parameter ss should be final. |
30
|
| ')' is preceded with whitespace. |
30
|
| '{' should be on the previous line. |
31
|
| '(' is followed by whitespace. |
32
|
| '!' is followed by whitespace. |
32
|
| '(' is followed by whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| ')' is preceded with whitespace. |
32
|
| '{' should be on the previous line. |
33
|
| '(' is followed by whitespace. |
34
|
| ')' is preceded with whitespace. |
34
|
| Method 'remove' is not designed for extension - needs to be abstract, final or empty. |
39
|
| Missing a Javadoc comment. |
39
|
| '(' is followed by whitespace. |
39
|
| Parameter ss should be final. |
39
|
| ')' is preceded with whitespace. |
39
|
| '{' should be on the previous line. |
40
|
| '(' is followed by whitespace. |
41
|
| ')' is preceded with whitespace. |
41
|
| Method 'clear' is not designed for extension - needs to be abstract, final or empty. |
45
|
| Missing a Javadoc comment. |
45
|
| '{' should be on the previous line. |
46
|
| Line has trailing spaces. |
50
|
| Method 'contains' is not designed for extension - needs to be abstract, final or empty. |
51
|
| Missing a Javadoc comment. |
51
|
| '(' is followed by whitespace. |
51
|
| Parameter ss should be final. |
51
|
| ')' is preceded with whitespace. |
51
|
| '{' should be on the previous line. |
52
|
| '(' is followed by whitespace. |
53
|
| ')' is preceded with whitespace. |
53
|
| Method 'servers' is not designed for extension - needs to be abstract, final or empty. |
56
|
| Missing a Javadoc comment. |
56
|
| '{' should be on the previous line. |
57
|
| Line has trailing spaces. |
60
|
| Method 'get' is not designed for extension - needs to be abstract, final or empty. |
61
|
| Missing a Javadoc comment. |
61
|
| '(' is followed by whitespace. |
61
|
| Parameter row should be final. |
61
|
| ')' is preceded with whitespace. |
61
|
| '{' should be on the previous line. |
62
|
| 'cast' is not followed by whitespace. |
63
|
| '(' is followed by whitespace. |
63
|
| ')' is preceded with whitespace. |
63
|
| Line has trailing spaces. |
66
|
| Method 'getColumnCount' is not designed for extension - needs to be abstract, final or empty. |
66
|
| Missing a Javadoc comment. |
66
|
| Line has trailing spaces. |
67
|
| '{' should be on the previous line. |
67
|
| Line has trailing spaces. |
70
|
| Method 'getRowCount' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Missing a Javadoc comment. |
70
|
| Line has trailing spaces. |
71
|
| '{' should be on the previous line. |
71
|
| Line has trailing spaces. |
75
|
| Method 'getValueAt' is not designed for extension - needs to be abstract, final or empty. |
75
|
| Missing a Javadoc comment. |
75
|
| '(' is followed by whitespace. |
75
|
| Parameter row should be final. |
75
|
| Parameter col should be final. |
75
|
| ')' is preceded with whitespace. |
75
|
| '{' should be on the previous line. |
76
|
| 'cast' is not followed by whitespace. |
77
|
| '(' is followed by whitespace. |
77
|
| ')' is preceded with whitespace. |
77
|
| Line has trailing spaces. |
78
|
| '(' is followed by whitespace. |
79
|
| ')' is preceded with whitespace. |
79
|
| Line has trailing spaces. |
82
|
| Method 'getColumnName' is not designed for extension - needs to be abstract, final or empty. |
82
|
| Missing a Javadoc comment. |
82
|
| '(' is followed by whitespace. |
82
|
| Parameter column should be final. |
82
|
| ')' is preceded with whitespace. |
82
|
| Line has trailing spaces. |
83
|
| '{' should be on the previous line. |
83
|
| Line has trailing spaces. |
87
|
| Method 'getColumnClass' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Missing a Javadoc comment. |
87
|
| '(' is followed by whitespace. |
87
|
| Parameter col should be final. |
87
|
| ')' is preceded with whitespace. |
87
|
| '{' should be on the previous line. |
88
|
| ',' is not followed by whitespace. |
89
|
| Line has trailing spaces. |
92
|
| Method 'isCellEditable' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Missing a Javadoc comment. |
92
|
| '(' is followed by whitespace. |
92
|
| Parameter row should be final. |
92
|
| Parameter col should be final. |
92
|
| ')' is preceded with whitespace. |
92
|
| '{' should be on the previous line. |
93
|
spellcast/ui/SpellcastView.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on the previous line. |
22
|
| Redundant 'public' modifier. |
26
|
| '(' is followed by whitespace. |
26
|
| Expected @param tag for 'message'. |
26
|
| ')' is preceded with whitespace. |
26
|
| Redundant 'public' modifier. |
31
|
| '(' is followed by whitespace. |
31
|
| Expected @param tag for 'query'. |
31
|
| ')' is preceded with whitespace. |
31
|
| Redundant 'public' modifier. |
36
|
| '(' is followed by whitespace. |
36
|
| Expected @param tag for 'w'. |
36
|
| ')' is preceded with whitespace. |
36
|
| Redundant 'public' modifier. |
41
|
| '(' is followed by whitespace. |
41
|
| Expected @param tag for 'w'. |
41
|
| ')' is preceded with whitespace. |
41
|
| Redundant 'public' modifier. |
50
|
| '(' is followed by whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
| Redundant 'public' modifier. |
55
|
| Redundant 'public' modifier. |
62
|
| '(' is followed by whitespace. |
62
|
| ')' is preceded with whitespace. |
62
|
| Redundant 'public' modifier. |
69
|
| '(' is followed by whitespace. |
69
|
| ')' is preceded with whitespace. |
69
|
| Line is longer than 80 characters. |
72
|
spellcast/ui/SpellcastWindow.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/SpellcastWindow.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Unused import - java.beans.PropertyChangeEvent. |
19
|
| Line is longer than 80 characters. |
71
|
| Missing a Javadoc comment. |
71
|
| '400' is a magic number. |
71
|
| '312' is a magic number. |
71
|
| Missing a Javadoc comment. |
73
|
| Missing a Javadoc comment. |
75
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
77
|
| Missing a Javadoc comment. |
79
|
| Name 'c_okButton' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
79
|
| Missing a Javadoc comment. |
80
|
| Name 'c_message' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
80
|
| Missing a Javadoc comment. |
81
|
| Missing a Javadoc comment. |
82
|
| Missing a Javadoc comment. |
83
|
| Missing a Javadoc comment. |
84
|
| Missing a Javadoc comment. |
85
|
| Missing a Javadoc comment. |
86
|
| Missing a Javadoc comment. |
88
|
| Missing a Javadoc comment. |
89
|
| Missing a Javadoc comment. |
90
|
| Missing a Javadoc comment. |
92
|
| Missing a Javadoc comment. |
94
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
94
|
| Missing a Javadoc comment. |
97
|
| '10' is a magic number. |
109
|
| '7' is a magic number. |
109
|
| '10' is a magic number. |
109
|
| '7' is a magic number. |
109
|
| Method 'init' is not designed for extension - needs to be abstract, final or empty. |
130
|
| '}' should be on the same line. |
134
|
| Missing a Javadoc comment. |
147
|
| '}' should be on the same line. |
151
|
| Missing a Javadoc comment. |
157
|
| Expected @param tag for 'text'. |
166
|
| Expected @param tag for 'enabled'. |
177
|
| Method 'getPreferredSize' is not designed for extension - needs to be abstract, final or empty. |
185
|
| Missing a Javadoc comment. |
185
|
| '60' is a magic number. |
187
|
| '30' is a magic number. |
188
|
| Method 'getMaximumSize' is not designed for extension - needs to be abstract, final or empty. |
192
|
| Missing a Javadoc comment. |
192
|
| '60' is a magic number. |
194
|
| '30' is a magic number. |
195
|
| Missing a Javadoc comment. |
199
|
| Parameter e should be final. |
207
|
| Parameter e should be final. |
214
|
| Parameter e should be final. |
223
|
| Parameter e should be final. |
231
|
| Parameter e should be final. |
242
|
| Missing a Javadoc comment. |
253
|
| '5' is a magic number. |
265
|
| '5' is a magic number. |
265
|
| Missing a Javadoc comment. |
271
|
| Missing a Javadoc comment. |
276
|
| '4' is a magic number. |
282
|
| '4' is a magic number. |
282
|
| '4' is a magic number. |
282
|
| '4' is a magic number. |
282
|
| Parameter e should be final. |
294
|
| Line is longer than 80 characters. |
298
|
| Missing a Javadoc comment. |
317
|
| Missing a Javadoc comment. |
322
|
| Parameter e should be final. |
324
|
| Parameter e should be final. |
329
|
| Method 'addPropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
339
|
| Missing a Javadoc comment. |
339
|
| Parameter listener should be final. |
339
|
| Method 'removePropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
343
|
| Missing a Javadoc comment. |
343
|
| Parameter listener should be final. |
343
|
| Missing a Javadoc comment. |
347
|
| Line is longer than 80 characters. |
355
|
| '102' is a magic number. |
356
|
| '102' is a magic number. |
356
|
| '153' is a magic number. |
356
|
| '200' is a magic number. |
357
|
| '20' is a magic number. |
357
|
| Missing a Javadoc comment. |
361
|
| Line is longer than 80 characters. |
362
|
| Line is longer than 80 characters. |
365
|
| Method 'addMessage' is not designed for extension - needs to be abstract, final or empty. |
374
|
| Parameter message should be final. |
374
|
| Expected @param tag for 'message'. |
374
|
| '}' should be on the same line. |
377
|
| Method 'addQuery' is not designed for extension - needs to be abstract, final or empty. |
386
|
| Parameter query should be final. |
386
|
| Expected @param tag for 'query'. |
386
|
| Method 'addWizard' is not designed for extension - needs to be abstract, final or empty. |
393
|
| Parameter w should be final. |
393
|
| Expected @param tag for 'w'. |
393
|
| Method 'removeWizard' is not designed for extension - needs to be abstract, final or empty. |
401
|
| Parameter w should be final. |
401
|
| Expected @param tag for 'w'. |
401
|
| Method 'connected' is not designed for extension - needs to be abstract, final or empty. |
414
|
| Parameter success should be final. |
414
|
| '}' should be on the same line. |
424
|
| Method 'disconnected' is not designed for extension - needs to be abstract, final or empty. |
433
|
| Unused @param tag for 'v'. |
450
|
| Method 'setID' is not designed for extension - needs to be abstract, final or empty. |
452
|
| Parameter id should be final. |
452
|
| Expected @param tag for 'id'. |
452
|
| Method 'setGame' is not designed for extension - needs to be abstract, final or empty. |
463
|
| Parameter v should be final. |
463
|
spellcast/ui/UIProperties.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
9
|
| Line has trailing spaces. |
15
|
| interfaces should describe a type and hence have methods. |
15
|
| '{' should be on the previous line. |
16
|
| Missing a Javadoc comment. |
17
|
| Redundant 'public' modifier. |
17
|
| Missing a Javadoc comment. |
18
|
| Redundant 'public' modifier. |
18
|
| Missing a Javadoc comment. |
19
|
| Redundant 'public' modifier. |
19
|
| Missing a Javadoc comment. |
20
|
| Redundant 'public' modifier. |
20
|
| Missing a Javadoc comment. |
21
|
| Redundant 'public' modifier. |
21
|
| Line is longer than 80 characters. |
22
|
| Missing a Javadoc comment. |
22
|
| Redundant 'public' modifier. |
22
|
| Missing a Javadoc comment. |
23
|
| Redundant 'public' modifier. |
23
|
spellcast/ui/WizardDetails.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Unused import - java.beans.PropertyChangeEvent. |
11
|
| Unused import - spellcast.beings.Wizard. |
23
|
| '{' should be on the previous line. |
36
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| '(' is followed by whitespace. |
45
|
| ')' is preceded with whitespace. |
45
|
| Missing a Javadoc comment. |
46
|
| '(' is followed by whitespace. |
46
|
| ')' is preceded with whitespace. |
46
|
| Line is longer than 80 characters. |
47
|
| Missing a Javadoc comment. |
47
|
| '(' is followed by whitespace. |
47
|
| ')' is preceded with whitespace. |
47
|
| Line is longer than 80 characters. |
48
|
| Missing a Javadoc comment. |
48
|
| '(' is followed by whitespace. |
48
|
| ')' is preceded with whitespace. |
48
|
| Missing a Javadoc comment. |
49
|
| Missing a Javadoc comment. |
50
|
| Missing a Javadoc comment. |
51
|
| Missing a Javadoc comment. |
52
|
| '(' is followed by whitespace. |
52
|
| ')' is preceded with whitespace. |
52
|
| Missing a Javadoc comment. |
53
|
| Missing a Javadoc comment. |
54
|
| Missing a Javadoc comment. |
55
|
| Missing a Javadoc comment. |
57
|
| Missing a Javadoc comment. |
59
|
| '(' is followed by whitespace. |
59
|
| Parameter wizard should be final. |
59
|
| 'wizard' hides a field. |
59
|
| ')' is preceded with whitespace. |
59
|
| '{' should be on the previous line. |
60
|
| '(' is followed by whitespace. |
62
|
| ')' is preceded with whitespace. |
62
|
| Method 'installDefaults' is not designed for extension - needs to be abstract, final or empty. |
73
|
| Missing a Javadoc comment. |
73
|
| '{' should be on the previous line. |
74
|
| Line is longer than 80 characters. |
75
|
| '(' is followed by whitespace. |
75
|
| ')' is preceded with whitespace. |
75
|
| Line is longer than 80 characters. |
76
|
| '(' is followed by whitespace. |
76
|
| ')' is preceded with whitespace. |
76
|
| Line is longer than 80 characters. |
80
|
| '{' should be on the previous line. |
84
|
| '(' is followed by whitespace. |
89
|
| ')' is preceded with whitespace. |
89
|
| '(' is followed by whitespace. |
90
|
| ')' is preceded with whitespace. |
90
|
| '(' is followed by whitespace. |
91
|
| ')' is preceded with whitespace. |
91
|
| Line is longer than 80 characters. |
95
|
| '{' should be on the previous line. |
100
|
| Line is longer than 80 characters. |
106
|
| '(' is followed by whitespace. |
106
|
| '(' is followed by whitespace. |
106
|
| ')' is preceded with whitespace. |
106
|
| ')' is preceded with whitespace. |
106
|
| '(' is followed by whitespace. |
107
|
| ')' is preceded with whitespace. |
107
|
| '(' is followed by whitespace. |
108
|
| ')' is preceded with whitespace. |
108
|
| '{' should be on the previous line. |
109
|
| Line is longer than 80 characters. |
110
|
| '(' is followed by whitespace. |
110
|
| ')' is preceded with whitespace. |
110
|
| '(' is followed by whitespace. |
112
|
| ')' is preceded with whitespace. |
112
|
| '(' is followed by whitespace. |
113
|
| ')' is preceded with whitespace. |
113
|
| Line is longer than 80 characters. |
117
|
| '(' is followed by whitespace. |
117
|
| '(' is followed by whitespace. |
117
|
| ')' is preceded with whitespace. |
117
|
| ')' is preceded with whitespace. |
117
|
| '(' is followed by whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| '(' is followed by whitespace. |
119
|
| ')' is preceded with whitespace. |
119
|
| '{' should be on the previous line. |
120
|
| Line is longer than 80 characters. |
121
|
| '(' is followed by whitespace. |
121
|
| ')' is preceded with whitespace. |
121
|
| '(' is followed by whitespace. |
123
|
| ')' is preceded with whitespace. |
123
|
| '(' is followed by whitespace. |
124
|
| ')' is preceded with whitespace. |
124
|
| Line is longer than 80 characters. |
128
|
| '{' should be on the previous line. |
131
|
| '(' is followed by whitespace. |
137
|
| ')' is preceded with whitespace. |
137
|
| '(' is followed by whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|
| '(' is followed by whitespace. |
139
|
| ')' is preceded with whitespace. |
139
|
| '(' is followed by whitespace. |
143
|
| ')' is preceded with whitespace. |
143
|
| '(' is followed by whitespace. |
144
|
| ')' is preceded with whitespace. |
144
|
| '(' is followed by whitespace. |
145
|
| ')' is preceded with whitespace. |
145
|
| Line is longer than 80 characters. |
149
|
| Line is longer than 80 characters. |
150
|
| '{' should be on the previous line. |
154
|
| Line is longer than 80 characters. |
159
|
| '(' is followed by whitespace. |
159
|
| ')' is preceded with whitespace. |
159
|
| '(' is followed by whitespace. |
160
|
| ')' is preceded with whitespace. |
160
|
| '(' is followed by whitespace. |
161
|
| ')' is preceded with whitespace. |
161
|
| '(' is followed by whitespace. |
165
|
| ')' is preceded with whitespace. |
165
|
| '(' is followed by whitespace. |
166
|
| ')' is preceded with whitespace. |
166
|
| '(' is followed by whitespace. |
167
|
| ')' is preceded with whitespace. |
167
|
| '(' is followed by whitespace. |
168
|
| ')' is preceded with whitespace. |
168
|
| Line is longer than 80 characters. |
172
|
| Line is longer than 80 characters. |
173
|
| '{' should be on the previous line. |
177
|
| '(' is followed by whitespace. |
182
|
| ')' is preceded with whitespace. |
182
|
| '(' is followed by whitespace. |
183
|
| ')' is preceded with whitespace. |
183
|
| '(' is followed by whitespace. |
184
|
| ')' is preceded with whitespace. |
184
|
| '(' is followed by whitespace. |
188
|
| ')' is preceded with whitespace. |
188
|
| '(' is followed by whitespace. |
189
|
| ')' is preceded with whitespace. |
189
|
| '(' is followed by whitespace. |
190
|
| ')' is preceded with whitespace. |
190
|
| '{' should be on the previous line. |
198
|
| Line is longer than 80 characters. |
203
|
| 'monsterListLabel' hides a field. |
203
|
| '(' is followed by whitespace. |
203
|
| ')' is preceded with whitespace. |
203
|
| '(' is followed by whitespace. |
204
|
| ')' is preceded with whitespace. |
204
|
| '(' is followed by whitespace. |
205
|
| ')' is preceded with whitespace. |
205
|
| '(' is followed by whitespace. |
208
|
| ')' is preceded with whitespace. |
208
|
| '(' is followed by whitespace. |
209
|
| ')' is preceded with whitespace. |
209
|
| '(' is followed by whitespace. |
210
|
| ')' is preceded with whitespace. |
210
|
| Method 'addMonster' is not designed for extension - needs to be abstract, final or empty. |
217
|
| '(' is followed by whitespace. |
217
|
| Parameter m should be final. |
217
|
| Expected @param tag for 'm'. |
217
|
| ')' is preceded with whitespace. |
217
|
| '{' should be on the previous line. |
218
|
| '(' is followed by whitespace. |
219
|
| ')' is preceded with whitespace. |
219
|
| '(' is followed by whitespace. |
228
|
| ')' is preceded with whitespace. |
228
|
| '(' is followed by whitespace. |
229
|
| ')' is preceded with whitespace. |
229
|
| '(' is followed by whitespace. |
233
|
| ')' is preceded with whitespace. |
233
|
| '(' is followed by whitespace. |
234
|
| ')' is preceded with whitespace. |
234
|
| '(' is followed by whitespace. |
238
|
| ')' is preceded with whitespace. |
238
|
| '(' is followed by whitespace. |
239
|
| ')' is preceded with whitespace. |
239
|
| '(' is followed by whitespace. |
241
|
| ')' is preceded with whitespace. |
241
|
| '(' is followed by whitespace. |
247
|
| Parameter currentHitPoints should be final. |
247
|
| Expected @param tag for 'currentHitPoints'. |
247
|
| ')' is preceded with whitespace. |
247
|
| '{' should be on the previous line. |
248
|
| '(' is followed by whitespace. |
249
|
| '(' is followed by whitespace. |
249
|
| ')' is preceded with whitespace. |
249
|
| ')' is preceded with whitespace. |
249
|
| Method 'isClient' is not designed for extension - needs to be abstract, final or empty. |
257
|
| '{' should be on the previous line. |
258
|
| Method 'setClient' is not designed for extension - needs to be abstract, final or empty. |
267
|
| '(' is followed by whitespace. |
267
|
| Parameter v should be final. |
267
|
| ')' is preceded with whitespace. |
267
|
| '{' should be on the previous line. |
268
|
| '(' is followed by whitespace. |
270
|
| ')' is preceded with whitespace. |
270
|
| '(' is followed by whitespace. |
271
|
| ')' is preceded with whitespace. |
271
|
| Line is longer than 80 characters. |
275
|
| Expected an @return tag. |
277
|
| Method 'getLeftHandGesture' is not designed for extension - needs to be abstract, final or empty. |
277
|
| '{' should be on the previous line. |
278
|
| Line is longer than 80 characters. |
283
|
| Expected an @return tag. |
285
|
| Method 'getRightHandGesture' is not designed for extension - needs to be abstract, final or empty. |
285
|
| '{' should be on the previous line. |
286
|
spellcast/ui/WizardDisplay.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/WizardDisplay.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
26
|
| Missing a Javadoc comment. |
27
|
| Missing a Javadoc comment. |
29
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
29
|
| Missing a Javadoc comment. |
31
|
| Method 'init' is not designed for extension - needs to be abstract, final or empty. |
37
|
| Missing a Javadoc comment. |
37
|
| Unused @param tag for 'v'. |
45
|
| Method 'setID' is not designed for extension - needs to be abstract, final or empty. |
47
|
| Parameter id should be final. |
47
|
| Expected @param tag for 'id'. |
47
|
| Line is longer than 80 characters. |
51
|
| '}' should be on the same line. |
55
|
| Line is longer than 80 characters. |
57
|
| Line is longer than 80 characters. |
62
|
| Expected an @return tag. |
64
|
| Method 'getLeftHandGesture' is not designed for extension - needs to be abstract, final or empty. |
64
|
| Line is longer than 80 characters. |
67
|
| '}' should be on the same line. |
70
|
| Line is longer than 80 characters. |
79
|
| Expected an @return tag. |
81
|
| Method 'getRightHandGesture' is not designed for extension - needs to be abstract, final or empty. |
81
|
| Line is longer than 80 characters. |
84
|
| '}' should be on the same line. |
87
|
| Method 'addWizard' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Parameter wizard should be final. |
95
|
| Method 'removeWizard' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Missing a Javadoc comment. |
111
|
| Parameter wizard should be final. |
111
|
| '}' should be on the same line. |
123
|
| Line is longer than 80 characters. |
125
|
spellcast/ui/WizardProfile.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
14
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| Variable 'wizardName' must be private and have accessor methods. |
16
|
| Missing a Javadoc comment. |
17
|
| Variable 'gender' must be private and have accessor methods. |
17
|
| Missing a Javadoc comment. |
19
|
| '(' is followed by whitespace. |
19
|
| Parameter wizardName should be final. |
19
|
| 'wizardName' hides a field. |
19
|
| Parameter gender should be final. |
19
|
| 'gender' hides a field. |
19
|
| ')' is preceded with whitespace. |
19
|
| '{' should be on the previous line. |
20
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
25
|
| Missing a Javadoc comment. |
25
|
| '{' should be on the previous line. |
26
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
30
|
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Missing a Javadoc comment. |
30
|
| '(' is followed by whitespace. |
30
|
| Parameter o should be final. |
30
|
| ')' is preceded with whitespace. |
30
|
| '{' should be on the previous line. |
31
|
| Line has trailing spaces. |
33
|
| '(' is followed by whitespace. |
34
|
| ')' is preceded with whitespace. |
34
|
| '{' should be on the previous line. |
35
|
| 'cast' is not followed by whitespace. |
36
|
| '(' is followed by whitespace. |
37
|
| '(' is followed by whitespace. |
37
|
| ')' is preceded with whitespace. |
37
|
| '&&' should be on a new line. |
37
|
| '(' is followed by whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| '{' should be on the previous line. |
39
|
| Line has trailing spaces. |
43
|
spellcast/ui/WizardProfiles.java
Error | Line |
| File does not end with a newline. |
0
|
spellcast/ui/WizardProfiles.java
Error | Line |
| Line does not match expected header line of 'Spellcast has a restricted license.'. |
1
|
| Line is longer than 80 characters. |
47
|
| Line is longer than 80 characters. |
48
|
| Unclosed HTML tag found: <Gender String><space><Name>. |
52
|
| Unclosed HTML tag found: <space><Name>. |
52
|
| Unclosed HTML tag found: <Name>. |
52
|
| Missing a Javadoc comment. |
57
|
| Name 'profilesFile' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
57
|
| Missing a Javadoc comment. |
59
|
| Name 'defaultProfileFile' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
59
|
| Line is longer than 80 characters. |
60
|
| Line is longer than 80 characters. |
63
|
| Line is longer than 80 characters. |
66
|
| '100' is a magic number. |
66
|
| '100' is a magic number. |
66
|
| Missing a Javadoc comment. |
68
|
| Missing a Javadoc comment. |
70
|
| Missing a Javadoc comment. |
71
|
| Missing a Javadoc comment. |
72
|
| Missing a Javadoc comment. |
73
|
| Missing a Javadoc comment. |
74
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
78
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
78
|
| Missing a Javadoc comment. |
80
|
| '15' is a magic number. |
117
|
| '5' is a magic number. |
134
|
| Parameter e should be final. |
141
|
| Line is longer than 80 characters. |
142
|
| Parameter e should be final. |
153
|
| Line is longer than 80 characters. |
154
|
| Parameter e should be final. |
163
|
| Line is longer than 80 characters. |
164
|
| Parameter e should be final. |
177
|
| Parameter e should be final. |
187
|
| Line is longer than 80 characters. |
190
|
| '}' should be on the same line. |
194
|
| Method 'addPropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
204
|
| Missing a Javadoc comment. |
204
|
| Parameter listener should be final. |
204
|
| Method 'removePropertyChangeListener' is not designed for extension - needs to be abstract, final or empty. |
208
|
| Missing a Javadoc comment. |
208
|
| Parameter listener should be final. |
208
|
| Parameter wizardName should be final. |
218
|
| 'wizardName' hides a field. |
218
|
| Expected @param tag for 'wizardName'. |
218
|
| Parameter gender should be final. |
218
|
| Expected @param tag for 'gender'. |
218
|
| Line is longer than 80 characters. |
239
|
| Expected an @return tag. |
241
|
| '10' is a magic number. |
243
|
| Line is longer than 80 characters. |
249
|
| Line is longer than 80 characters. |
254
|
| '}' should be on the same line. |
255
|
| Line is longer than 80 characters. |
259
|
| '}' should be on the same line. |
260
|
| '}' should be on the same line. |
266
|
| '}' should be on the same line. |
269
|
| '}' should be on the same line. |
275
|
| Missing a Javadoc comment. |
283
|
| '}' should be on the same line. |
300
|
| '}' should be on the same line. |
303
|
| '}' should be on the same line. |
310
|
| Expected an @return tag. |
320
|
| Line is longer than 80 characters. |
328
|
| Line is longer than 80 characters. |
332
|
| '}' should be on the same line. |
333
|
| Line is longer than 80 characters. |
335
|
| '}' should be on the same line. |
336
|
| '}' should be on the same line. |
342
|
| '}' should be on the same line. |
345
|
| '}' should be on the same line. |
351
|
| First sentence should end with a period. |
359
|
| Parameter wp should be final. |
362
|
| Expected @param tag for 'wp'. |
362
|
| '}' should be on the same line. |
380
|
| '}' should be on the same line. |
383
|
| '}' should be on the same line. |
390
|
spellcast/ui/package.html
Error | Line |
| Missing package documentation file. | 0 |
spellcast/util/TextUtil.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
12
|
| '{' should be on the previous line. |
13
|
| Missing a Javadoc comment. |
14
|
| '{' should be on the previous line. |
15
|
| Line has trailing spaces. |
20
|
| Unclosed HTML tag found: <gender><space><wizard name> |
21
|
| Unclosed HTML tag found: <space><wizard name> |
21
|
| Unclosed HTML tag found: <wizard name> |
21
|
| '(' is followed by whitespace. |
24
|
| Parameter line should be final. |
24
|
| ')' is preceded with whitespace. |
24
|
| '{' should be on the previous line. |
25
|
| Line has trailing spaces. |
27
|
| '(' is followed by whitespace. |
28
|
| ')' is preceded with whitespace. |
28
|
| '{' should be on the previous line. |
29
|
| Line has trailing spaces. |
32
|
| '(' is followed by whitespace. |
33
|
| ')' is preceded with whitespace. |
33
|
| '(' is followed by whitespace. |
34
|
| ')' is preceded with whitespace. |
34
|
| '{' should be on the previous line. |
35
|
| '(' is followed by whitespace. |
36
|
| ')' is preceded with whitespace. |
36
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
44
|
| Unclosed HTML tag found: <gender><space><wizard name> |
45
|
| Unclosed HTML tag found: <space><wizard name> |
45
|
| Unclosed HTML tag found: <wizard name> |
45
|
| '(' is followed by whitespace. |
48
|
| Parameter line should be final. |
48
|
| ')' is preceded with whitespace. |
48
|
| '{' should be on the previous line. |
49
|
| Line has trailing spaces. |
51
|
| '(' is followed by whitespace. |
52
|
| ')' is preceded with whitespace. |
52
|
| '{' should be on the previous line. |
53
|
| Line has trailing spaces. |
56
|
| '(' is followed by whitespace. |
57
|
| ')' is preceded with whitespace. |
57
|
| '(' is followed by whitespace. |
58
|
| ')' is preceded with whitespace. |
58
|
| '{' should be on the previous line. |
59
|
| '(' is followed by whitespace. |
60
|
| ')' is preceded with whitespace. |
60
|
| Line has trailing spaces. |
62
|
| Unclosed HTML tag found: <number><space><game name> |
70
|
| Unclosed HTML tag found: <space><game name> |
70
|
| Unclosed HTML tag found: <game name> |
70
|
| Unclosed HTML tag found: <number> from the line or -1 if the line is malformed. |
71
|
| '(' is followed by whitespace. |
73
|
| Parameter line should be final. |
73
|
| ')' is preceded with whitespace. |
73
|
| '{' should be on the previous line. |
74
|
| Line has trailing spaces. |
76
|
| '(' is followed by whitespace. |
77
|
| ')' is preceded with whitespace. |
77
|
| '{' should be on the previous line. |
78
|
| '(' is followed by whitespace. |
82
|
| ')' is preceded with whitespace. |
82
|
| '(' is followed by whitespace. |
83
|
| ')' is preceded with whitespace. |
83
|
| '{' should be on the previous line. |
84
|
| '{' should be on the previous line. |
86
|
| '(' is followed by whitespace. |
87
|
| '(' is followed by whitespace. |
87
|
| ')' is preceded with whitespace. |
87
|
| ')' is preceded with whitespace. |
87
|
| '(' is followed by whitespace. |
89
|
| ')' is preceded with whitespace. |
89
|
| '{' should be on the previous line. |
90
|
| '}' should be on the same line. |
93
|
| '(' is followed by whitespace. |
94
|
| ')' is preceded with whitespace. |
94
|
| '{' should be on the previous line. |
95
|
| Must have at least one statement. |
95
|
| Line has trailing spaces. |
99
|
| Unclosed HTML tag found: <number><space><game name> |
107
|
| Unclosed HTML tag found: <space><game name> |
107
|
| Unclosed HTML tag found: <game name> |
107
|
| '(' is followed by whitespace. |
110
|
| Parameter line should be final. |
110
|
| ')' is preceded with whitespace. |
110
|
| '{' should be on the previous line. |
111
|
| Line has trailing spaces. |
113
|
| '(' is followed by whitespace. |
114
|
| ')' is preceded with whitespace. |
114
|
| '{' should be on the previous line. |
115
|
| Line has trailing spaces. |
118
|
| '(' is followed by whitespace. |
119
|
| ')' is preceded with whitespace. |
119
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| '{' should be on the previous line. |
121
|
| '(' is followed by whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| Line has trailing spaces. |
124
|
| Unclosed HTML tag found: <host>[:<port>] return the host. |
129
|
| Unclosed HTML tag found: <port>] return the host. |
129
|
| Unused @param tag for 'serverAddress'. |
131
|
| Unclosed HTML tag found: <host>[:<port>] |
131
|
| Unclosed HTML tag found: <port>] |
131
|
| '(' is followed by whitespace. |
134
|
| Parameter serverAddressString should be final. |
134
|
| Expected @param tag for 'serverAddressString'. |
134
|
| ')' is preceded with whitespace. |
134
|
| '{' should be on the previous line. |
135
|
| Line has trailing spaces. |
137
|
| '(' is followed by whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|
| '{' should be on the previous line. |
139
|
| '(' is followed by whitespace. |
141
|
| ')' is preceded with whitespace. |
141
|
| '(' is followed by whitespace. |
142
|
| ')' is preceded with whitespace. |
142
|
| '{' should be on the previous line. |
143
|
| '(' is followed by whitespace. |
144
|
| ')' is preceded with whitespace. |
144
|
| '}' should be on the same line. |
145
|
| '{' should be on the previous line. |
147
|
| Line has trailing spaces. |
154
|
| Unclosed HTML tag found: <host>[:<port>] return the port. |
156
|
| Unclosed HTML tag found: <port>] return the port. |
156
|
| Unclosed HTML tag found: <host>[:<port>] |
159
|
| Unclosed HTML tag found: <port>] |
159
|
| Line is longer than 80 characters. |
160
|
| '(' is followed by whitespace. |
162
|
| Parameter serverAddressString should be final. |
162
|
| ')' is preceded with whitespace. |
162
|
| '{' should be on the previous line. |
163
|
| '(' is followed by whitespace. |
166
|
| ')' is preceded with whitespace. |
166
|
| '{' should be on the previous line. |
167
|
| Line has trailing spaces. |
170
|
| '(' is followed by whitespace. |
172
|
| ')' is preceded with whitespace. |
172
|
| Line is longer than 80 characters. |
173
|
| '(' is followed by whitespace. |
173
|
| ')' is preceded with whitespace. |
173
|
| '(' is followed by whitespace. |
175
|
| ')' is preceded with whitespace. |
175
|
| '{' should be on the previous line. |
177
|
| '(' is followed by whitespace. |
178
|
| ')' is preceded with whitespace. |
178
|
| '}' should be on the same line. |
179
|
| '(' is followed by whitespace. |
180
|
| ')' is preceded with whitespace. |
180
|
| '{' should be on the previous line. |
181
|
| Must have at least one statement. |
181
|
| Line has trailing spaces. |
188
|
spellcast/util/package.html
Error | Line |
| Missing package documentation file. | 0 |
ui/BeepOnMouseEvents.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - java.awt.event.*. |
8
|
| Line is longer than 80 characters. |
11
|
| '{' should be on the previous line. |
19
|
| Line has trailing spaces. |
23
|
| Parameter e should be final. |
23
|
| Expected @param tag for 'e'. |
23
|
| '{' should be on the previous line. |
24
|
| Line has trailing spaces. |
26
|
| Line has trailing spaces. |
30
|
| Method 'mousePressed' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Parameter e should be final. |
30
|
| Expected @param tag for 'e'. |
30
|
| '{' should be on the previous line. |
31
|
| Line has trailing spaces. |
34
|
| Line has trailing spaces. |
38
|
| Parameter e should be final. |
38
|
| Expected @param tag for 'e'. |
38
|
| '{' should be on the previous line. |
39
|
| Line has trailing spaces. |
41
|
| Line has trailing spaces. |
45
|
| Parameter e should be final. |
45
|
| Expected @param tag for 'e'. |
45
|
| '{' should be on the previous line. |
46
|
| Line has trailing spaces. |
48
|
| Line has trailing spaces. |
52
|
| Parameter e should be final. |
52
|
| Expected @param tag for 'e'. |
52
|
| '{' should be on the previous line. |
53
|
| Line has trailing spaces. |
55
|
| Line has trailing spaces. |
57
|
| Line has trailing spaces. |
63
|
| Parameter e should be final. |
63
|
| Expected @param tag for 'e'. |
63
|
| '{' should be on the previous line. |
64
|
| Line has trailing spaces. |
66
|
| Line has trailing spaces. |
71
|
| Parameter e should be final. |
71
|
| Expected @param tag for 'e'. |
71
|
| '{' should be on the previous line. |
72
|
ui/ModalDialogThreadLockFix.java
Error | Line |
| File does not end with a newline. |
0
|
ui/ModalDialogThreadLockFix.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
19
|
| Line is longer than 80 characters. |
20
|
| Line is longer than 80 characters. |
21
|
| Line is longer than 80 characters. |
22
|
| Class ModalDialogThreadLockFix should be declared as final. |
26
|
| Missing a Javadoc comment. |
27
|
| Line is longer than 80 characters. |
31
|
| First sentence should end with a period. |
37
|
| Line is longer than 80 characters. |
38
|
| Missing a Javadoc comment. |
43
|
| Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
43
|
| Parameter toDisable should be final. |
48
|
| 'toDisable' hides a field. |
48
|
| Expected @param tag for 'toDisable'. |
48
|
| Line is longer than 80 characters. |
53
|
| Parameter toDisable should be final. |
55
|
| Expected @param tag for 'toDisable'. |
55
|
| Parameter dialog should be final. |
55
|
| Expected @param tag for 'dialog'. |
55
|
| Line is longer than 80 characters. |
56
|
| Line has trailing spaces. |
64
|
| Parameter frame should be final. |
67
|
| Expected @param tag for 'frame'. |
67
|
| Line has trailing spaces. |
83
|
| Parameter frame should be final. |
86
|
| Expected @param tag for 'frame'. |
86
|
| Line is longer than 80 characters. |
87
|
| Line is longer than 80 characters. |
99
|
| Unclosed HTML tag found: <b>NOTE: This is a workaround to Bug ID: 4180584. <code>com |
99
|
| Line has trailing spaces. |
100
|
| Parameter e should be final. |
102
|
| Expected @param tag for 'e'. |
102
|
| Line is longer than 80 characters. |
107
|
| Line has trailing spaces. |
108
|
| Parameter e should be final. |
110
|
| Expected @param tag for 'e'. |
110
|
| Parameter e should be final. |
117
|
| Expected @param tag for 'e'. |
117
|
| Line is longer than 80 characters. |
123
|
| Unclosed HTML tag found: <b>NOTE: This is a workaround to Bug ID: 4180584. <code>com |
123
|
| Line has trailing spaces. |
124
|
| Line has trailing spaces. |
126
|
| Line is longer than 80 characters. |
126
|
| Unclosed HTML tag found: <code>getGlassPane().setVisible( true )<code>. |
127
|
| Parameter e should be final. |
129
|
| Expected @param tag for 'e'. |
129
|
ui/PointUtilities.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.awt.*. |
7
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
8
|
| Class PointUtilities should be declared as final. |
16
|
| '{' should be on the previous line. |
17
|
| Missing a Javadoc comment. |
18
|
| '{' should be on the previous line. |
19
|
| '(' is followed by whitespace. |
31
|
| Parameter toBeCentered should be final. |
31
|
| ')' is preceded with whitespace. |
31
|
| '{' should be on the previous line. |
32
|
| '(' is followed by whitespace. |
37
|
| ')' is preceded with whitespace. |
37
|
| '(' is followed by whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| Line is longer than 80 characters. |
42
|
| Line is longer than 80 characters. |
43
|
| Line is longer than 80 characters. |
44
|
| Line is longer than 80 characters. |
47
|
| Line is longer than 80 characters. |
48
|
| Expected an @return tag. |
50
|
| Line is longer than 80 characters. |
50
|
| '(' is followed by whitespace. |
50
|
| Parameter centeredOn should be final. |
50
|
| Parameter toBeCentered should be final. |
50
|
| ')' is preceded with whitespace. |
50
|
| '(' is followed by whitespace. |
52
|
| ')' is preceded with whitespace. |
52
|
| '(' is followed by whitespace. |
56
|
| ')' is preceded with whitespace. |
56
|
| '(' is followed by whitespace. |
57
|
| ')' is preceded with whitespace. |
57
|
| '(' is followed by whitespace. |
58
|
| ')' is preceded with whitespace. |
58
|
| Line is longer than 80 characters. |
62
|
| Expected an @return tag. |
68
|
| Line is longer than 80 characters. |
68
|
| '(' is followed by whitespace. |
68
|
| Parameter centerPoint should be final. |
68
|
| Parameter toBeCentered should be final. |
68
|
| ')' is preceded with whitespace. |
68
|
| '(' is followed by whitespace. |
71
|
| ')' is preceded with whitespace. |
71
|
| '(' is followed by whitespace. |
74
|
| ')' is preceded with whitespace. |
74
|
| '(' is followed by whitespace. |
85
|
| Parameter c should be final. |
85
|
| ')' is preceded with whitespace. |
85
|
| '{' should be on the previous line. |
86
|
| '(' is followed by whitespace. |
89
|
| ')' is preceded with whitespace. |
89
|
| '{' should be on the previous line. |
90
|
ui/package.html
Error | Line |
| Missing package documentation file. | 0 |
util/Nullable.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Expected an @return tag. |
17
|
| Line has trailing spaces. |
18
|
util/package.html
Error | Line |
| Missing package documentation file. | 0 |