The following document contains the results of PMD 4.3.
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 47 - 205 |
Violation | Line |
---|---|
Private field 'address' could be made final; it is only initialized in the declaration or constructor. | 79 |
Private field 'nbThread' could be made final; it is only initialized in the declaration or constructor. | 82 |
Perhaps 'nbThread' could be replaced by a local variable. | 82 |
Private field 'isFilterAccessEnabled' could be made final; it is only initialized in the declaration or constructor. | 84 |
Private field 'useTrap' could be made final; it is only initialized in the declaration or constructor. | 86 |
Private field 'listUsmUser' could be made final; it is only initialized in the declaration or constructor. | 90 |
Private field 'listTargetElements' could be made final; it is only initialized in the declaration or constructor. | 92 |
Private field 'hasV2' could be made final; it is only initialized in the declaration or constructor. | 94 |
Private field 'hasV3' could be made final; it is only initialized in the declaration or constructor. | 96 |
Private field 'workerPool' could be made final; it is only initialized in the declaration or constructor. | 100 |
Violation | Line |
---|---|
An empty method in an abstract class should be abstract instead | 80 - 82 |
Violation | Line |
---|---|
An empty method in an abstract class should be abstract instead | 80 - 82 |
Violation | Line |
---|---|
An empty method in an abstract class should be abstract instead | 80 - 82 |
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 60 - 648 |
Switch statements should have a default label | 550 - 563 |
Avoid instantiation through private constructors from outside of the constructor's class. | 597 - 601 |
Violation | Line |
---|---|
Private field 'address' could be made final; it is only initialized in the declaration or constructor. | 53 |
Private field 'port' could be made final; it is only initialized in the declaration or constructor. | 55 |
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 43 - 142 |
Violation | Line |
---|---|
Overridable method 'setInternalValue' called during object construction | 49 |