PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/botpress/service/BotRegistrationService.java
Priority 3
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java
fr/paris/lutece/plugins/botpress/business/RequestMessage.java
fr/paris/lutece/plugins/botpress/service/BotInstance.java
fr/paris/lutece/plugins/botpress/service/BotRegistrationService.java
fr/paris/lutece/plugins/botpress/service/ConverseService.java
fr/paris/lutece/plugins/botpress/service/LanguageService.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
50 |
fr/paris/lutece/plugins/botpress/service/renderers/BotMessageRenderer.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_TYPE': the field is declared in an interface type |
46 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'TYPE_TEXT': the field is declared in an interface type |
47 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'TYPE_FILE': the field is declared in an interface type |
48 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_TEXT': the field is declared in an interface type |
49 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_URL': the field is declared in an interface type |
50 |
fr/paris/lutece/plugins/botpress/service/renderers/FileRenderer.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
77 |
fr/paris/lutece/plugins/botpress/service/renderers/QuickRepliesRenderer.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
69 |
fr/paris/lutece/plugins/botpress/web/BPBotJspBean.java
Files
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java
Rule |
Violation |
Priority |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
181 |
fr/paris/lutece/plugins/botpress/business/RequestMessage.java
Rule |
Violation |
Priority |
Line |
CommentRequired |
Public method and constructor comments are required |
3 |
81–85 |
fr/paris/lutece/plugins/botpress/service/BotInstance.java
fr/paris/lutece/plugins/botpress/service/BotRegistrationService.java
fr/paris/lutece/plugins/botpress/service/ConverseService.java
fr/paris/lutece/plugins/botpress/service/LanguageService.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
50 |
fr/paris/lutece/plugins/botpress/service/renderers/BotMessageRenderer.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_TYPE': the field is declared in an interface type |
3 |
46 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'TYPE_TEXT': the field is declared in an interface type |
3 |
47 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'TYPE_FILE': the field is declared in an interface type |
3 |
48 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_TEXT': the field is declared in an interface type |
3 |
49 |
UnnecessaryModifier |
Unnecessary modifier 'final' on field 'FIELD_URL': the field is declared in an interface type |
3 |
50 |
fr/paris/lutece/plugins/botpress/service/renderers/FileRenderer.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
77 |
fr/paris/lutece/plugins/botpress/service/renderers/QuickRepliesRenderer.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
69 |
fr/paris/lutece/plugins/botpress/web/BPBotJspBean.java