Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/crm/modules/mydashboard/web/MyDashboardCRMComponent.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 34335
The class 'MyDashboardCRMComponent' has a Standard Cyclomatic Complexity of 5 (Highest = 14). 77335
The class 'MyDashboardCRMComponent' has a Modified Cyclomatic Complexity of 5 (Highest = 14). 77335
The class 'MyDashboardCRMComponent' has a Cyclomatic Complexity of 5 (Highest = 18). 77335
The method getDashboardData() has an NPath complexity of 9218 87230
Avoid really long methods. 87230
The method 'getDashboardData' has a Standard Cyclomatic Complexity of 14. 87230
The method 'getDashboardData' has a Cyclomatic Complexity of 18. 87230
The method 'getDashboardData' has a Modified Cyclomatic Complexity of 14. 87230
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 99
Deeply nested if..then statements are hard to read 110113
Deeply nested if..then statements are hard to read 121124
Deeply nested if..then statements are hard to read 126130
Deeply nested if..then statements are hard to read 136140
Deeply nested if..then statements are hard to read 142147
Deeply nested if..then statements are hard to read 149153
Deeply nested if..then statements are hard to read 155158
Deeply nested if..then statements are hard to read 162167
Deeply nested if..then statements are hard to read 171174
Deeply nested if..then statements are hard to read 178181
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 187
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 188
Avoid unused method parameters such as 'request'. 255
When instantiating a SimpleDateFormat object, specify a Locale 258
Avoid variables with short names like d 261
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 267
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 306
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 320