PMD Results
The following document contains the results of PMD 5.5.1.
Files
fr/paris/lutece/plugins/chatbot/modules/stationnement/business/NoFeesDay.java
Violation |
Line |
Avoid unused imports such as 'javax.validation.constraints' |
36 |
Avoid unused imports such as 'org.hibernate.validator.constraints' |
37 |
fr/paris/lutece/plugins/chatbot/modules/stationnement/service/bot/StationnementChatBot.java
Violation |
Line |
Avoid unused local variables such as 'strResponse'. |
63 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
63 |
fr/paris/lutece/plugins/chatbot/modules/stationnement/web/AbstractManageNoFeesDaysJspBean.java
Violation |
Line |
Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. |
66 |
fr/paris/lutece/plugins/chatbot/modules/stationnement/web/NoFeesDayActionServlet.java
Violation |
Line |
The String literal "memory" appears 4 times in this file; the first occurrence is on line 143 |
143 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
146 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
150 |
Avoid variables with short names like it |
155 |
Avoid variables with short names like it |
157 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
171 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
176 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
189 |
fr/paris/lutece/plugins/chatbot/modules/stationnement/web/NoFeesDayJspBean.java
Violation |
Line |
Assigning an Object to null is a code smell. Consider refactoring. |
108 |
fr/paris/lutece/plugins/chatbot/modules/stationnement/web/StationnementChatServlet.java
Violation |
Line |
Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonNode' |
47 |
Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonNode' |
47 |
Avoid unused imports such as 'com.fasterxml.jackson.databind.ObjectMapper' |
48 |
Avoid unused imports such as 'com.fasterxml.jackson.databind.ObjectMapper' |
48 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
75 |