Violation |
Line |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
25 |
Private field 'report' could be made final; it is only initialized in the declaration or constructor. |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
30 |
Private field 'reportWriter' could be made final; it is only initialized in the declaration or constructor. |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
35 |
Avoid using redundant field initializer for 'numberOfErrors' |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
60 |
Parameter 'test' is not assigned and could be declared final |
66 |
Parameter 'throwable' is not assigned and could be declared final |
67 |
Avoid using redundant field initializer for 'numberOfFailures' |
78 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
78 |
Parameter 'test' is not assigned and could be declared final |
84 |
Parameter 'failure' is not assigned and could be declared final |
85 |
Parameter 'test' is not assigned and could be declared final |
96 |
Document empty method |
97 - 98 |
Avoid using redundant field initializer for 'numberOfTests' |
103 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
103 |
Parameter 'test' is not assigned and could be declared final |
108 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
116 |
Avoid using redundant field initializer for 'startTime' |
116 |
Variables that are final and static should be all capitals, 'newLine' is not all capitals. |
121 |
Parameter 'test' is not assigned and could be declared final |
145 |
Parameter 'throwable' is not assigned and could be declared final |
146 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
153 |
Private field 'failures' could be made final; it is only initialized in the declaration or constructor. |
153 |
Use explicit scoping instead of the default package private level |
161 - 204 |
Useless parentheses. |
163 |
StringBuffer constructor is initialized with size 16, but has at least 40 characters appended. |
164 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
165 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
166 |
Avoid throwing raw exception types. |
200 |
Use explicit scoping instead of the default package private level |
211 - 212 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
212 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
213 |
Use explicit scoping instead of the default package private level |
213 |