Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/workflow/modules/automaticassignment/business/AutomaticAssignmentDAO.java

Violation Ligne
These nested if statements could be combined 8792
Use block level rather than method level synchronization 135148

fr/paris/lutece/plugins/workflow/modules/automaticassignment/business/TaskAutomaticAssignmentConfigDAO.java

Violation Ligne
Use block level rather than method level synchronization 6888

fr/paris/lutece/plugins/workflow/modules/automaticassignment/service/AutomaticAssignmentPlugin.java

Violation Ligne
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 4759

fr/paris/lutece/plugins/workflow/modules/automaticassignment/service/AutomaticAssignmentService.java

Violation Ligne
Possible God class (WMC=74, ATFD=106, TCC=0.0) 34659
A high number of imports can indicate a high degree of coupling within an object. 34659
The class 'AutomaticAssignmentService' has a Cyclomatic Complexity of 4 (Highest = 18). 95659
Private field '_listAcceptedEntryTypesFile' could be made final; it is only initialized in the declaration or constructor. 144
Deeply nested if..then statements are hard to read 306311
The method 'notify' has a Cyclomatic Complexity of 11. 324396
The method 'getFiles' has a Cyclomatic Complexity of 12. 434488
Avoid variables with short names like t 529
The method 'buildModel' has a Cyclomatic Complexity of 18. 567658
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 571
Unnecessary use of fully qualified name 'fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation' due to existing import 'fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation' 585
Unnecessary use of fully qualified name 'fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation' due to existing import 'fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation' 593
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 642
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 648

fr/paris/lutece/plugins/workflow/modules/automaticassignment/service/TaskAutomaticAssignmentConfigService.java

Violation Ligne
Deeply nested if..then statements are hard to read 107111
Deeply nested if..then statements are hard to read 161165

fr/paris/lutece/plugins/workflow/modules/automaticassignment/web/AutomaticAssignmentJspBean.java

Violation Ligne
Private field '_automaticAssignmentService' could be made final; it is only initialized in the declaration or constructor. 92
Private field '_taskAutomaticAssignmentConfigService' could be made final; it is only initialized in the declaration or constructor. 93
Avoid declaring a variable if it is unreferenced before a possible exit point. 175

fr/paris/lutece/plugins/workflow/modules/automaticassignment/web/AutomaticAssignmentTaskComponent.java

Violation Ligne
A high number of imports can indicate a high degree of coupling within an object. 34416
The class 'AutomaticAssignmentTaskComponent' has a Standard Cyclomatic Complexity of 8 (Highest = 20). 84416
The class 'AutomaticAssignmentTaskComponent' has a Modified Cyclomatic Complexity of 8 (Highest = 20). 84416
The class 'AutomaticAssignmentTaskComponent' has a Cyclomatic Complexity of 11 (Highest = 29). 84416
The method 'doSaveConfig' has a Modified Cyclomatic Complexity of 20. 151301
The method 'doSaveConfig' has a Cyclomatic Complexity of 29. 151301
Avoid really long methods. 151301
The method doSaveConfig() has an NPath complexity of 13824000 151301
The method 'doSaveConfig' has a Standard Cyclomatic Complexity of 20. 151301
Avoid declaring a variable if it is unreferenced before a possible exit point. 160
Avoid declaring a variable if it is unreferenced before a possible exit point. 161
Avoid declaring a variable if it is unreferenced before a possible exit point. 164
Avoid declaring a variable if it is unreferenced before a possible exit point. 165
Avoid declaring a variable if it is unreferenced before a possible exit point. 166
Avoid declaring a variable if it is unreferenced before a possible exit point. 167
The method 'getDisplayConfigForm' has a Standard Cyclomatic Complexity of 10. 307397
The method 'getDisplayConfigForm' has a Modified Cyclomatic Complexity of 10. 307397
The method 'getDisplayConfigForm' has a Cyclomatic Complexity of 11. 307397
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 311
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 326