PMD Results

The following document contains the results of PMD 5.3.5.

Files

cn/home1/oss/lib/swagger/ManualRequestHandler.java

Violation Line
Avoid unused private fields such as 'apiOperationInfo'. 41
Field consumes has the same name as a method 43
Field declaringClass has the same name as a method 44
Field groupName has the same name as a method 45
Field headers has the same name as a method 46
Field params has the same name as a method 54
Field produces has the same name as a method 59
Field supportedMethods has the same name as a method 61

cn/home1/oss/lib/swagger/SwaggerUtils.java

Violation Line
This abstract class does not have any abstract methods 925
A class which only has private constructors should be final 925
Abstract classes should be named AbstractXXX 925

cn/home1/oss/lib/swagger/model/ApiOperationInfo.java

Violation Line
Avoid unused private fields such as 'name'. 16
Avoid unused private fields such as 'notes'. 17
Avoid unused private fields such as 'tags'. 18
Avoid unused private fields such as 'extensions'. 19
Avoid unused private fields such as 'apiRequest'. 20
Avoid unused private fields such as 'apiResponse'. 21

cn/home1/oss/lib/swagger/model/ApiResponse.java

Violation Line
Private field 'response' could be made final; it is only initialized in the declaration or constructor. 14
Avoid unused private fields such as 'response'. 14

cn/home1/oss/lib/swagger/starter/AnnotationCheckListener.java

Violation Line
Parameter 'event' is not assigned and could be declared final 25
Local variable 'beanNamesForAnnotation' could be declared final 27
Parameter 'beanName' is not assigned and could be declared final 34

cn/home1/oss/lib/swagger/starter/Swagger2DocumentationAutoConfiguration.java

Violation Line
Avoid unused private methods such as 'errorPath()'. 106
Avoid unused private methods such as 'anyPath()'. 110