Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/workflow/modules/appointment/provider/AppointmentWorkflowConstants.java

Rule Violation Line
ClassNamingConventions The utility class name 'AppointmentWorkflowConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3977

fr/paris/lutece/plugins/workflow/modules/appointment/service/ICalService.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 145

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/AbstractUserAnonymizationService.java

Rule Violation Line
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 36

Priority 2

fr/paris/lutece/plugins/workflow/modules/appointment/service/ICalService.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'strDescription' 248

Priority 3

fr/paris/lutece/plugins/workflow/modules/appointment/business/EmailDTO.java

Rule Violation Line
ImmutableField Private field '_strSubject' could be made final; it is only initialized in the declaration or constructor. 41
ImmutableField Private field '_strContent' could be made final; it is only initialized in the declaration or constructor. 42

fr/paris/lutece/plugins/workflow/modules/appointment/business/ManualAppointmentNotificationHistoryDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 8297

fr/paris/lutece/plugins/workflow/modules/appointment/business/NotifyAppointmentDTO.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskChangeAppointmentStatusConfigDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5564

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyAdminAppointmentConfigDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5981

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyAppointmentConfigDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6182

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyCrmConfig.java

Rule Violation Line
CommentRequired Header comments are required 38119
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5457
CommentRequired Public method and constructor comments are required 5962
CommentRequired Public method and constructor comments are required 6467
CommentRequired Public method and constructor comments are required 6972
CommentRequired Public method and constructor comments are required 7477
CommentRequired Public method and constructor comments are required 7982
CommentRequired Public method and constructor comments are required 8487
CommentRequired Public method and constructor comments are required 8992
CommentRequired Public method and constructor comments are required 9497
CommentRequired Public method and constructor comments are required 99102
CommentRequired Public method and constructor comments are required 104107
CommentRequired Public method and constructor comments are required 109112
CommentRequired Public method and constructor comments are required 114117

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyCrmConfigDAO.java

Rule Violation Line
CommentRequired Header comments are required 40134

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskUpdateAppointmentCancelActionConfigDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5971

fr/paris/lutece/plugins/workflow/modules/appointment/business/UpdateAdminAppointmentHistoryDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7991

fr/paris/lutece/plugins/workflow/modules/appointment/provider/AppointmentNotificationMarkers.java

Rule Violation Line
ImmutableField Private field '_appointment' could be made final; it is only initialized in the declaration or constructor. 53
ImmutableField Private field '_notifyAppointmentDTO' could be made final; it is only initialized in the declaration or constructor. 58

fr/paris/lutece/plugins/workflow/modules/appointment/provider/AppointmentWorkflowConstants.java

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 49
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 50
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 51
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 52
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 53
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 54
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 55
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 56
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 59
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 60
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 61
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 62
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 65
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 66
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 67
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 68
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 69
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 70
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 71
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 72
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 73
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 74
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 75
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 76

fr/paris/lutece/plugins/workflow/modules/appointment/service/AbstractTaskNotifyAppointment.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34305
CyclomaticComplexity The method 'sendEmail(AppointmentDTO, ResourceHistory, HttpServletRequest, Locale, T, String)' has a cyclomatic complexity of 11. 113155
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 229
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 281
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 297

fr/paris/lutece/plugins/workflow/modules/appointment/service/ICalService.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34309
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 135136
NPathComplexity The method 'sendAppointment(String, String, String, String, String, String, String, AppointmentDTO, boolean)' has an NPath complexity of 240 135219
CyclomaticComplexity The method 'sendAppointment(String, String, String, String, String, String, String, AppointmentDTO, boolean)' has a cyclomatic complexity of 11. 135219
ConfusingTernary Avoid if (x != y) ..; else ..; 173
ShortVariable Avoid variables with short names like st 184
ShortVariable Avoid variables with short names like st 192
ConfusingTernary Avoid if (x != y) ..; else ..; 218
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 251

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAdminAppointment.java

Rule Violation Line
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 93100
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 101104

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAppointementCrm.java

Rule Violation Line
CommentRequired Header comments are required 56144
ShortVariable Avoid variables with short names like m 140

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAppointment.java

Rule Violation Line
CyclomaticComplexity The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 13. 84146
NPathComplexity The method 'processTask(int, HttpServletRequest, Locale)' has an NPath complexity of 768 84146
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 86
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 88

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentAnonymizeArchiveProcessingService.java

Rule Violation Line
CommentRequired Header comments are required 2992
ConfusingTernary Avoid if (x != y) ..; else ..; 48

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentDeleteArchiveProcessingService.java

Rule Violation Line
CommentRequired Header comments are required 717

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentResourceArchiver.java

Rule Violation Line
CommentRequired Header comments are required 1144

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/AbstractUserAnonymizationService.java

Rule Violation Line
CommentRequired Header comments are required 36

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/AppointmentFormIdAnonymizationService.java

Rule Violation Line
CommentRequired Header comments are required 529

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/IAnonymizationService.java

Rule Violation Line
CommentRequired Header comments are required 514
CommentRequired Public method and constructor comments are required 8
CommentRequired Public method and constructor comments are required 10
CommentRequired Public method and constructor comments are required 12

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/RandomGuidAnonymizationService.java

Rule Violation Line
CommentRequired Header comments are required 731

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/RandomNumberAnonymizationService.java

Rule Violation Line
CommentRequired Header comments are required 731

fr/paris/lutece/plugins/workflow/modules/appointment/web/AbstractNotifyAppointmentTaskComponent.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34355
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 174
ExcessiveMethodLength Avoid really long methods. 218354
NPathComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has an NPath complexity of 64512 218354
CyclomaticComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has a cyclomatic complexity of 22. 218354
NcssCount The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has a NCSS line count of 72. 218354
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 224
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 225
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 226
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 227

fr/paris/lutece/plugins/workflow/modules/appointment/web/ChangeAppointmentStatusTaskComponent.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as '_taskStateService'. 100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 171
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 190

fr/paris/lutece/plugins/workflow/modules/appointment/web/ExecuteWorkflowAction.java

Rule Violation Line
CyclomaticComplexity The method 'doExecuteWorkflowAction(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 16. 95158
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 107
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 110
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 127132

fr/paris/lutece/plugins/workflow/modules/appointment/web/ManualAppointmentNotificationTaskComponent.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 125

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyAdminAppointmentTaskComponent.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as '_actionService'. 64

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyAppointmentTaskComponent.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as '_actionService'. 63

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyCrmTaskComponent.java

Rule Violation Line
CommentRequired Header comments are required 53141
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 79

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAdminAppointmentTaskComponent.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 89

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAppointmentCancelActionTaskComponent.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 133
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 159
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 161
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 162

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAppointmentTaskComponent.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 103
ConfusingTernary Avoid if (x != y) ..; else ..; 120151
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 194
ShortVariable Avoid variables with short names like i 224

Priority 4

fr/paris/lutece/plugins/workflow/modules/appointment/business/NotifyAppointmentDTO.java

Rule Violation Line
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 196199
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 217220
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 259262

fr/paris/lutece/plugins/workflow/modules/appointment/service/AbstractTaskNotifyAppointment.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.user.User' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.service.UserService' 51

Files

fr/paris/lutece/plugins/workflow/modules/appointment/business/EmailDTO.java

Rule Violation Priority Line
ImmutableField Private field '_strSubject' could be made final; it is only initialized in the declaration or constructor. 3 41
ImmutableField Private field '_strContent' could be made final; it is only initialized in the declaration or constructor. 3 42

fr/paris/lutece/plugins/workflow/modules/appointment/business/ManualAppointmentNotificationHistoryDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 8297

fr/paris/lutece/plugins/workflow/modules/appointment/business/NotifyAppointmentDTO.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 5558
CommentRequired Public method and constructor comments are required 3 6063
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 196199
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 217220
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 259262

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskChangeAppointmentStatusConfigDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5564

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyAdminAppointmentConfigDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5981

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyAppointmentConfigDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6182

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyCrmConfig.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 38119
CommentRequired Public method and constructor comments are required 3 4952
CommentRequired Public method and constructor comments are required 3 5457
CommentRequired Public method and constructor comments are required 3 5962
CommentRequired Public method and constructor comments are required 3 6467
CommentRequired Public method and constructor comments are required 3 6972
CommentRequired Public method and constructor comments are required 3 7477
CommentRequired Public method and constructor comments are required 3 7982
CommentRequired Public method and constructor comments are required 3 8487
CommentRequired Public method and constructor comments are required 3 8992
CommentRequired Public method and constructor comments are required 3 9497
CommentRequired Public method and constructor comments are required 3 99102
CommentRequired Public method and constructor comments are required 3 104107
CommentRequired Public method and constructor comments are required 3 109112
CommentRequired Public method and constructor comments are required 3 114117

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskNotifyCrmConfigDAO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 40134

fr/paris/lutece/plugins/workflow/modules/appointment/business/TaskUpdateAppointmentCancelActionConfigDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5971

fr/paris/lutece/plugins/workflow/modules/appointment/business/UpdateAdminAppointmentHistoryDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7991

fr/paris/lutece/plugins/workflow/modules/appointment/provider/AppointmentNotificationMarkers.java

Rule Violation Priority Line
ImmutableField Private field '_appointment' could be made final; it is only initialized in the declaration or constructor. 3 53
ImmutableField Private field '_notifyAppointmentDTO' could be made final; it is only initialized in the declaration or constructor. 3 58

fr/paris/lutece/plugins/workflow/modules/appointment/provider/AppointmentWorkflowConstants.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'AppointmentWorkflowConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3977
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 49
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 50
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 51
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 52
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 53
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 54
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 55
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 56
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 59
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 60
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 61
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 62
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 65
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 66
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 67
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 68
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 69
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 70
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 71
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 72
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 73
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 74
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 75
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 76

fr/paris/lutece/plugins/workflow/modules/appointment/service/AbstractTaskNotifyAppointment.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34305
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.user.User' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.service.UserService' 4 51
CyclomaticComplexity The method 'sendEmail(AppointmentDTO, ResourceHistory, HttpServletRequest, Locale, T, String)' has a cyclomatic complexity of 11. 3 113155
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 229
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 281
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 297

fr/paris/lutece/plugins/workflow/modules/appointment/service/ICalService.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34309
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 135136
NPathComplexity The method 'sendAppointment(String, String, String, String, String, String, String, AppointmentDTO, boolean)' has an NPath complexity of 240 3 135219
CyclomaticComplexity The method 'sendAppointment(String, String, String, String, String, String, String, AppointmentDTO, boolean)' has a cyclomatic complexity of 11. 3 135219
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 145
ConfusingTernary Avoid if (x != y) ..; else ..; 3 173
ShortVariable Avoid variables with short names like st 3 184
ShortVariable Avoid variables with short names like st 3 192
ConfusingTernary Avoid if (x != y) ..; else ..; 3 218
AvoidReassigningParameters Avoid reassigning parameters such as 'strDescription' 2 248
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 251

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAdminAppointment.java

Rule Violation Priority Line
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 93100
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 101104

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAppointementCrm.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 56144
ShortVariable Avoid variables with short names like m 3 140

fr/paris/lutece/plugins/workflow/modules/appointment/service/TaskNotifyAppointment.java

Rule Violation Priority Line
CyclomaticComplexity The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 13. 3 84146
NPathComplexity The method 'processTask(int, HttpServletRequest, Locale)' has an NPath complexity of 768 3 84146
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 86
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 88

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentAnonymizeArchiveProcessingService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 2992
ConfusingTernary Avoid if (x != y) ..; else ..; 3 48

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentDeleteArchiveProcessingService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 717

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/WorkflowAppointmentResourceArchiver.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 1144

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/AbstractUserAnonymizationService.java

Rule Violation Priority Line
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 36
CommentRequired Header comments are required 3 36

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/AppointmentFormIdAnonymizationService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 529

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/IAnonymizationService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 514
CommentRequired Public method and constructor comments are required 3 8
CommentRequired Public method and constructor comments are required 3 10
CommentRequired Public method and constructor comments are required 3 12

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/RandomGuidAnonymizationService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 731

fr/paris/lutece/plugins/workflow/modules/appointment/service/archiver/anonymization/RandomNumberAnonymizationService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 731

fr/paris/lutece/plugins/workflow/modules/appointment/web/AbstractNotifyAppointmentTaskComponent.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34355
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 174
ExcessiveMethodLength Avoid really long methods. 3 218354
NPathComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has an NPath complexity of 64512 3 218354
CyclomaticComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has a cyclomatic complexity of 22. 3 218354
NcssCount The method 'doSaveConfig(HttpServletRequest, Locale, ITask, ITaskConfigService, boolean)' has a NCSS line count of 72. 3 218354
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 224
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 225
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 226
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 227

fr/paris/lutece/plugins/workflow/modules/appointment/web/ChangeAppointmentStatusTaskComponent.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as '_taskStateService'. 3 100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 171
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 190

fr/paris/lutece/plugins/workflow/modules/appointment/web/ExecuteWorkflowAction.java

Rule Violation Priority Line
CyclomaticComplexity The method 'doExecuteWorkflowAction(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 16. 3 95158
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 107
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 110
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 127132

fr/paris/lutece/plugins/workflow/modules/appointment/web/ManualAppointmentNotificationTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 125

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyAdminAppointmentTaskComponent.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as '_actionService'. 3 64

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyAppointmentTaskComponent.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as '_actionService'. 3 63

fr/paris/lutece/plugins/workflow/modules/appointment/web/NotifyCrmTaskComponent.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 53141
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 79

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAdminAppointmentTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 89

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAppointmentCancelActionTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 133
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 159
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 161
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 162

fr/paris/lutece/plugins/workflow/modules/appointment/web/UpdateAppointmentTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 103
ConfusingTernary Avoid if (x != y) ..; else ..; 3 120151
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 194
ShortVariable Avoid variables with short names like i 3 224