PMD Results

The following document contains the results of PMD 6.4.0.

Files

spring-boot-commons - top/infra/web/servlet/handler/OrderedHandlerInterceptor.java

Violation Priority Line
Classes implementing Serializable should set a serialVersionUID 3 1829

spring-boot-commons - top/infra/web/servlet/handler/OrderedHandlerInterceptorAdapter.java

Violation Priority Line
No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 1113

spring-boot-test-support - top/infra/test/containers/GenericContainerInitializer.java

Violation Priority Line
Variables that are final and static should be all capitals, 'containers' is not all capitals. 1 18

spring-boot-test-support - top/infra/test/containers/InitializerCallbacks.java

Violation Priority Line
The utility class name 'InitializerCallbacks' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper)' 1 1434

spring-boot-test-support - top/infra/test/contract/ContractRule.java

Violation Priority Line
Avoid using redundant field initializer for 'eurekaClientEnabled' 3 16
Avoid using redundant field initializer for 'springCloudConfigDiscoveryEnabled' 3 17
Avoid using redundant field initializer for 'springCloudConfigFailFast' 3 18
The method 'apply(Statement, Description)' has a NCSS line count of 13. 3 2143
Local variable 'errors' could be declared final 3 27
A catch statement should never catch throwable since it includes errors. 3 33
Parameter 'description' is not assigned and could be declared final 3 45
Parameter 'description' is not assigned and could be declared final 3 51
Document empty method body 3 5152
Parameter 'description' is not assigned and could be declared final 3 54
Parameter 'e' is not assigned and could be declared final 3 54
Document empty method body 3 5455
Parameter 'description' is not assigned and could be declared final 3 57
The method 'restoreProperties()' has a NCSS line count of 13. 3 6785