Violation |
Line |
The class 'MessageFixFacesContext' has a Cyclomatic Complexity of 2 (Highest = 7). |
39
- 177
|
Private field could be made final. It is only initialized in the declaration or constructor. |
40
|
Parameter 'clientId' is not assigned and could be declared final |
59
|
Parameter 'message' is not assigned and could be declared final |
78
|
Parameter 'clientId' is not assigned and could be declared final |
78
|
The method 'addMessage' has a Cyclomatic Complexity of 7. |
78
- 105
|
Avoid if (x != y) ..; else ..; |
90
- 96
|
Local variable could be declared final |
91
|
Local variable could be declared final |
97
|
Assigning an Object to null is a code smell. Consider refactoring. |
113
|
Assigning an Object to null is a code smell. Consider refactoring. |
114
|
Assigning an Object to null is a code smell. Consider refactoring. |
115
|
Parameter 'responseStream' is not assigned and could be declared final |
143
|
Parameter 'responseWriter' is not assigned and could be declared final |
151
|
Parameter 'root' is not assigned and could be declared final |
159
|