Checkstyle Results
The following document contains the results of
Checkstyle.
Summary
Files | Infos | Warnings | Errors |
30 | 0 | 0 | 388 |
Files
himock/HiMock.java
Error | Line |
| File does not end with a newline. |
0
|
himock/HiMock.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| First sentence should end with a period. |
16
|
| Line has trailing spaces. |
18
|
| Line has trailing spaces. |
21
|
| Missing a Javadoc comment. |
22
|
| '=' is not preceded with whitespace. |
22
|
| Line has trailing spaces. |
23
|
| Missing a Javadoc comment. |
24
|
| '{' is not followed by whitespace. |
24
|
| '}' is not preceded with whitespace. |
24
|
| Line has trailing spaces. |
25
|
| Method 'mock' is not designed for extension - needs to be abstract, final or empty. |
26
|
| Missing a Javadoc comment. |
26
|
| Parameter mockedType should be final. |
26
|
| Parameter mocker should be final. |
26
|
| Line contains a tab character. |
27
|
| Line has trailing spaces. |
28
|
| Line contains a tab character. |
28
|
| Line contains a tab character. |
29
|
| ',' is not followed by whitespace. |
29
|
| Line contains a tab character. |
30
|
| 'if' is not followed by whitespace. |
31
|
| '{' is not preceded with whitespace. |
31
|
| Line contains a tab character. |
32
|
| Line has trailing spaces. |
34
|
| Line has trailing spaces. |
36
|
| Line contains a tab character. |
37
|
| Missing a Javadoc comment. |
39
|
| Parameter mockedType should be final. |
39
|
| Parameter mocker should be final. |
39
|
| 'if' construct must use '{}'s. |
40
|
| 'if' is not followed by whitespace. |
40
|
| '==' is not preceded with whitespace. |
40
|
| '==' is not followed by whitespace. |
40
|
| Line contains a tab character. |
41
|
| 'if' construct must use '{}'s. |
42
|
| Line contains a tab character. |
42
|
| 'if' is not followed by whitespace. |
42
|
| '==' is not preceded with whitespace. |
42
|
| '==' is not followed by whitespace. |
42
|
| Line contains a tab character. |
43
|
| Missing a Javadoc comment. |
45
|
| Line has trailing spaces. |
46
|
| Line contains a tab character. |
46
|
| 'try' is not followed by whitespace. |
46
|
| '{' is not preceded with whitespace. |
46
|
| Line has trailing spaces. |
47
|
| Line contains a tab character. |
47
|
| Line contains a tab character. |
48
|
| 'catch' is not preceded with whitespace. |
48
|
| '}' is not followed by whitespace. |
48
|
| 'catch' is not followed by whitespace. |
48
|
| '{' is not preceded with whitespace. |
48
|
| Line is longer than 80 characters. |
49
|
| Line contains a tab character. |
49
|
| ',' is not followed by whitespace. |
49
|
| Line contains a tab character. |
50
|
| Line contains a tab character. |
51
|
| Line has trailing spaces. |
52
|
| Method 'verify' is not designed for extension - needs to be abstract, final or empty. |
53
|
| Missing a Javadoc comment. |
53
|
| '{' is not preceded with whitespace. |
53
|
| ',' is not followed by whitespace. |
55
|
| '>' is not preceded with whitespace. |
55
|
| '>' is not followed by whitespace. |
55
|
| Line has trailing spaces. |
56
|
| 'for' construct must use '{}'s. |
57
|
| 'for' is not followed by whitespace. |
57
|
| '=' is not preceded with whitespace. |
57
|
| '=' is not followed by whitespace. |
57
|
| ';' is not followed by whitespace. |
57
|
| '<' is not preceded with whitespace. |
57
|
| '<' is not followed by whitespace. |
57
|
| ';' is not followed by whitespace. |
57
|
| Line contains a tab character. |
58
|
| 'cast' is not followed by whitespace. |
58
|
himock/core/ClassMockObjectMaker.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| '{' is not preceded with whitespace. |
17
|
| Missing a Javadoc comment. |
18
|
| Line contains a tab character. |
19
|
| Missing a Javadoc comment. |
19
|
| Parameter mockInvocationer should be final. |
19
|
| Line contains a tab character. |
20
|
| Line has trailing spaces. |
21
|
| Line contains a tab character. |
21
|
| Line contains a tab character. |
22
|
| Line has trailing spaces. |
23
|
| Line contains a tab character. |
23
|
| Line contains a tab character. |
24
|
| 'if' is not followed by whitespace. |
24
|
| '{' is not preceded with whitespace. |
24
|
| Line contains a tab character. |
25
|
| Line contains a tab character. |
26
|
| Line has trailing spaces. |
27
|
| Line has trailing spaces. |
28
|
| Line contains a tab character. |
28
|
| Line has trailing spaces. |
29
|
| Line contains a tab character. |
29
|
| 'if' construct must use '{}'s. |
30
|
| Line contains a tab character. |
30
|
| 'if' is not followed by whitespace. |
30
|
| Line contains a tab character. |
31
|
| Line has trailing spaces. |
32
|
| Line contains a tab character. |
32
|
| '=' is not preceded with whitespace. |
33
|
| '=' is not followed by whitespace. |
33
|
| Line has trailing spaces. |
34
|
| Line contains a tab character. |
34
|
| Method 'mock' is not designed for extension - needs to be abstract, final or empty. |
36
|
| Missing a Javadoc comment. |
36
|
| Line is longer than 80 characters. |
37
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Parameter obj should be final. |
40
|
| Parameter method should be final. |
40
|
| Parameter args should be final. |
41
|
| Parameter proxy should be final. |
41
|
| '{' is not preceded with whitespace. |
41
|
himock/core/IMockObjectMaker.java
Error | Line |
| File does not end with a newline. |
0
|
himock/core/IMockObjectMaker.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| First sentence should end with a period. |
10
|
| Expected an @return tag. |
13
|
himock/core/InterfaceMockObjectMaker.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| '{' is not preceded with whitespace. |
13
|
| Missing a Javadoc comment. |
14
|
| Line contains a tab character. |
15
|
| Missing a Javadoc comment. |
15
|
| Parameter mockInvocationer should be final. |
15
|
| Line contains a tab character. |
16
|
| '=' is not preceded with whitespace. |
16
|
| '=' is not followed by whitespace. |
16
|
| Line has trailing spaces. |
17
|
| Line contains a tab character. |
17
|
| Method 'mock' is not designed for extension - needs to be abstract, final or empty. |
18
|
| Missing a Javadoc comment. |
18
|
| Missing a Javadoc comment. |
23
|
| '{' is not preceded with whitespace. |
23
|
| Line is longer than 80 characters. |
25
|
| Line is longer than 80 characters. |
27
|
| Missing a Javadoc comment. |
27
|
| Parameter proxy should be final. |
27
|
| Parameter method should be final. |
27
|
| Parameter args should be final. |
27
|
himock/core/MockBehavior.java
Error | Line |
| File does not end with a newline. |
0
|
himock/core/MockBehavior.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line contains a tab character. |
19
|
| Missing a Javadoc comment. |
19
|
| Variable 'fMockedType' must be private and have accessor methods. |
19
|
| Missing a Javadoc comment. |
20
|
| Missing a Javadoc comment. |
21
|
| Line has trailing spaces. |
22
|
| Missing a Javadoc comment. |
23
|
| Parameter mockedType should be final. |
23
|
| Parameter mocker should be final. |
23
|
| '{' is not preceded with whitespace. |
23
|
| '=' is not preceded with whitespace. |
24
|
| '=' is not followed by whitespace. |
24
|
| '=' is not preceded with whitespace. |
25
|
| '=' is not followed by whitespace. |
25
|
| Line is longer than 80 characters. |
26
|
| Line contains a tab character. |
26
|
| Method 'invoke' is not designed for extension - needs to be abstract, final or empty. |
28
|
| Missing a Javadoc comment. |
28
|
| Parameter mockedMethod should be final. |
28
|
| ',' is not followed by whitespace. |
28
|
| Parameter args should be final. |
28
|
| '{' is not preceded with whitespace. |
28
|
| Line has trailing spaces. |
30
|
| Line is longer than 80 characters. |
31
|
| ',' is not followed by whitespace. |
31
|
| Line contains a tab character. |
33
|
| Line contains a tab character. |
34
|
| Line is longer than 80 characters. |
37
|
| Missing a Javadoc comment. |
37
|
| Parameter mockedMethod should be final. |
37
|
| Redundant throws: 'NotImplementedMethodException' is unchecked exception. |
37
|
| 'if' construct must use '{}'s. |
38
|
| Line is longer than 80 characters. |
38
|
| 'if' is not followed by whitespace. |
38
|
| ',' is not followed by whitespace. |
38
|
| Line is longer than 80 characters. |
40
|
| ',' is not followed by whitespace. |
40
|
| 'if' construct must use '{}'s. |
41
|
| 'if' is not followed by whitespace. |
41
|
| ')' is preceded with whitespace. |
41
|
| ',' is not followed by whitespace. |
42
|
| ')' is preceded with whitespace. |
42
|
| Line contains a tab character. |
45
|
| Method 'verify' is not designed for extension - needs to be abstract, final or empty. |
45
|
| Missing a Javadoc comment. |
45
|
| 'if' construct must use '{}'s. |
46
|
| Line contains a tab character. |
46
|
| 'if' is not followed by whitespace. |
46
|
| Line is longer than 80 characters. |
47
|
| Line contains a tab character. |
47
|
| 'cast' is not followed by whitespace. |
47
|
| Line contains a tab character. |
48
|
himock/core/exception/CannotMockInnerOrAnonymousClassException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Missing a Javadoc comment. |
10
|
| Variable 'fMockedClass' must be private and have accessor methods. |
10
|
| Line is longer than 80 characters. |
12
|
| Missing a Javadoc comment. |
12
|
| Parameter mockedInnerOrAnonymousClass should be final. |
12
|
| Line has trailing spaces. |
17
|
| Line has trailing spaces. |
18
|
himock/core/exception/ExpertedInvocationException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line contains a tab character. |
12
|
| Missing a Javadoc comment. |
12
|
| Variable 'fUninvokedMethods' must be private and have accessor methods. |
12
|
| Line contains a tab character. |
14
|
| Missing a Javadoc comment. |
14
|
| Parameter fUninvokedMethods should be final. |
14
|
| 'fUninvokedMethods' hides a field. |
14
|
| Line is longer than 80 characters. |
15
|
| Line contains a tab character. |
15
|
| '+' is not preceded with whitespace. |
15
|
| '+' is not followed by whitespace. |
15
|
| Line contains a tab character. |
16
|
| '=' is not preceded with whitespace. |
16
|
| '=' is not followed by whitespace. |
16
|
| Line contains a tab character. |
17
|
| Line contains a tab character. |
18
|
| Missing a Javadoc comment. |
18
|
| Parameter methods should be final. |
18
|
| '{' is not preceded with whitespace. |
18
|
| Line contains a tab character. |
19
|
| Line contains a tab character. |
20
|
| 'for' is not followed by whitespace. |
20
|
| '=' is not preceded with whitespace. |
20
|
| '=' is not followed by whitespace. |
20
|
| ';' is not followed by whitespace. |
20
|
| '<' is not preceded with whitespace. |
20
|
| '<' is not followed by whitespace. |
20
|
| ';' is not followed by whitespace. |
20
|
| '{' is not preceded with whitespace. |
20
|
| Line contains a tab character. |
21
|
| Line contains a tab character. |
22
|
| Line contains a tab character. |
23
|
| Line contains a tab character. |
24
|
| Line contains a tab character. |
25
|
himock/core/exception/MethodReturnTypeMismatchException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line contains a tab character. |
12
|
| Missing a Javadoc comment. |
12
|
| Variable 'fMockedMethod' must be private and have accessor methods. |
12
|
| Line contains a tab character. |
13
|
| Missing a Javadoc comment. |
13
|
| Variable 'fMethodOfmocker' must be private and have accessor methods. |
13
|
| Line is longer than 80 characters. |
17
|
| Parameter mockedMethod should be final. |
17
|
| Expected @param tag for 'mockedMethod'. |
17
|
| Parameter methodOfmocker should be final. |
17
|
| Expected @param tag for 'methodOfmocker'. |
17
|
| Line is longer than 80 characters. |
18
|
| '+' is not preceded with whitespace. |
18
|
| '+' is not followed by whitespace. |
18
|
| '+' is not followed by whitespace. |
19
|
| '+' is not preceded with whitespace. |
19
|
| '+' is not followed by whitespace. |
19
|
| Line contains a tab character. |
20
|
| '=' is not preceded with whitespace. |
20
|
| '=' is not followed by whitespace. |
20
|
| Line contains a tab character. |
21
|
| '=' is not preceded with whitespace. |
21
|
| '=' is not followed by whitespace. |
21
|
himock/core/exception/MockClassNeedCglibException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Parameter message should be final. |
14
|
| Expected @param tag for 'message'. |
14
|
| Parameter cause should be final. |
14
|
| Expected @param tag for 'cause'. |
14
|
himock/core/exception/MockedClassNeedDefaultConstructorException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line is longer than 80 characters. |
9
|
| Line contains a tab character. |
10
|
| Missing a Javadoc comment. |
10
|
| Variable 'fMockedClazz' must be private and have accessor methods. |
10
|
| Line contains a tab character. |
11
|
| Line contains a tab character. |
12
|
| Line contains a tab character. |
13
|
| Line contains a tab character. |
14
|
| Parameter mockedClazz should be final. |
14
|
| Expected @param tag for 'mockedClazz'. |
14
|
| Line contains a tab character. |
15
|
| '+' is not preceded with whitespace. |
15
|
| '+' is not followed by whitespace. |
15
|
| Line contains a tab character. |
16
|
| '=' is not preceded with whitespace. |
16
|
| '=' is not followed by whitespace. |
16
|
| Line contains a tab character. |
17
|
himock/core/exception/NotImplementedMethodException.java
Error | Line |
| File does not end with a newline. |
0
|
himock/core/exception/NotImplementedMethodException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line contains a tab character. |
12
|
| Missing a Javadoc comment. |
12
|
| Variable 'fMockedMethod' must be private and have accessor methods. |
12
|
| Missing a Javadoc comment. |
13
|
| Parameter mockedMethod should be final. |
13
|
| '=' is not preceded with whitespace. |
15
|
| '=' is not followed by whitespace. |
15
|
himock/core/exception/package.html
Error | Line |
| Missing package documentation file. | 0 |
himock/core/package.html
Error | Line |
| Missing package documentation file. | 0 |
himock/package.html
Error | Line |
| Missing package documentation file. | 0 |
himock/util/ClassUtil.java
Error | Line |
| File does not end with a newline. |
0
|
himock/util/ClassUtil.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Utility classes should not have a public or default constructor. |
12
|
| Missing a Javadoc comment. |
13
|
| Missing a Javadoc comment. |
15
|
| Parameter clazz should be final. |
15
|
| Parameter method should be final. |
16
|
| Line is longer than 80 characters. |
18
|
| Line is longer than 80 characters. |
25
|
| Missing a Javadoc comment. |
25
|
| Parameter clazz should be final. |
25
|
| Parameter method should be final. |
25
|
| Line is longer than 80 characters. |
27
|
| ',' is not followed by whitespace. |
27
|
| ',' is not followed by whitespace. |
29
|
| ',' is not followed by whitespace. |
31
|
| ',' is not followed by whitespace. |
31
|
| Missing a Javadoc comment. |
35
|
| Parameter a should be final. |
35
|
| Parameter b should be final. |
35
|
| 'if' construct must use '{}'s. |
36
|
| 'if' is not followed by whitespace. |
36
|
| '(' is followed by whitespace. |
36
|
| '(' is followed by whitespace. |
36
|
| ')' is preceded with whitespace. |
36
|
| ')' is preceded with whitespace. |
36
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
41
|
| 'if' construct must use '{}'s. |
42
|
| 'if' is not followed by whitespace. |
42
|
| '!=' is not preceded with whitespace. |
42
|
| '!=' is not followed by whitespace. |
42
|
| Line has trailing spaces. |
44
|
| 'for' is not followed by whitespace. |
45
|
| '=' is not preceded with whitespace. |
45
|
| '=' is not followed by whitespace. |
45
|
| ';' is not followed by whitespace. |
45
|
| '<' is not preceded with whitespace. |
45
|
| '<' is not followed by whitespace. |
45
|
| ';' is not followed by whitespace. |
45
|
| '{' is not preceded with whitespace. |
45
|
| 'if' construct must use '{}'s. |
46
|
| 'if' is not followed by whitespace. |
46
|
| Missing a Javadoc comment. |
52
|
| 'public' modifier out of order with the JLS suggestions. |
52
|
| Parameter cls should be final. |
52
|
| Missing a Javadoc comment. |
56
|
| Parameter clazz should be final. |
56
|
| '{' is not preceded with whitespace. |
56
|
| 'if' construct must use '{}'s. |
57
|
| Line contains a tab character. |
57
|
| 'if' is not followed by whitespace. |
57
|
| Line contains a tab character. |
58
|
| '+' is not preceded with whitespace. |
58
|
| '+' is not followed by whitespace. |
58
|
| 'if' construct must use '{}'s. |
59
|
| Line contains a tab character. |
59
|
| 'if' is not followed by whitespace. |
59
|
| Line is longer than 80 characters. |
60
|
| Line contains a tab character. |
60
|
| '+' is not preceded with whitespace. |
60
|
| '+' is not followed by whitespace. |
60
|
| Line contains a tab character. |
61
|
| Line contains a tab character. |
62
|
| Line contains a tab character. |
63
|
| Line contains a tab character. |
64
|
| Line contains a tab character. |
65
|
| Line contains a tab character. |
66
|
| Line contains a tab character. |
67
|
himock/util/NoSuchMethodRuntimeException.java
Error | Line |
| Line does not match expected header line of 'chen56'. |
1
|
| Line contains a tab character. |
12
|
| Missing a Javadoc comment. |
12
|
| Variable 'fClazz' must be private and have accessor methods. |
12
|
| Line contains a tab character. |
13
|
| Missing a Javadoc comment. |
13
|
| Variable 'fMethod' must be private and have accessor methods. |
13
|
| Line is longer than 80 characters. |
15
|
| Missing a Javadoc comment. |
15
|
| Parameter clazz should be final. |
15
|
| Parameter method should be final. |
15
|
| Parameter cause should be final. |
15
|
| '+' is not preceded with whitespace. |
16
|
| '+' is not followed by whitespace. |
16
|
| '+' is not preceded with whitespace. |
16
|
| '+' is not followed by whitespace. |
16
|
| '=' is not preceded with whitespace. |
18
|
| '=' is not followed by whitespace. |
18
|
himock/util/package.html
Error | Line |
| Missing package documentation file. | 0 |