The following document contains the results of PMD 6.21.0.
Rule | Violation | Line |
---|---|---|
AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 219 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 48–305 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 48–304 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 183–184 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 194–195 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 206–207 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 218–219 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 90–91 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 101–103 |
Rule | Violation | Line |
---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 102 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 102 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 102 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 50 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 86 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 87–88 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 88 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 93–94 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 94 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 102–103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 107–108 |
Rule | Violation | Line |
---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 84 |
DataClass | The class 'TaskOption' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=9, WMC=30) | 92–319 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 139 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 140 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 140 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 144 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 176 |
CyclomaticComplexity | The method 'getTaskOption(CommandLine, String)' has a cyclomatic complexity of 14. | 207–282 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 222–224 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 246 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 246 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 253 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 254 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 262 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 263 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 276 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 341 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 356–358 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 358 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 370–373 |
CyclomaticComplexity | The method 'gestMonitorOption(CommandLine, String)' has a cyclomatic complexity of 16. | 383–429 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 393 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 397 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 408 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 412 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 419 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 423 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'WaarpMonitor' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=6) | 31–83 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 31–83 |
Rule | Violation | Line |
---|---|---|
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 33 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 38 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 48–49 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 48 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 48–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 48–49 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 60 |
Rule | Violation | Line |
---|---|---|
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 26–51 |
Rule | Violation | Line |
---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 66 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 71 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 91 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 96 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 114 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 116–119 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 117–118 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'EXCEPTION_WHILE_ANSWERED'. | 53 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 58 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 74 |
UnusedLocalVariable | Avoid unused local variables such as 'homeDir'. | 75 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 107 |
UnusedLocalVariable | Avoid unused local variables such as 'homeDir'. | 108 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 133 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 134 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 135 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 136 |
CyclomaticComplexity | The method 'invoke()' has a cyclomatic complexity of 13. | 154–239 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 173 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 183 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 194 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 206 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 218–219 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 231 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 21–467 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 79 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 80 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 81 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 82 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 115 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 122–123 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 129 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 137 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 237 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 239 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 240 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 244 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 245–260 |
MissingBreakInSwitch | A switch statement does not contain a break | 245–260 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 257 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 270 |
CloseResource | Ensure that resources like this Response object are closed after use | 309 |
MissingBreakInSwitch | A switch statement does not contain a break | 317–334 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 326 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 331 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 370 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 388–391 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 439 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 441 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 450–453 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 58 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 59 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 78 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 100–101 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 101 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 112 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 135 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 135–137 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 156 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 157 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 158 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 159 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 170–171 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 181 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 181 |
Rule | Violation | Line |
---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 147–148 |
MissingOverride | The method 'setStatus(int)' is missing an @Override annotation. | 162–168 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 272–273 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 274 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 274 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 274 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 274 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 69 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 70 |
ImmutableField | Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. | 70 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 100 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 116 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 118 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 166–171 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 192–200 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 209–230 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 218 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 272–288 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 283 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 297–304 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 54 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 55 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 56 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 90 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 90–91 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 104 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 126–128 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 126 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 147 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 178 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 185 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 21–678 |
TooManyMethods | This class has too many methods, consider refactoring it. | 69–678 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 105 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 106 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 107 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 108 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 180 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 183–193 |
AssignmentInOperand | Avoid assignments in operands | 211 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 253 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 261–262 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 268 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 276 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 383 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 385 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 386 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 390 |
MissingBreakInSwitch | A switch statement does not contain a break | 391–408 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 391–408 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 405 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 465–469 |
CloseResource | Ensure that resources like this Response object are closed after use | 511 |
MissingBreakInSwitch | A switch statement does not contain a break | 522–539 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 530 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 536 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 578 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 598–602 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 667–671 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 59 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 60 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 78 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 100–101 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 100 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 112 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 135–137 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 135 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 156 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 157 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 158 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 159 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 170–171 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 181 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 181 |
Rule | Violation | Line |
---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 199–200 |
MissingOverride | The method 'setStatus(int)' is missing an @Override annotation. | 214–220 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 283–285 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 283–285 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 384 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 384 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 384 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 384 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 73 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 74 |
ImmutableField | Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. | 74 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 103–104 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 120 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 122 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 171–176 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 197–205 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 214–238 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 226 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 271–287 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 282 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 296–303 |
Rule | Violation | Line |
---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 54 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 55 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 56 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 57 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 58 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 59 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 101–103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 102 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 116 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 127–132 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 127–132 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 144–146 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 144 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 164 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 165 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 170 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 172 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 173 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 205 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 212 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 77 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 208 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 384 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 150 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 141 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 150 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 159 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipRequest' (lines '100'-'121'). | 100–121 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'first' (lines '79'-'81'). | 79–81 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'parser' (lines '210'-'282'). | 210–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'properties' (lines '211'-'282'). | 211–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'accessContract' (lines '233'-'282'). | 233–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'personalCertificate' (lines '237'-'282'). | 237–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpPartner' (lines '240'-'282'). | 240–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpRule' (lines '243'-'282'). | 243–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '245'-'282'). | 245–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'path' (lines '247'-'282'). | 247–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpModel' (lines '256'-'282'). | 256–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpModel' (lines '258'-'282'). | 258–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'applicationSessionId' (lines '265'-'282'). | 265–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'applicationSessionId' (lines '267'-'282'). | 267–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'stopFilePath' (lines '386'-'429'). | 386–429 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '387'-'429'). | 387–429 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'elapseInSecond' (lines '400'-'429'). | 400–429 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'retry' (lines '402'-'429'). | 402–429 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'retry' (lines '402'-'407'). | 402–407 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'delay' (lines '403'-'429'). | 403–429 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'delay' (lines '403'-'418'). | 403–418 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'homeDir' (lines '75'-'97'). | 75–97 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpId' (lines '91'-'97'). | 91–97 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'homeDir' (lines '108'-'130'). | 108–130 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpId' (lines '124'-'130'). | 124–130 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'executorService' (lines '115'-'141'). | 115–141 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'response' (lines '309'-'315'). | 309–315 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipMonitor' (lines '98'-'113'). | 98–113 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'requestIdNew' (lines '94'-'101'). | 94–101 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipTask' (lines '88'-'105'). | 88–105 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'args' (lines '177'-'179'). | 177–179 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'xmlDefault' (lines '144'-'148'). | 144–148 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'line' (lines '211'-'220'). | 211–220 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'executorService' (lines '253'-'280'). | 253–280 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'response' (lines '511'-'518'). | 511–518 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'ingestMonitor' (lines '98'-'113'). | 98–113 |
Rule | Violation | Line |
---|---|---|
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'ingestTask' (lines '99'-'117'). | 99–117 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'args' (lines '204'-'206'). | 204–206 |
Rule | Violation | Priority | Line |
---|---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 102 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 102 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 102 |
Rule | Violation | Priority | Line |
---|---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 50 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 86 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 87–88 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 88 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 93–94 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 94 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipRequest' (lines '100'-'121'). | 5 | 100–121 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 102–103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 107–108 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 77 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'first' (lines '79'-'81'). | 5 | 79–81 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 84 |
DataClass | The class 'TaskOption' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=9, WMC=30) | 3 | 92–319 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 139 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 140 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 140 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 144 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 176 |
CyclomaticComplexity | The method 'getTaskOption(CommandLine, String)' has a cyclomatic complexity of 14. | 3 | 207–282 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 208 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'parser' (lines '210'-'282'). | 5 | 210–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'properties' (lines '211'-'282'). | 5 | 211–282 |
AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 219 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 222–224 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'accessContract' (lines '233'-'282'). | 5 | 233–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'personalCertificate' (lines '237'-'282'). | 5 | 237–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpPartner' (lines '240'-'282'). | 5 | 240–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpRule' (lines '243'-'282'). | 5 | 243–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '245'-'282'). | 5 | 245–282 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 246 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 246 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'path' (lines '247'-'282'). | 5 | 247–282 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 253 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 254 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpModel' (lines '256'-'282'). | 5 | 256–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpModel' (lines '258'-'282'). | 5 | 258–282 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 262 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 263 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'applicationSessionId' (lines '265'-'282'). | 5 | 265–282 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'applicationSessionId' (lines '267'-'282'). | 5 | 267–282 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 276 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 341 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 354–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 356–358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 356–358 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 358 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 358 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 367–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 368–369 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 370–373 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 370–373 |
CyclomaticComplexity | The method 'gestMonitorOption(CommandLine, String)' has a cyclomatic complexity of 16. | 3 | 383–429 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 384 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'stopFilePath' (lines '386'-'429'). | 5 | 386–429 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '387'-'429'). | 5 | 387–429 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 393 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 397 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'elapseInSecond' (lines '400'-'429'). | 5 | 400–429 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'retry' (lines '402'-'429'). | 5 | 402–429 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'retry' (lines '402'-'407'). | 5 | 402–407 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'delay' (lines '403'-'429'). | 5 | 403–429 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'delay' (lines '403'-'418'). | 5 | 403–418 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 408 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 412 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 419 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 423 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'WaarpMonitor' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=6) | 3 | 31–83 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 31–83 |
Rule | Violation | Priority | Line |
---|---|---|---|
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 33 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 38 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 47–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 48–49 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 48 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 48–49 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 48–49 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 60 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 26–51 |
Rule | Violation | Priority | Line |
---|---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 66 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 71 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 71 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 91 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 96 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 96 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 114 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 116–119 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 117–118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'EXCEPTION_WHILE_ANSWERED'. | 3 | 53 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 58 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 74 |
UnusedLocalVariable | Avoid unused local variables such as 'homeDir'. | 3 | 75 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'homeDir' (lines '75'-'97'). | 5 | 75–97 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpId' (lines '91'-'97'). | 5 | 91–97 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 107 |
UnusedLocalVariable | Avoid unused local variables such as 'homeDir'. | 3 | 108 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'homeDir' (lines '108'-'130'). | 5 | 108–130 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'waarpId' (lines '124'-'130'). | 5 | 124–130 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 133 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 134 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 135 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 136 |
CyclomaticComplexity | The method 'invoke()' has a cyclomatic complexity of 13. | 3 | 154–239 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 173 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 183 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 183–184 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 194–195 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 194 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 206–207 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 206 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 218–219 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 218–219 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 231 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 21–467 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 79 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 80 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 81 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 82 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'executorService' (lines '115'-'141'). | 5 | 115–141 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 115 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 122–123 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 129 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 137 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 237 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 239 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 240 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 244 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 3 | 245–260 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 245–260 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 257 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 270 |
CloseResource | Ensure that resources like this Response object are closed after use | 3 | 309 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'response' (lines '309'-'315'). | 5 | 309–315 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 317–334 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 326 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 331 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 370 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 388–391 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 439 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 441 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 450–453 |
Rule | Violation | Priority | Line |
---|---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 58 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 59 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 78 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipMonitor' (lines '98'-'113'). | 5 | 98–113 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 100–101 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 101 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 112 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 135 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 135–137 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 150 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 156 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 157 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 158 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 159 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 170–171 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 181 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 181 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'requestIdNew' (lines '94'-'101'). | 5 | 94–101 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 147–148 |
MissingOverride | The method 'setStatus(int)' is missing an @Override annotation. | 3 | 162–168 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 272–273 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 274 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 274 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 274 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 274 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 48–305 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 69 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 70 |
ImmutableField | Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. | 3 | 70 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 100 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 116 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 118 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 166–171 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 192–200 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 209–230 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 218 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 272–288 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 283 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 297–304 |
Rule | Violation | Priority | Line |
---|---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 54 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 55 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 56 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'dipTask' (lines '88'-'105'). | 5 | 88–105 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 90 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 90–91 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 90–91 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 104 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 126–128 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 126 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 141 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 147 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'args' (lines '177'-'179'). | 5 | 177–179 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 3 | 178 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 185 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 21–678 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 69–678 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 105 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 106 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 107 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 108 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'xmlDefault' (lines '144'-'148'). | 5 | 144–148 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 180 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 183–193 |
AssignmentInOperand | Avoid assignments in operands | 3 | 211 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'line' (lines '211'-'220'). | 5 | 211–220 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 253 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'executorService' (lines '253'-'280'). | 5 | 253–280 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 261–262 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 268 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 276 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 383 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 385 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 386 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 390 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 391–408 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 3 | 391–408 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 405 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 465–469 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'response' (lines '511'-'518'). | 5 | 511–518 |
CloseResource | Ensure that resources like this Response object are closed after use | 3 | 511 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 522–539 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 530 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 536 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 578 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 598–602 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 667–671 |
Rule | Violation | Priority | Line |
---|---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 59 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 60 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 78 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'ingestMonitor' (lines '98'-'113'). | 5 | 98–113 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 100–101 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 100 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 112 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 135–137 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 135 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 150 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 156 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 157 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 158 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 159 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 170–171 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 172 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 179 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 181 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 181 |
Rule | Violation | Priority | Line |
---|---|---|---|
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 199–200 |
MissingOverride | The method 'setStatus(int)' is missing an @Override annotation. | 3 | 214–220 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 283–285 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 283–285 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 384 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 384 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 384 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 384 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 48–304 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 73 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 74 |
ImmutableField | Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. | 3 | 74 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 103–104 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 120 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 122 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 171–176 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 197–205 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 214–238 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 226 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 271–287 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 282 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 296–303 |
Rule | Violation | Priority | Line |
---|---|---|---|
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 54 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 55 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 56 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 57 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 58 |
BeanMembersShouldSerialize | Found non-transient, non-static member. Please mark as transient or provide accessors. | 3 | 59 |
DataflowAnomalyAnalysis | Found 'DU'-anomaly for variable 'ingestTask' (lines '99'-'117'). | 5 | 99–117 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 101–103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 101–103 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 102 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 116 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 127–132 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 127–132 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 144–146 |
LawOfDemeter | Potential violation of Law of Demeter (method chain calls) | 3 | 144 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 159 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 164 |
LawOfDemeter | Potential violation of Law of Demeter (static property access) | 3 | 165 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 170 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 172 |
LawOfDemeter | Potential violation of Law of Demeter (object not created locally) | 3 | 173 |
DataflowAnomalyAnalysis | Found 'DD'-anomaly for variable 'args' (lines '204'-'206'). | 5 | 204–206 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 3 | 205 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 212 |