Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.5.1.

Fichiers

fr/paris/lutece/plugins/chatbot/business/ChatData.java

Violation Ligne
Private field '_listPosts' could be made final; it is only initialized in the declaration or constructor. 45

fr/paris/lutece/plugins/chatbot/business/Post.java

Violation Ligne
Avoid short class names like Post 41166
Document empty constructor 5860

fr/paris/lutece/plugins/chatbot/service/BotService.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 49

fr/paris/lutece/plugins/chatbot/service/ChatService.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 56

fr/paris/lutece/plugins/chatbot/service/bot/AbstractChatBot.java

Violation Ligne
An empty method in an abstract class should be abstract instead 287290
Document empty method 288290

fr/paris/lutece/plugins/chatbot/service/bot/MockChatBot.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.plugins.chatbot.business.Post' 37
Avoid unused imports such as 'fr.paris.lutece.plugins.chatbot.business.Post' 37

fr/paris/lutece/plugins/chatbot/web/ChatBotApp.java

Violation Ligne
The String literal "true" appears 5 times in this file; the first occurrence is on line 155 155
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 185
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 211
Avoid unnecessary if..then..else statements when returning booleans 312315

fr/paris/lutece/plugins/chatbot/web/ChatPageInclude.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 63