Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 1

fr/paris/lutece/plugins/workflow/modules/notifygru/business/NotifyGruHistory.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_bContentcleaned' doesn't match '[a-z][a-zA-Z0-9]*' 268

fr/paris/lutece/plugins/workflow/modules/notifygru/service/NotificationToHistory.java

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

fr/paris/lutece/plugins/workflow/modules/notifygru/service/ServiceConfigTaskForm.java

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

fr/paris/lutece/plugins/workflow/modules/notifygru/utils/constants/Constants.java

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

fr/paris/lutece/plugins/workflow/modules/notifygru/web/AbstractNotificationConfigValidator.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 56

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskConfigController.java

Rule Violation Ligne
FieldNamingConventions The constant name '_taskNotifyGruConfigService' doesn't match '[A-Z][A-Z_0-9]*' 107
FieldNamingConventions The constant name '_notifyGRUService' doesn't match '[A-Z][A-Z_0-9]*' 108
FieldNamingConventions The final field name '_task' doesn't match '[a-z][a-zA-Z0-9]*' 110
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 262
FieldNamingConventions The final field name '_listNotificationConfig' doesn't match '[a-z][a-zA-Z0-9]*' 263
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 264
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 446
FieldNamingConventions The final field name '_listNotificationConfig' doesn't match '[a-z][a-zA-Z0-9]*' 447
FieldNamingConventions The final field name '_providerManager' doesn't match '[a-z][a-zA-Z0-9]*' 448
FieldNamingConventions The final field name '_strAction' doesn't match '[a-z][a-zA-Z0-9]*' 449

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/AgentNotificationConfig.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 60
FieldNamingConventions The final field name '_strStatutText' doesn't match '[a-z][a-zA-Z0-9]*' 61

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/BroadcastNotificationConfig.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 71
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 72
FieldNamingConventions The final field name '_strMailingType' doesn't match '[a-z][a-zA-Z0-9]*' 73
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 76
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 77
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 78
FieldNamingConventions The final field name '_strRecipientsCc' doesn't match '[a-z][a-zA-Z0-9]*' 79
FieldNamingConventions The final field name '_strRecipientsCci' doesn't match '[a-z][a-zA-Z0-9]*' 80

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/EmailNotificationConfig.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 61
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 62
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 64
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 65
FieldNamingConventions The final field name '_strRecipientsCc' doesn't match '[a-z][a-zA-Z0-9]*' 66
FieldNamingConventions The final field name '_strRecipientsCci' doesn't match '[a-z][a-zA-Z0-9]*' 67

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/GuichetNotificationConfig.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 68
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 69
FieldNamingConventions The final field name '_strStatusText' doesn't match '[a-z][a-zA-Z0-9]*' 70
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 71
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 72
FieldNamingConventions The final field name '_nDemandMaxStep' doesn't match '[a-z][a-zA-Z0-9]*' 73
FieldNamingConventions The final field name '_nDemandUserCurrentStep' doesn't match '[a-z][a-zA-Z0-9]*' 74

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/SMSNotificationConfig.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 59

Priority 3

fr/paris/lutece/plugins/workflow/modules/notifygru/business/NotifyGruHistoryDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 80128

fr/paris/lutece/plugins/workflow/modules/notifygru/business/TaskNotifyGruConfig.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34875
TooManyFields Too many fields 46875
CommentRequired Public method and constructor comments are required 158161
CallSuperInConstructor It is a good practice to call super() in a constructor 158161

fr/paris/lutece/plugins/workflow/modules/notifygru/business/TaskNotifyGruConfigDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 89100

fr/paris/lutece/plugins/workflow/modules/notifygru/service/NotifyGruService.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 134141

fr/paris/lutece/plugins/workflow/modules/notifygru/service/ServiceConfigTaskForm.java

Rule Violation Ligne
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 130
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 135
MissingBreakInSwitch A switch statement does not contain a break 185214

fr/paris/lutece/plugins/workflow/modules/notifygru/service/TaskNotifyGru.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34569
TooManyMethods This class has too many methods, consider refactoring it. 94569
NcssCount The method 'processTask(int, HttpServletRequest, Locale)' has a NCSS line count of 79. 122263
CyclomaticComplexity The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 19. 122263
ExcessiveMethodLength Avoid really long methods. 122263
NPathComplexity The method 'processTask(int, HttpServletRequest, Locale)' has an NPath complexity of 5184 122263
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 128
ConfusingTernary Avoid if (x != y) ..; else ..; 219245
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 238
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 239
ConfusingTernary Avoid if (x != y) ..; else ..; 354371
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 524

fr/paris/lutece/plugins/workflow/modules/notifygru/service/TaskNotifyGruConfigService.java

Rule Violation Ligne
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'config' 100

fr/paris/lutece/plugins/workflow/modules/notifygru/service/cache/NotifyGruCacheService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 5861
NonThreadSafeSingleton Singleton is not thread safe 7073
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 26 characters appended. 138

fr/paris/lutece/plugins/workflow/modules/notifygru/service/daemon/NotifyHistoryCleanerDaemon.java

Rule Violation Ligne
ImmutableField Private field '_notifyGruHistoryService' could be made final; it is only initialized in the declaration or constructor. 60
MissingOverride The method 'run()' is missing an @Override annotation. 65112
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 39 characters appended. 70
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 85
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 85
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 87
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 88
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 91
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 93
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 101
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 102

fr/paris/lutece/plugins/workflow/modules/notifygru/service/provider/impl/CommentMarkerProvider.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like ID 63
ConfusingTernary Avoid if (x != y) ..; else ..; 124

fr/paris/lutece/plugins/workflow/modules/notifygru/utils/constants/Constants.java

Rule Violation Ligne
AvoidDuplicateLiterals The String literal "message" appears 4 times in this file; the first occurrence is on line 61 61
ShortVariable Avoid variables with short names like ID 127

fr/paris/lutece/plugins/workflow/modules/notifygru/web/AbstractNotificationConfigValidator.java

Rule Violation Ligne
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 161

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskComponent.java

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

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskConfigController.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34908
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 177
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 185
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 231
TooManyMethods This class has too many methods, consider refactoring it. 261433
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 277
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 317
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 354
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 370
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 388
ConfusingTernary Avoid if (x != y) ..; else ..; 393402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 395
GodClass Possible God Class (WMC=51, ATFD=37, TCC=7.672%) 439907
TooManyMethods This class has too many methods, consider refactoring it. 440907
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 464
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 780
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 794
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 819
ConfusingTernary Avoid if (x != y) ..; else ..; 829836
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 835
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 846
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 859
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 871
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 892
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 894
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 894
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 900
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 900
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 904
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 904

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/AgentNotificationConfig.java

Rule Violation Ligne
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 112
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 164
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 169
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 183

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/BillingAccountBasedSMSNotificationConfig.java

Rule Violation Ligne
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strBillingAccount field if you want a default access modifier 47
DefaultPackage Use explicit scoping instead of the default package private level 47
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strBillingGroup field if you want a default access modifier 50
DefaultPackage Use explicit scoping instead of the default package private level 50

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/BroadcastNotificationConfig.java

Rule Violation Ligne
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 146
NPathComplexity The method 'validateFieldsWithoutMarker()' has an NPath complexity of 288 206242
CyclomaticComplexity The method 'validateFieldsWithoutMarker()' has a cyclomatic complexity of 11. 206242
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 210
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 250

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/EmailNotificationConfig.java

Rule Violation Ligne
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 122
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 186
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 205

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/GuichetNotificationConfig.java

Rule Violation Ligne
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 129
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 220
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 220

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/SMSNotificationConfig.java

Rule Violation Ligne
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 109
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 172

Priority 4

fr/paris/lutece/plugins/workflow/modules/notifygru/business/INotifyGruHistoryDAO.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Date' 37

fr/paris/lutece/plugins/workflow/modules/notifygru/service/daemon/NotifyHistoryCleanerDaemon.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 40
UnusedImports Avoid unused imports such as 'javax.inject.Named' 41

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskConfigController.java

Rule Violation Ligne
ShortClassName Avoid short class names like View 260433

Fichiers

fr/paris/lutece/plugins/workflow/modules/notifygru/business/INotifyGruHistoryDAO.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.Date' 4 37

fr/paris/lutece/plugins/workflow/modules/notifygru/business/NotifyGruHistory.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_bContentcleaned' doesn't match '[a-z][a-zA-Z0-9]*' 1 268

fr/paris/lutece/plugins/workflow/modules/notifygru/business/NotifyGruHistoryDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 80128

fr/paris/lutece/plugins/workflow/modules/notifygru/business/TaskNotifyGruConfig.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34875
TooManyFields Too many fields 3 46875
CommentRequired Public method and constructor comments are required 3 158161
CallSuperInConstructor It is a good practice to call super() in a constructor 3 158161

fr/paris/lutece/plugins/workflow/modules/notifygru/business/TaskNotifyGruConfigDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 89100

fr/paris/lutece/plugins/workflow/modules/notifygru/service/NotificationToHistory.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'NotificationToHistory' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 59239

fr/paris/lutece/plugins/workflow/modules/notifygru/service/NotifyGruService.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 134141

fr/paris/lutece/plugins/workflow/modules/notifygru/service/ServiceConfigTaskForm.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'ServiceConfigTaskForm' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 57218
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 130
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 135
MissingBreakInSwitch A switch statement does not contain a break 3 185214

fr/paris/lutece/plugins/workflow/modules/notifygru/service/TaskNotifyGru.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34569
TooManyMethods This class has too many methods, consider refactoring it. 3 94569
NcssCount The method 'processTask(int, HttpServletRequest, Locale)' has a NCSS line count of 79. 3 122263
CyclomaticComplexity The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 19. 3 122263
ExcessiveMethodLength Avoid really long methods. 3 122263
NPathComplexity The method 'processTask(int, HttpServletRequest, Locale)' has an NPath complexity of 5184 3 122263
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 128
ConfusingTernary Avoid if (x != y) ..; else ..; 3 219245
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 238
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 239
ConfusingTernary Avoid if (x != y) ..; else ..; 3 354371
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 524

fr/paris/lutece/plugins/workflow/modules/notifygru/service/TaskNotifyGruConfigService.java

Rule Violation Priority Ligne
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'config' 3 100

fr/paris/lutece/plugins/workflow/modules/notifygru/service/cache/NotifyGruCacheService.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5861
NonThreadSafeSingleton Singleton is not thread safe 3 7073
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 26 characters appended. 3 138

fr/paris/lutece/plugins/workflow/modules/notifygru/service/daemon/NotifyHistoryCleanerDaemon.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 4 40
UnusedImports Avoid unused imports such as 'javax.inject.Named' 4 41
ImmutableField Private field '_notifyGruHistoryService' could be made final; it is only initialized in the declaration or constructor. 3 60
MissingOverride The method 'run()' is missing an @Override annotation. 3 65112
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 39 characters appended. 3 70
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 85
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 85
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 87
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 88
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 91
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 93
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 101
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 102

fr/paris/lutece/plugins/workflow/modules/notifygru/service/provider/impl/CommentMarkerProvider.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like ID 3 63
ConfusingTernary Avoid if (x != y) ..; else ..; 3 124

fr/paris/lutece/plugins/workflow/modules/notifygru/utils/constants/Constants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 39298
AvoidDuplicateLiterals The String literal "message" appears 4 times in this file; the first occurrence is on line 61 3 61
ShortVariable Avoid variables with short names like ID 3 127

fr/paris/lutece/plugins/workflow/modules/notifygru/web/AbstractNotificationConfigValidator.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 161

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskComponent.java

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

fr/paris/lutece/plugins/workflow/modules/notifygru/web/NotifyGruTaskConfigController.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34908
FieldNamingConventions The constant name '_taskNotifyGruConfigService' doesn't match '[A-Z][A-Z_0-9]*' 1 107
FieldNamingConventions The constant name '_notifyGRUService' doesn't match '[A-Z][A-Z_0-9]*' 1 108
FieldNamingConventions The final field name '_task' doesn't match '[a-z][a-zA-Z0-9]*' 1 110
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 177
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 185
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 231
ShortClassName Avoid short class names like View 4 260433
TooManyMethods This class has too many methods, consider refactoring it. 3 261433
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 262
FieldNamingConventions The final field name '_listNotificationConfig' doesn't match '[a-z][a-zA-Z0-9]*' 1 263
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 1 264
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 277
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 317
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 354
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 370
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 388
ConfusingTernary Avoid if (x != y) ..; else ..; 3 393402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 395
GodClass Possible God Class (WMC=51, ATFD=37, TCC=7.672%) 3 439907
TooManyMethods This class has too many methods, consider refactoring it. 3 440907
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 446
FieldNamingConventions The final field name '_listNotificationConfig' doesn't match '[a-z][a-zA-Z0-9]*' 1 447
FieldNamingConventions The final field name '_providerManager' doesn't match '[a-z][a-zA-Z0-9]*' 1 448
FieldNamingConventions The final field name '_strAction' doesn't match '[a-z][a-zA-Z0-9]*' 1 449
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 464
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 780
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 794
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 819
ConfusingTernary Avoid if (x != y) ..; else ..; 3 829836
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 835
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 846
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 859
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 871
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 892
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 894
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 894
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 900
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 900
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 904
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 904

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/AgentNotificationConfig.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
FieldNamingConventions The final field name '_strStatutText' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 112
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 164
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 169
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 183

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/BillingAccountBasedSMSNotificationConfig.java

Rule Violation Priority Ligne
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strBillingAccount field if you want a default access modifier 3 47
DefaultPackage Use explicit scoping instead of the default package private level 3 47
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strBillingGroup field if you want a default access modifier 3 50
DefaultPackage Use explicit scoping instead of the default package private level 3 50

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/BroadcastNotificationConfig.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 71
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 1 72
FieldNamingConventions The final field name '_strMailingType' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 1 77
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 1 78
FieldNamingConventions The final field name '_strRecipientsCc' doesn't match '[a-z][a-zA-Z0-9]*' 1 79
FieldNamingConventions The final field name '_strRecipientsCci' doesn't match '[a-z][a-zA-Z0-9]*' 1 80
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 146
NPathComplexity The method 'validateFieldsWithoutMarker()' has an NPath complexity of 288 3 206242
CyclomaticComplexity The method 'validateFieldsWithoutMarker()' has a cyclomatic complexity of 11. 3 206242
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 210
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 250

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/EmailNotificationConfig.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 1 62
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
FieldNamingConventions The final field name '_strRecipientsCc' doesn't match '[a-z][a-zA-Z0-9]*' 1 66
FieldNamingConventions The final field name '_strRecipientsCci' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 122
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 186
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 205

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/GuichetNotificationConfig.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 1 69
FieldNamingConventions The final field name '_strStatusText' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
FieldNamingConventions The final field name '_strSenderName' doesn't match '[a-z][a-zA-Z0-9]*' 1 71
FieldNamingConventions The final field name '_strSubject' doesn't match '[a-z][a-zA-Z0-9]*' 1 72
FieldNamingConventions The final field name '_nDemandMaxStep' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
FieldNamingConventions The final field name '_nDemandUserCurrentStep' doesn't match '[a-z][a-zA-Z0-9]*' 1 74
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 129
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 220
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 220

fr/paris/lutece/plugins/workflow/modules/notifygru/web/notificationconfig/impl/SMSNotificationConfig.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The final field name '_config' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FieldNamingConventions The final field name '_strMessage' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 109
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 172