PMD Results
The following document contains the results of PMD 5.2.1.
Files
com/trebogeer/jcql/JCQLMain.java
Violation |
Line |
Too many static imports may lead to messy code |
18–937 |
Avoid unused imports such as 'java.util.Collections' |
60 |
Avoid unused local variables such as 'toUDTArg0'. |
330 |
Avoid unused local variables such as 'toUDTArg1'. |
331 |
Avoid unused private methods such as 'toUDTMapperCode(JDefinedClass,JClass,Collection,String)'. |
480–483 |
Avoid empty if statements |
662–664 |
Avoid unused private methods such as 'rowMapperCode(JDefinedClass,JClass,Collection)'. |
719–720 |
com/trebogeer/jcql/JCQLUtils.java
Violation |
Line |
Avoid unused imports such as 'java.util.function.Function' |
39 |
com/trebogeer/jcql/dtp/DataTypeProcessor.java
Violation |
Line |
Avoid unused local variables such as 'je'. |
67 |
Avoid unused local variables such as 'tt'. |
116 |
Avoid empty if statements |
124–126 |
com/trebogeer/jcql/dtp/JCQLBindCodeFunctions.java
Violation |
Line |
Avoid unused imports such as 'com.datastax.driver.core.TupleType' |
4 |
Avoid unused imports such as 'com.datastax.driver.core.UserType' |
5 |
Avoid unused imports such as 'com.sun.codemodel.JClass' |
7 |
Avoid unused local variables such as 'fname'. |
36 |
Avoid unused local variables such as 'fnamec'. |
37 |
Avoid unused local variables such as 'fnamecl'. |
38 |
com/trebogeer/jcql/dtp/MapperFieldProcessor.java
Violation |
Line |
Useless parentheses. |
140 |