PMD Results
The following document contains the results of PMD 5.5.1.
Files
fr/paris/lutece/plugins/myportal/modules/myapps/services/MyPortalMyAppsWidgetHandler.java
Violation |
Line |
The method renderWidget() has an NPath complexity of 625 |
119–140 |
Prefer StringBuffer over += for concatenating strings |
124 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
129 |
fr/paris/lutece/plugins/myportal/modules/myapps/web/MyPortalMyAppsXPage.java
Violation |
Line |
A high number of imports can indicate a high degree of coupling within an object. |
34–639 |
The class 'MyPortalMyAppsXPage' has a Cyclomatic Complexity of 5 (Highest = 16). |
83–639 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
167 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
188 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
239 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
287 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
361 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
412 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
514 |
The method getMyAppsDatabaseUserInfo() has an NPath complexity of 261 |
592–638 |
The method 'getMyAppsDatabaseUserInfo' has a Cyclomatic Complexity of 16. |
592–638 |
fr/paris/lutece/plugins/myportal/modules/myapps/web/rs/MyPortalMyAppsRest.java
Violation |
Line |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
121 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
172 |