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/form/business/DefaultMessage.java

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

fr/paris/lutece/plugins/form/business/Entry.java

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

fr/paris/lutece/plugins/form/business/EntryTypeCheckBox.java

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

fr/paris/lutece/plugins/form/business/EntryTypeComment.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 54

fr/paris/lutece/plugins/form/business/EntryTypeDate.java

Rule Violation Ligne
FieldNamingConventions The constant name '_message_illogical_date' doesn't match '[A-Z][A-Z_0-9]*' 60
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 61
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 62
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 63

fr/paris/lutece/plugins/form/business/EntryTypeFile.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 66
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 68

fr/paris/lutece/plugins/form/business/EntryTypeGroup.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 54

fr/paris/lutece/plugins/form/business/EntryTypeRadioButton.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/form/business/EntryTypeSelect.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/form/business/EntryTypeSelectSQL.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/form/business/EntryTypeText.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 64
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 65
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 66

fr/paris/lutece/plugins/form/business/EntryTypeTextArea.java

Rule Violation Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/form/business/Form.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_tDateBeginDisponibility' doesn't match '[a-z][a-zA-Z0-9]*' 471
FormalParameterNamingConventions The method parameter name '_bAutoPublicationActive' doesn't match '[a-z][a-zA-Z0-9]*' 489
FormalParameterNamingConventions The method parameter name '_strLibelleResetButton' doesn't match '[a-z][a-zA-Z0-9]*' 516

fr/paris/lutece/plugins/form/business/FormFilter.java

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

fr/paris/lutece/plugins/form/service/OutputProcessorService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 52150
FieldNamingConventions The field name '_OutputProcessorSet' doesn't match '_[a-z][a-zA-Z0-9]*' 56

Priority 2

fr/paris/lutece/plugins/form/utils/FormUtils.java

Rule Violation Ligne
AvoidReassigningParameters Avoid reassigning parameters such as 'entryParent' 1089

Priority 3

fr/paris/lutece/plugins/form/business/DefaultMessage.java

Rule Violation Ligne
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 167170
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 176179

fr/paris/lutece/plugins/form/business/DefaultMessageDAO.java

Rule Violation Ligne
MissingOverride The method 'store(DefaultMessage, Plugin)' is missing an @Override annotation. 5973
MissingOverride The method 'load(Plugin)' is missing an @Override annotation. 81103

fr/paris/lutece/plugins/form/business/Entry.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34541
TooManyFields Too many fields 51541
MissingOverride The method 'getChildren()' is missing an @Override annotation. 119122
MissingOverride The method 'getComment()' is missing an @Override annotation. 127130
MissingOverride The method 'getEntryType()' is missing an @Override annotation. 135138
MissingOverride The method 'getFields()' is missing an @Override annotation. 143146
MissingOverride The method 'getHelpMessage()' is missing an @Override annotation. 151154
MissingOverride The method 'getIdEntry()' is missing an @Override annotation. 159162
MissingOverride The method 'getParent()' is missing an @Override annotation. 167170
MissingOverride The method 'getPosition()' is missing an @Override annotation. 175178
MissingOverride The method 'getTitle()' is missing an @Override annotation. 183186
MissingOverride The method 'isFieldInLine()' is missing an @Override annotation. 191194
MissingOverride The method 'isMandatory()' is missing an @Override annotation. 199202
MissingOverride The method 'setChildren(List)' is missing an @Override annotation. 208211
MissingOverride The method 'setComment(String)' is missing an @Override annotation. 217220
MissingOverride The method 'setEntryType(EntryType)' is missing an @Override annotation. 226229
MissingOverride The method 'setFieldInLine(boolean)' is missing an @Override annotation. 235238
MissingOverride The method 'setFields(List)' is missing an @Override annotation. 244247
MissingOverride The method 'setHelpMessage(String)' is missing an @Override annotation. 253256
MissingOverride The method 'setIdEntry(int)' is missing an @Override annotation. 262265
MissingOverride The method 'setMandatory(boolean)' is missing an @Override annotation. 271274
MissingOverride The method 'setParent(IEntry)' is missing an @Override annotation. 280283
MissingOverride The method 'setPosition(int)' is missing an @Override annotation. 289292
MissingOverride The method 'setTitle(String)' is missing an @Override annotation. 298301
MissingOverride The method 'getForm()' is missing an @Override annotation. 307310
MissingOverride The method 'setForm(Form)' is missing an @Override annotation. 316319
MissingOverride The method 'getFieldDepend()' is missing an @Override annotation. 324327
MissingOverride The method 'setFieldDepend(Field)' is missing an @Override annotation. 333336
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 343346
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 354357
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 366369
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 375378
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 384387
MissingOverride The method 'getNumberConditionalQuestion()' is missing an @Override annotation. 392395
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 404407
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 416419
MissingOverride The method 'setNumberConditionalQuestion(int)' is missing an @Override annotation. 426429
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 439443
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 451454
MissingOverride The method 'isLastInTheList()' is missing an @Override annotation. 459462
MissingOverride The method 'setLastInTheList(boolean)' is missing an @Override annotation. 468471
MissingOverride The method 'isFirstInTheList()' is missing an @Override annotation. 476479
MissingOverride The method 'setFirstInTheList(boolean)' is missing an @Override annotation. 485488
MissingOverride The method 'setConfirmField(boolean)' is missing an @Override annotation. 494497
MissingOverride The method 'isConfirmField()' is missing an @Override annotation. 503506
MissingOverride The method 'setConfirmFieldTitle(String)' is missing an @Override annotation. 512515
MissingOverride The method 'getConfirmFieldTitle()' is missing an @Override annotation. 521524
MissingOverride The method 'setUnique(boolean)' is missing an @Override annotation. 529532
MissingOverride The method 'isUnique()' is missing an @Override annotation. 537540

fr/paris/lutece/plugins/form/business/EntryDAO.java

Rule Violation Ligne
GodClass Possible God Class (WMC=53, ATFD=104, TCC=2.778%) 47583
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 165207
MissingOverride The method 'insert(IEntry, Plugin)' is missing an @Override annotation. 165207
ConfusingTernary Avoid if (x != y) ..; else ..; 174181
ConfusingTernary Avoid if (x != y) ..; else ..; 190197
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 216302
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 248254
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 255261
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 310316
MissingOverride The method 'store(IEntry, Plugin)' is missing an @Override annotation. 324364
ConfusingTernary Avoid if (x != y) ..; else ..; 332339
ConfusingTernary Avoid if (x != y) ..; else ..; 348355
NcssCount The method 'selectEntryListByFilter(EntryFilter, Plugin)' has a NCSS line count of 76. 372502
ExcessiveMethodLength Avoid really long methods. 372502
CyclomaticComplexity The method 'selectEntryListByFilter(EntryFilter, Plugin)' has a cyclomatic complexity of 18. 372502
MissingOverride The method 'selectEntryListByFilter(EntryFilter, Plugin)' is missing an @Override annotation. 372502
NPathComplexity The method 'selectEntryListByFilter(EntryFilter, Plugin)' has an NPath complexity of 26112 372502
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 374
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 382
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 383
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 384
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 385
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 386
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 387
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 389
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 448454
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 455461
NPathComplexity The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' has an NPath complexity of 9216 510582
CyclomaticComplexity The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' has a cyclomatic complexity of 15. 510582
MissingOverride The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' is missing an @Override annotation. 510582
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 514
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 515
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 516
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 517
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 518
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 519
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 521

fr/paris/lutece/plugins/form/business/EntryHome.java

Rule Violation Ligne
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'entryChild' 100

fr/paris/lutece/plugins/form/business/EntryTypeCheckBox.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 57
FinalFieldCouldBeStatic This final field could be made static 58
FinalFieldCouldBeStatic This final field could be made static 59
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6669
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 77137
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 8081
ConfusingTernary Avoid if (x != y) ..; else ..; 8081
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 84
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 85
ConfusingTernary Avoid if (x != y) ..; else ..; 109116
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 127
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 143146
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 152155
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 165169
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 11. 178249
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 178249
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 184
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 188205
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 230
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 258261
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 270273

fr/paris/lutece/plugins/form/business/EntryTypeComment.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 52
FinalFieldCouldBeStatic This final field could be made static 53
FinalFieldCouldBeStatic This final field could be made static 54
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6164
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 7293
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 99102
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 108111

fr/paris/lutece/plugins/form/business/EntryTypeDAO.java

Rule Violation Ligne
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 6283
MissingOverride The method 'select(Plugin)' is missing an @Override annotation. 90112
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 92

fr/paris/lutece/plugins/form/business/EntryTypeDate.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 61
FinalFieldCouldBeStatic This final field could be made static 62
FinalFieldCouldBeStatic This final field could be made static 63
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 7073
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 81141
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 10. 81141
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 8485
ConfusingTernary Avoid if (x != y) ..; else ..; 8485
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. 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 88
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 123
ConfusingTernary Avoid if (x != y) ..; else ..; 131138
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 147150
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 156159
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 168223
CollapsibleIfStatements These nested if statements could be combined 189196
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 232238
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 247253

fr/paris/lutece/plugins/form/business/EntryTypeFile.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 66
FinalFieldCouldBeStatic This final field could be made static 67
FinalFieldCouldBeStatic This final field could be made static 68
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 7578
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 86156
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 320 86156
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 11. 86156
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 8990
ConfusingTernary Avoid if (x != y) ..; else ..; 8990
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 91
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 92
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 96
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 138
ConfusingTernary Avoid if (x != y) ..; else ..; 146153
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 162165
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 171174
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 11. 183232
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 183232
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 188
CollapsibleIfStatements These nested if statements could be combined 195202
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 208
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 242247
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 255277
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 286289
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 298308
ConfusingTernary Avoid if (x != y) ..; else ..; 300307

fr/paris/lutece/plugins/form/business/EntryTypeGroup.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 53
FinalFieldCouldBeStatic This final field could be made static 54
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6164
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 7293
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 99102

fr/paris/lutece/plugins/form/business/EntryTypeRadioButton.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 56
FinalFieldCouldBeStatic This final field could be made static 57
FinalFieldCouldBeStatic This final field could be made static 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6568
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 76136
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 84
ConfusingTernary Avoid if (x != y) ..; else ..; 108115
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 126
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 142145
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 151154
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 164168
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 177223
CollapsibleIfStatements These nested if statements could be combined 204211
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 232235
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 244247

fr/paris/lutece/plugins/form/business/EntryTypeSelect.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 56
FinalFieldCouldBeStatic This final field could be made static 57
FinalFieldCouldBeStatic This final field could be made static 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6568
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 76116
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 82
ConfusingTernary Avoid if (x != y) ..; else ..; 106113
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 122125
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 131134
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 144148
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 157203
CollapsibleIfStatements These nested if statements could be combined 184191
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 212215
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 224227

fr/paris/lutece/plugins/form/business/EntryTypeSelectSQL.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 58
FinalFieldCouldBeStatic This final field could be made static 59
FinalFieldCouldBeStatic This final field could be made static 60
ConfusingTernary Avoid if (x != y) ..; else ..; 8586
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 8586
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 88
ConfusingTernary Avoid if (x != y) ..; else ..; 111118
CollapsibleIfStatements These nested if statements could be combined 193200
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 258

fr/paris/lutece/plugins/form/business/EntryTypeText.java

Rule Violation Ligne
GodClass Possible God Class (WMC=50, ATFD=40, TCC=0.000%) 62406
FinalFieldCouldBeStatic This final field could be made static 64
FinalFieldCouldBeStatic This final field could be made static 65
FinalFieldCouldBeStatic This final field could be made static 66
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 7376
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 20480 84202
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 84202
ExcessiveMethodLength Avoid really long methods. 84202
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 19. 84202
NcssCount The method 'getRequestData(HttpServletRequest, Locale)' has a NCSS line count of 60. 84202
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 8788
ConfusingTernary Avoid if (x != y) ..; else ..; 8788
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 89
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 90
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 91
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 93
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 96
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 98
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 99
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 162
ConfusingTernary Avoid if (x != y) ..; else ..; 172179
ConfusingTernary Avoid if (x != y) ..; else ..; 181190
ConfusingTernary Avoid if (x != y) ..; else ..; 192199
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 208211
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 217220
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 230235
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 243265
NPathComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has an NPath complexity of 2354 274381
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 21. 274381
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 274381
ExcessiveMethodLength Avoid really long methods. 274381
CollapsibleIfStatements These nested if statements could be combined 306313
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 317
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 390393
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 402405

fr/paris/lutece/plugins/form/business/EntryTypeTextArea.java

Rule Violation Ligne
FinalFieldCouldBeStatic This final field could be made static 56
FinalFieldCouldBeStatic This final field could be made static 57
FinalFieldCouldBeStatic This final field could be made static 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 6568
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 14. 76166
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 76166
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 896 76166
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 88
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 146
ConfusingTernary Avoid if (x != y) ..; else ..; 156163
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 172175
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 181184
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 193230
CollapsibleIfStatements These nested if statements could be combined 214221
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 239242
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 251254

fr/paris/lutece/plugins/form/business/ExportFormat.java

Rule Violation Ligne
MethodReturnsInternalArray Returning '_xsl' may expose an internal array. 113
ArrayIsStoredDirectly The user-supplied array 'donnees' is stored directly. 120
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 129132
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 138141
AddEmptyString Do not add empty strings 140

fr/paris/lutece/plugins/form/business/ExportFormatDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(ExportFormat, Plugin)' is missing an @Override annotation. 91102
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 91102
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 111132
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 140146
MissingOverride The method 'store(ExportFormat, Plugin)' is missing an @Override annotation. 154165
MissingOverride The method 'selectListExport(Plugin)' is missing an @Override annotation. 173193
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 175
MissingOverride The method 'getListExport(Plugin)' is missing an @Override annotation. 200218

fr/paris/lutece/plugins/form/business/FieldDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(Field, Plugin)' is missing an @Override annotation. 125145
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 125145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 139
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 154185
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 193199
MissingOverride The method 'store(Field, Plugin)' is missing an @Override annotation. 207226
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 220
MissingOverride The method 'selectFieldListByIdEntry(int, Plugin)' is missing an @Override annotation. 234267
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 236
MissingOverride The method 'deleteVerifyBy(int, int, Plugin)' is missing an @Override annotation. 276283
MissingOverride The method 'insertVerifyBy(int, int, Plugin)' is missing an @Override annotation. 292299
MissingOverride The method 'selectListRegularExpressionKeyByIdField(int, Plugin)' is missing an @Override annotation. 307322
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 309
MissingOverride The method 'isRegularExpressionIsUse(int, Plugin)' is missing an @Override annotation. 331347

fr/paris/lutece/plugins/form/business/FieldHome.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 153
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 159
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 159173

fr/paris/lutece/plugins/form/business/Form.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34637
TooManyFields Too many fields 52637
NonThreadSafeSingleton Singleton is not thread safe 9498
NonThreadSafeSingleton Singleton is not thread safe 100104
MissingOverride The method 'getWorkgroup()' is missing an @Override annotation. 309312
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 417420
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 426429
AddEmptyString Do not add empty strings 428

fr/paris/lutece/plugins/form/business/FormAction.java

Rule Violation Ligne
MissingOverride The method 'getPermission()' is missing an @Override annotation. 184187
MissingOverride The method 'setLocale(Locale)' is missing an @Override annotation. 203206

fr/paris/lutece/plugins/form/business/FormActionDAO.java

Rule Violation Ligne
MissingOverride The method 'selectActionsByFormState(int, Plugin)' is missing an @Override annotation. 5779
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 59

fr/paris/lutece/plugins/form/business/FormDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 116156
MissingOverride The method 'insert(Form, Plugin)' is missing an @Override annotation. 116156
ConfusingTernary Avoid if (x != y) ..; else ..; 135136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 136
ConfusingTernary Avoid if (x != y) ..; else ..; 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 138
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 165211
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 219225
MissingOverride The method 'store(Form, Plugin)' is missing an @Override annotation. 233269
ConfusingTernary Avoid if (x != y) ..; else ..; 250251
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 251
ConfusingTernary Avoid if (x != y) ..; else ..; 253
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 253
NPathComplexity The method 'selectFormList(FormFilter, Plugin)' has an NPath complexity of 3072 277394
NcssCount The method 'selectFormList(FormFilter, Plugin)' has a NCSS line count of 71. 277394
CyclomaticComplexity The method 'selectFormList(FormFilter, Plugin)' has a cyclomatic complexity of 14. 277394
ExcessiveMethodLength Avoid really long methods. 277394
MissingOverride The method 'selectFormList(FormFilter, Plugin)' is missing an @Override annotation. 277394
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 279
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 282
MissingOverride The method 'getEnableFormList(Plugin)' is missing an @Override annotation. 401423

fr/paris/lutece/plugins/form/business/FormHome.java

Rule Violation Ligne
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'entry' 96

fr/paris/lutece/plugins/form/business/FormRegularExpressionRemovalListener.java

Rule Violation Ligne
MissingOverride The method 'canBeRemoved(String)' is missing an @Override annotation. 5777
MissingOverride The method 'getRemovalRefusedMessage(String, Locale)' is missing an @Override annotation. 8589

fr/paris/lutece/plugins/form/business/FormSubmit.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like ip 104

fr/paris/lutece/plugins/form/business/FormSubmitDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 104120
MissingOverride The method 'insert(FormSubmit, Plugin)' is missing an @Override annotation. 104120
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 129151
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 159165
MissingOverride The method 'store(FormSubmit, Plugin)' is missing an @Override annotation. 173183
MissingOverride The method 'selectListByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 191253
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 193
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 196
MissingOverride The method 'selectCountByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 261313
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 264
MissingOverride The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' is missing an @Override annotation. 321394
CyclomaticComplexity The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' has a cyclomatic complexity of 11. 321394
NPathComplexity The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' has an NPath complexity of 1024 321394
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 323
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 325
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 326

fr/paris/lutece/plugins/form/business/FormWorkgroupRemovalListener.java

Rule Violation Ligne
MissingOverride The method 'canBeRemoved(String)' is missing an @Override annotation. 5776
MissingOverride The method 'getRemovalRefusedMessage(String, Locale)' is missing an @Override annotation. 8488

fr/paris/lutece/plugins/form/business/GraphTypeBarChart.java

Rule Violation Ligne
MissingOverride The method 'createChart(List, String, boolean, boolean)' is missing an @Override annotation. 7276

fr/paris/lutece/plugins/form/business/GraphTypeDAO.java

Rule Violation Ligne
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 61104
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 8591
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 9298
MissingOverride The method 'select(Plugin)' is missing an @Override annotation. 111130
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 116

fr/paris/lutece/plugins/form/business/GraphTypePieChart.java

Rule Violation Ligne
MissingOverride The method 'createChart(List, String, boolean, boolean)' is missing an @Override annotation. 6266

fr/paris/lutece/plugins/form/business/IEntry.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34335

fr/paris/lutece/plugins/form/business/RecapDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(Recap, Plugin)' is missing an @Override annotation. 89116
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 89116
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 125160
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 168174
MissingOverride The method 'store(Recap, Plugin)' is missing an @Override annotation. 182207

fr/paris/lutece/plugins/form/business/Response.java

Rule Violation Ligne
MethodReturnsInternalArray Returning '_byValueResponse' may expose an internal array. 113
ArrayIsStoredDirectly The user-supplied array 'valueResponse' is stored directly. 120

fr/paris/lutece/plugins/form/business/ResponseDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(Response, Plugin)' is missing an @Override annotation. 104128
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 104128
ConfusingTernary Avoid if (x != y) ..; else ..; 113120
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 137207
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 170175
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 176181
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 215221
MissingOverride The method 'store(Response, Plugin)' is missing an @Override annotation. 229252
ConfusingTernary Avoid if (x != y) ..; else ..; 238245
NPathComplexity The method 'selectListByFilter(ResponseFilter, Plugin)' has an NPath complexity of 1088 260358
MissingOverride The method 'selectListByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 260358
CyclomaticComplexity The method 'selectListByFilter(ResponseFilter, Plugin)' has a cyclomatic complexity of 13. 260358
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 263
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 271
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 272
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 274
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 320325
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 326331
MissingOverride The method 'getStatisticByIdEntry(int, Plugin)' is missing an @Override annotation. 366385
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 368

fr/paris/lutece/plugins/form/business/outputprocessor/FormProcessorDAO.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 6080
MissingOverride The method 'selectByIdForm(int, Plugin)' is missing an @Override annotation. 6080
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 62
CommentRequired Public method and constructor comments are required 85105
MissingOverride The method 'selectAll(Plugin)' is missing an @Override annotation. 85105
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 87
CommentRequired Public method and constructor comments are required 110119
MissingOverride The method 'insert(FormProcessor, Plugin)' is missing an @Override annotation. 110119
MissingOverride The method 'delete(FormProcessor, Plugin)' is missing an @Override annotation. 124132
CommentRequired Public method and constructor comments are required 124132

fr/paris/lutece/plugins/form/business/outputprocessor/IFormProcessorDAO.java

Rule Violation Ligne
CommentRequired Header comments are required 4171

fr/paris/lutece/plugins/form/business/outputprocessor/IOutputProcessorSet.java

Rule Violation Ligne
CommentRequired Header comments are required 4060

fr/paris/lutece/plugins/form/business/outputprocessor/OutputProcessor.java

Rule Violation Ligne
MissingOverride The method 'getKey()' is missing an @Override annotation. 5053
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5861
MissingOverride The method 'setKey(String)' is missing an @Override annotation. 5861

fr/paris/lutece/plugins/form/business/outputprocessor/OutputProcessorSet.java

Rule Violation Ligne
MissingOverride The method 'setOutputProcessorMap(Map)' is missing an @Override annotation. 5160
CommentRequired Public method and constructor comments are required 5160
CommentRequired Public method and constructor comments are required 6570
MissingOverride The method 'getOutputProcessor(String)' is missing an @Override annotation. 6570
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'outputProcessor' 69
CommentRequired Public method and constructor comments are required 7682
MissingOverride The method 'getAllOutputProcessor()' is missing an @Override annotation. 7682
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 78
UnusedLocalVariable Avoid unused local variables such as 'test'. 78
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'list' 81

fr/paris/lutece/plugins/form/business/portlet/FormPortlet.java

Rule Violation Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 7274
UncommentedEmptyConstructor Document empty constructor 7274
CallSuperInConstructor It is a good practice to call super() in a constructor 7274
MissingOverride The method 'getXml(HttpServletRequest)' is missing an @Override annotation. 82127
ConfusingTernary Avoid if (x != y) ..; else ..; 8794
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 112
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'str' 126
MissingOverride The method 'getXmlDocument(HttpServletRequest)' is missing an @Override annotation. 135138
MissingOverride The method 'remove()' is missing an @Override annotation. 151154
MissingOverride The method 'getStatus()' is missing an @Override annotation. 201204
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 211214

fr/paris/lutece/plugins/form/business/portlet/FormPortletDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(Portlet)' is missing an @Override annotation. 6070
ShortVariable Avoid variables with short names like p 62
MissingOverride The method 'delete(int)' is missing an @Override annotation. 7884
MissingOverride The method 'load(int)' is missing an @Override annotation. 93110
MissingOverride The method 'selectCountPortletByIdForm(int)' is missing an @Override annotation. 117132
MissingOverride The method 'store(Portlet)' is missing an @Override annotation. 140149
ShortVariable Avoid variables with short names like p 142

fr/paris/lutece/plugins/form/business/portlet/FormPortletHome.java

Rule Violation Ligne
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 58
CallSuperInConstructor It is a good practice to call super() in a constructor 6369
NonThreadSafeSingleton Singleton is not thread safe 7881
MissingOverride The method 'getPortletTypeId()' is missing an @Override annotation. 9197
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strPortletTypeId' 96
MissingOverride The method 'getDAO()' is missing an @Override annotation. 104107

fr/paris/lutece/plugins/form/business/portlet/IFormPortletDAO.java

Rule Violation Ligne
MissingOverride The method 'delete(int)' is missing an @Override annotation. 51
MissingOverride The method 'insert(Portlet)' is missing an @Override annotation. 59
MissingOverride The method 'load(int)' is missing an @Override annotation. 68
MissingOverride The method 'store(Portlet)' is missing an @Override annotation. 83

fr/paris/lutece/plugins/form/modules/processornotifysender/business/NotifySenderConfigurationDAO.java

Rule Violation Ligne
MissingOverride The method 'insert(NotifySenderConfiguration, Plugin)' is missing an @Override annotation. 5868
CommentRequired Public method and constructor comments are required 5868
CommentRequired Public method and constructor comments are required 7393
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 7393
CommentRequired Public method and constructor comments are required 98104
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 98104
CommentRequired Public method and constructor comments are required 109120
MissingOverride The method 'store(NotifySenderConfiguration, Plugin)' is missing an @Override annotation. 109120
CommentRequired Public method and constructor comments are required 125146
MissingOverride The method 'selectNotifySenderConfigurationsList(Plugin)' is missing an @Override annotation. 125146
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 127

fr/paris/lutece/plugins/form/modules/processornotifysender/business/ProcessorNotifySender.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 93111
MissingOverride The method 'getOutputConfigForm(HttpServletRequest, Form, Locale, Plugin)' is missing an @Override annotation. 93111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 100
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 100
MissingOverride The method 'doOutputConfigForm(HttpServletRequest, Locale, Plugin)' is missing an @Override annotation. 117152
CommentRequired Public method and constructor comments are required 117152
ConfusingTernary Avoid if (x != y) ..; else ..; 142149
MissingOverride The method 'process(FormSubmit, HttpServletRequest, Plugin)' is missing an @Override annotation. 158237
CommentRequired Public method and constructor comments are required 158237
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 187
ConfusingTernary Avoid if (x != y) ..; else ..; 197206
ShortVariable Avoid variables with short names like t 223
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 231
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 247
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 252
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 253
UnusedLocalVariable Avoid unused local variables such as 'strSendRecap'. 253

fr/paris/lutece/plugins/form/service/DefaultMessageResourceIdService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 6164
MissingOverride The method 'register()' is missing an @Override annotation. 6982
ShortVariable Avoid variables with short names like rt 71
ShortVariable Avoid variables with short names like p 77
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 8992
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 100103

fr/paris/lutece/plugins/form/service/ExportFormatResourceIdService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 6467
MissingOverride The method 'register()' is missing an @Override annotation. 7285
ShortVariable Avoid variables with short names like rt 74
ShortVariable Avoid variables with short names like p 80
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 9295
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 103119

fr/paris/lutece/plugins/form/service/FormPlugin.java

Rule Violation Ligne
MissingOverride The method 'init()' is missing an @Override annotation. 5256

fr/paris/lutece/plugins/form/service/FormResourceIdService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 9699
MissingOverride The method 'register()' is missing an @Override annotation. 104158
ShortVariable Avoid variables with short names like rt 106
ShortVariable Avoid variables with short names like p 112
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 165168
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 176192

fr/paris/lutece/plugins/form/service/OutputProcessorService.java

Rule Violation Ligne
ImmutableField Private field '_OutputProcessorSet' could be made final; it is only initialized in the declaration or constructor. 56
CommentRequired Public method and constructor comments are required 6573
NonThreadSafeSingleton Singleton is not thread safe 6770
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8099
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 82
CommentRequired Public method and constructor comments are required 101110
CommentRequired Public method and constructor comments are required 112119
CommentRequired Public method and constructor comments are required 121128
CommentRequired Public method and constructor comments are required 130144
CommentRequired Public method and constructor comments are required 146149

fr/paris/lutece/plugins/form/service/publication/DaemonPublication.java

Rule Violation Ligne
MissingOverride The method 'run()' is missing an @Override annotation. 5053

fr/paris/lutece/plugins/form/service/publication/PublicationService.java

Rule Violation Ligne
UnusedLocalVariable Avoid unused local variables such as 'autoPublicationActive'. 83

fr/paris/lutece/plugins/form/utils/FormUtils.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 341197
CyclomaticComplexity The class 'FormUtils' has a total cyclomatic complexity of 126 (highest 14). 1011197
ExcessiveClassLength Avoid really long classes. 1011197
GodClass Possible God Class (WMC=126, ATFD=237, TCC=2.151%) 1011197
TooManyMethods This class has too many methods, consider refactoring it. 1021197
ShortVariable Avoid variables with short names like t 174
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 184
ShortVariable Avoid variables with short names like t 208
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 218
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp' 246
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp' 271
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp1' 362
CyclomaticComplexity The method 'sameDate(Timestamp, Timestamp, String)' has a cyclomatic complexity of 10. 372400
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 452
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 453
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 486490
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 491495
LinguisticNaming Linguistics Antipattern - The getter 'getHtmlEntry' should not return void linguistically 595653
CyclomaticComplexity The method 'getResponseEntry(HttpServletRequest, int, Plugin, FormSubmit, boolean, Locale)' has a cyclomatic complexity of 14. 666746
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 672
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 675
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 679
ConfusingTernary Avoid if (x != y) ..; else ..; 699708
CyclomaticComplexity The method 'getXmlResponses(HttpServletRequest, Form, List, Locale, Plugin)' has a cyclomatic complexity of 12. 795871
ConfusingTernary Avoid if (x != y) ..; else ..; 812819
ConfusingTernary Avoid if (x != y) ..; else ..; 846854
PositionLiteralsFirstInComparisons Position literals first in String comparisons 885
ConfusingTernary Avoid if (x != y) ..; else ..; 893900
CommentRequired Public method and constructor comments are required 10251042
ConfusingTernary Avoid if (x != y) ..; else ..; 10311038
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1052
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 1095
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1116
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1130
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1169
AssignmentInOperand Avoid assignments in operands 1169

fr/paris/lutece/plugins/form/web/DefaultMessageJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 61204
UnusedPrivateField Avoid unused private fields such as 'FIELD_LIBELLE_RESET_BUTTON'. 92
CyclomaticComplexity The method 'getDefaultMessageData(HttpServletRequest, DefaultMessage)' has a cyclomatic complexity of 14. 150203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 157

fr/paris/lutece/plugins/form/web/DoDownloadGraph.java

Rule Violation Ligne
CyclomaticComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 14. 80149
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 144

fr/paris/lutece/plugins/form/web/ExportFormatJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 78456
ImmutableField Private field '_nDefaultItemsPerPage' could be made final; it is only initialized in the declaration or constructor. 123
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 216
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 217
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 218
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 220
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 260
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 261
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 327
NPathComplexity The method 'getExportFormatData(MultipartHttpServletRequest, ExportFormat)' has an NPath complexity of 240 362421
CyclomaticComplexity The method 'getExportFormatData(MultipartHttpServletRequest, ExportFormat)' has a cyclomatic complexity of 16. 362421
LinguisticNaming Linguistics Antipattern - The method 'isValid' indicates linguistically it returns a boolean, but it returns 'String' 428445
ShortVariable Avoid variables with short names like is 436
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 439

fr/paris/lutece/plugins/form/web/FormApp.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34646
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 84646
UnusedPrivateField Avoid unused private fields such as 'PARAMETER_PAGE_ID'. 115
MissingOverride The method 'getPage(HttpServletRequest, int, Plugin)' is missing an @Override annotation. 146225
CyclomaticComplexity The method 'getPage(HttpServletRequest, int, Plugin)' has a cyclomatic complexity of 16. 146225
NPathComplexity The method 'getPage(HttpServletRequest, int, Plugin)' has an NPath complexity of 480 146225
ConfusingTernary Avoid if (x != y) ..; else ..; 187222
ConfusingTernary Avoid if (x != y) ..; else ..; 195222
ConfusingTernary Avoid if (x != y) ..; else ..; 202222
ConfusingTernary Avoid if (x != y) ..; else ..; 210222
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 235
CyclomaticComplexity The method 'getResult(HttpServletRequest, HttpSession, int, Plugin)' has a cyclomatic complexity of 16. 235296
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 287
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 287
UnusedFormalParameter Avoid unused method parameters such as 'session'. 307
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 307
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 313
UnusedFormalParameter Avoid unused method parameters such as 'session'. 332
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 332
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 336
ConfusingTernary Avoid if (x != y) ..; else ..; 354370
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 364
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 388
ExcessiveMethodLength Avoid really long methods. 388503
CyclomaticComplexity The method 'getRecap(HttpServletRequest, HttpSession, int, Plugin)' has a cyclomatic complexity of 20. 388503
NPathComplexity The method 'getRecap(HttpServletRequest, HttpSession, int, Plugin)' has an NPath complexity of 11520 388503
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 392
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 392
ConfusingTernary Avoid if (x != y) ..; else ..; 468476
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 513
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 517
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 517
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 571
ConfusingTernary Avoid if (x != y) ..; else ..; 617624

fr/paris/lutece/plugins/form/web/FormJspBean.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 343884
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 343884
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 1273884
ExcessiveClassLength Avoid really long classes. 1273884
CyclomaticComplexity The class 'FormJspBean' has a total cyclomatic complexity of 456 (highest 29). 1273884
NcssCount The class 'FormJspBean' has a NCSS line count of 1753 (Highest = 90). 1273884
TooManyMethods This class has too many methods, consider refactoring it. 1283884
ImmutableField Private field '_nDefaultItemsPerPage' could be made final; it is only initialized in the declaration or constructor. 320
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 388
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 388
NPathComplexity The method 'getFormData(HttpServletRequest, Form)' has an NPath complexity of 1679360 445639
NcssCount The method 'getFormData(HttpServletRequest, Form)' has a NCSS line count of 90. 445639
CyclomaticComplexity The method 'getFormData(HttpServletRequest, Form)' has a cyclomatic complexity of 29. 445639
ExcessiveMethodLength Avoid really long methods. 445639
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 449
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 450
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 451
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 452
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 453
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 455
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 456
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 457
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 458
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 460
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 461
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 462
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 463
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 464
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 465
ConfusingTernary Avoid if (x != y) ..; else ..; 516523
ConfusingTernary Avoid if (x != y) ..; else ..; 525532
ConfusingTernary Avoid if (x != y) ..; else ..; 534541
ConfusingTernary Avoid if (x != y) ..; else ..; 543550
ConfusingTernary Avoid if (x != y) ..; else ..; 552559
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 659
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 667
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 692
NcssCount The method 'getModifyForm(HttpServletRequest)' has a NCSS line count of 74. 725845
ExcessiveMethodLength Avoid really long methods. 725845
CyclomaticComplexity The method 'getModifyForm(HttpServletRequest)' has a cyclomatic complexity of 11. 725845
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 727
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 728
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 728
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 729
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 730
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 731
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 734
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 771
AvoidDuplicateLiterals The String literal "?id_form=" appears 4 times in this file; the first occurrence is on line 806 806
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 827
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 827
CyclomaticComplexity The method 'doModifyForm(HttpServletRequest)' has a cyclomatic complexity of 10. 852902
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 911
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 913
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 914
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 961
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 962
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 963
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 989
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1014
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1015
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1016
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1017
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1061
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1064
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1065
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1066
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1095
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1095
ExcessiveMethodLength Avoid really long methods. 11151233
CyclomaticComplexity The method 'getRecapData(HttpServletRequest, Recap)' has a cyclomatic complexity of 15. 11151233
NPathComplexity The method 'getRecapData(HttpServletRequest, Recap)' has an NPath complexity of 980 11151233
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1117
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1118
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1121
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1122
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1123
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1124
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1128
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1129
ConfusingTernary Avoid if (x != y) ..; else ..; 11531160
ConfusingTernary Avoid if (x != y) ..; else ..; 11621230
ConfusingTernary Avoid if (x != y) ..; else ..; 12131220
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1286
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1289
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1290
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1321
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1321
NPathComplexity The method 'doCreateEntry(HttpServletRequest)' has an NPath complexity of 208 13451415
CyclomaticComplexity The method 'doCreateEntry(HttpServletRequest)' has a cyclomatic complexity of 12. 13451415
ConfusingTernary Avoid if (x != y) ..; else ..; 14071414
CyclomaticComplexity The method 'getModifyEntry(HttpServletRequest)' has a cyclomatic complexity of 11. 14221508
NPathComplexity The method 'getModifyEntry(HttpServletRequest)' has an NPath complexity of 288 14221508
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1424
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1425
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1426
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1454
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 1458
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1464
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1464
NPathComplexity The method 'doModifyEntry(HttpServletRequest)' has an NPath complexity of 252 15151578
CyclomaticComplexity The method 'doModifyEntry(HttpServletRequest)' has a cyclomatic complexity of 12. 15151578
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1518
ConfusingTernary Avoid if (x != y) ..; else ..; 15651572
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1587
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1588
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1590
ConfusingTernary Avoid if (x != y) ..; else ..; 16181625
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1645
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1647
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1673
ConfusingTernary Avoid if (x != y) ..; else ..; 16851692
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1702
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1704
ConfusingTernary Avoid if (x != y) ..; else ..; 17411748
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1758
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1759
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1760
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1761
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 1794
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1794
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1811
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1812
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1813
CyclomaticComplexity The method 'doMoveUpEntry(HttpServletRequest)' has a cyclomatic complexity of 10. 18631942
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1865
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1866
ConfusingTernary Avoid if (x != y) ..; else ..; 18981905
ConfusingTernary Avoid if (x != y) ..; else ..; 19071914
ConfusingTernary Avoid if (x != y) ..; else ..; 19341941
CyclomaticComplexity The method 'doMoveDownEntry(HttpServletRequest)' has a cyclomatic complexity of 10. 19492028
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1951
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1952
ConfusingTernary Avoid if (x != y) ..; else ..; 19841991
ConfusingTernary Avoid if (x != y) ..; else ..; 19932000
ConfusingTernary Avoid if (x != y) ..; else ..; 20202027
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2037
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2038
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2106
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2107
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2108
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2180
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2183
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2247
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2248
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2250
UnusedFormalParameter Avoid unused method parameters such as 'plugin'. 2367
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 2388
ConfusingTernary Avoid if (x != y) ..; else ..; 23952402
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 2414
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2438
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2439
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2495
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2507
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 2507
ConfusingTernary Avoid if (x != y) ..; else ..; 25102517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2535
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2536
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2537
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2538
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2539
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 2573
ConfusingTernary Avoid if (x != y) ..; else ..; 26592680
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2722
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2759
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2760
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2761
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2762
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2763
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2811
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2812
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2813
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2814
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2815
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 2935
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2938
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2939
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2943
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2969
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 2969
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 2974
NPathComplexity The method 'doTestForm(HttpServletRequest)' has an NPath complexity of 1152 29903088
CyclomaticComplexity The method 'doTestForm(HttpServletRequest)' has a cyclomatic complexity of 15. 29903088
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2992
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2993
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2994
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2996
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2997
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2998
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3000
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3057
CyclomaticComplexity The method 'doExportResponseTestForm(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 13. 30983172
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3102
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3103
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3109
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3110
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3138
ConfusingTernary Avoid if (x != y) ..; else ..; 31383168
ShortVariable Avoid variables with short names like os 3156
NcssCount The method 'getResult(HttpServletRequest)' has a NCSS line count of 61. 31793284
ExcessiveMethodLength Avoid really long methods. 31793284
NPathComplexity The method 'getResult(HttpServletRequest)' has an NPath complexity of 1920 31793284
CyclomaticComplexity The method 'getResult(HttpServletRequest)' has a cyclomatic complexity of 15. 31793284
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3183
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3184
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3185
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3186
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3187
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3189
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3194
ConfusingTernary Avoid if (x != y) ..; else ..; 32473266
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3268
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3268
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3276
NPathComplexity The method 'doExportResult(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 769 32933396
CyclomaticComplexity The method 'doExportResult(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 16. 32933396
ExcessiveMethodLength Avoid really long methods. 32933396
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3297
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3320
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3321
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3322
ConfusingTernary Avoid if (x != y) ..; else ..; 33623392
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3362
ShortVariable Avoid variables with short names like os 3380
CyclomaticComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 17. 34043526
NcssCount The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a NCSS line count of 65. 34043526
ExcessiveMethodLength Avoid really long methods. 34043526
NPathComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 3840 34043526
ConfusingTernary Avoid if (x != y) ..; else ..; 34453464
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3480
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3483
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3522
CyclomaticComplexity The method 'doDownloadFile(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 10. 35353610
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3564
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3574
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3575
ConfusingTernary Avoid if (x != y) ..; else ..; 35843606
ShortVariable Avoid variables with short names like os 3593
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3621
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3646
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3648
LinguisticNaming Linguistics Antipattern - The variable 'hasMaProcess' indicates linguistically it is a boolean, but it is 'HashMap' 3650
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3655
CyclomaticComplexity The method 'doManageOutputProcessor(HttpServletRequest)' has a cyclomatic complexity of 16. 36783750
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3684
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3685
ConfusingTernary Avoid if (x != y) ..; else ..; 37173744
ConfusingTernary Avoid if (x != y) ..; else ..; 37213728
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3794
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3794
CyclomaticComplexity The method 'doModifyMessage(HttpServletRequest)' has a cyclomatic complexity of 15. 38113883
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3842
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3846

fr/paris/lutece/plugins/form/web/ManageFormJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 60133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 92
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 92
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 98

fr/paris/lutece/plugins/form/web/portlet/FormPortletJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 60225
MissingOverride The method 'getCreate(HttpServletRequest)' is missing an @Override annotation. 7993
MissingOverride The method 'getModify(HttpServletRequest)' is missing an @Override annotation. 101128
MissingOverride The method 'doCreate(HttpServletRequest)' is missing an @Override annotation. 136176
MissingOverride The method 'doModify(HttpServletRequest)' is missing an @Override annotation. 184224

Priority 4

fr/paris/lutece/plugins/form/business/Form.java

Rule Violation Ligne
ShortClassName Avoid short class names like Form 52637

fr/paris/lutece/plugins/form/web/FormJspBean.java

Rule Violation Ligne
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 581
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 599

Fichiers

fr/paris/lutece/plugins/form/business/DefaultMessage.java

Rule Violation Priority Ligne
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 3 167170
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 3 176179
FormalParameterNamingConventions The method parameter name '_strLibelleResetButton' doesn't match '[a-z][a-zA-Z0-9]*' 1 185

fr/paris/lutece/plugins/form/business/DefaultMessageDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'store(DefaultMessage, Plugin)' is missing an @Override annotation. 3 5973
MissingOverride The method 'load(Plugin)' is missing an @Override annotation. 3 81103

fr/paris/lutece/plugins/form/business/Entry.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34541
TooManyFields Too many fields 3 51541
MissingOverride The method 'getChildren()' is missing an @Override annotation. 3 119122
MissingOverride The method 'getComment()' is missing an @Override annotation. 3 127130
MissingOverride The method 'getEntryType()' is missing an @Override annotation. 3 135138
MissingOverride The method 'getFields()' is missing an @Override annotation. 3 143146
MissingOverride The method 'getHelpMessage()' is missing an @Override annotation. 3 151154
MissingOverride The method 'getIdEntry()' is missing an @Override annotation. 3 159162
MissingOverride The method 'getParent()' is missing an @Override annotation. 3 167170
MissingOverride The method 'getPosition()' is missing an @Override annotation. 3 175178
MissingOverride The method 'getTitle()' is missing an @Override annotation. 3 183186
MissingOverride The method 'isFieldInLine()' is missing an @Override annotation. 3 191194
MissingOverride The method 'isMandatory()' is missing an @Override annotation. 3 199202
MissingOverride The method 'setChildren(List)' is missing an @Override annotation. 3 208211
MissingOverride The method 'setComment(String)' is missing an @Override annotation. 3 217220
MissingOverride The method 'setEntryType(EntryType)' is missing an @Override annotation. 3 226229
MissingOverride The method 'setFieldInLine(boolean)' is missing an @Override annotation. 3 235238
MissingOverride The method 'setFields(List)' is missing an @Override annotation. 3 244247
MissingOverride The method 'setHelpMessage(String)' is missing an @Override annotation. 3 253256
MissingOverride The method 'setIdEntry(int)' is missing an @Override annotation. 3 262265
MissingOverride The method 'setMandatory(boolean)' is missing an @Override annotation. 3 271274
MissingOverride The method 'setParent(IEntry)' is missing an @Override annotation. 3 280283
MissingOverride The method 'setPosition(int)' is missing an @Override annotation. 3 289292
MissingOverride The method 'setTitle(String)' is missing an @Override annotation. 3 298301
MissingOverride The method 'getForm()' is missing an @Override annotation. 3 307310
MissingOverride The method 'setForm(Form)' is missing an @Override annotation. 3 316319
MissingOverride The method 'getFieldDepend()' is missing an @Override annotation. 3 324327
MissingOverride The method 'setFieldDepend(Field)' is missing an @Override annotation. 3 333336
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 343346
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 354357
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 366369
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 375378
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 384387
MissingOverride The method 'getNumberConditionalQuestion()' is missing an @Override annotation. 3 392395
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 404407
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 416419
MissingOverride The method 'setNumberConditionalQuestion(int)' is missing an @Override annotation. 3 426429
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 439443
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 3 451454
MissingOverride The method 'isLastInTheList()' is missing an @Override annotation. 3 459462
MissingOverride The method 'setLastInTheList(boolean)' is missing an @Override annotation. 3 468471
MissingOverride The method 'isFirstInTheList()' is missing an @Override annotation. 3 476479
MissingOverride The method 'setFirstInTheList(boolean)' is missing an @Override annotation. 3 485488
MissingOverride The method 'setConfirmField(boolean)' is missing an @Override annotation. 3 494497
MissingOverride The method 'isConfirmField()' is missing an @Override annotation. 3 503506
MissingOverride The method 'setConfirmFieldTitle(String)' is missing an @Override annotation. 3 512515
MissingOverride The method 'getConfirmFieldTitle()' is missing an @Override annotation. 3 521524
MissingOverride The method 'setUnique(boolean)' is missing an @Override annotation. 3 529532
FormalParameterNamingConventions The method parameter name '_bUnique' doesn't match '[a-z][a-zA-Z0-9]*' 1 529
MissingOverride The method 'isUnique()' is missing an @Override annotation. 3 537540

fr/paris/lutece/plugins/form/business/EntryDAO.java

Rule Violation Priority Ligne
GodClass Possible God Class (WMC=53, ATFD=104, TCC=2.778%) 3 47583
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 165207
MissingOverride The method 'insert(IEntry, Plugin)' is missing an @Override annotation. 3 165207
ConfusingTernary Avoid if (x != y) ..; else ..; 3 174181
ConfusingTernary Avoid if (x != y) ..; else ..; 3 190197
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 216302
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 248254
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 255261
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 310316
MissingOverride The method 'store(IEntry, Plugin)' is missing an @Override annotation. 3 324364
ConfusingTernary Avoid if (x != y) ..; else ..; 3 332339
ConfusingTernary Avoid if (x != y) ..; else ..; 3 348355
NcssCount The method 'selectEntryListByFilter(EntryFilter, Plugin)' has a NCSS line count of 76. 3 372502
ExcessiveMethodLength Avoid really long methods. 3 372502
CyclomaticComplexity The method 'selectEntryListByFilter(EntryFilter, Plugin)' has a cyclomatic complexity of 18. 3 372502
MissingOverride The method 'selectEntryListByFilter(EntryFilter, Plugin)' is missing an @Override annotation. 3 372502
NPathComplexity The method 'selectEntryListByFilter(EntryFilter, Plugin)' has an NPath complexity of 26112 3 372502
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 374
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 382
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 383
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 384
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 385
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 386
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 387
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 389
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 448454
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 455461
NPathComplexity The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' has an NPath complexity of 9216 3 510582
CyclomaticComplexity The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' has a cyclomatic complexity of 15. 3 510582
MissingOverride The method 'selectNumberEntryByFilter(EntryFilter, Plugin)' is missing an @Override annotation. 3 510582
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 514
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 515
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 516
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 517
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 518
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 519
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 521

fr/paris/lutece/plugins/form/business/EntryHome.java

Rule Violation Priority Ligne
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 3 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'entryChild' 3 100

fr/paris/lutece/plugins/form/business/EntryTypeCheckBox.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FinalFieldCouldBeStatic This final field could be made static 3 57
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FinalFieldCouldBeStatic This final field could be made static 3 58
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
FinalFieldCouldBeStatic This final field could be made static 3 59
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6669
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 77137
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 8081
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8081
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 84
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 85
ConfusingTernary Avoid if (x != y) ..; else ..; 3 109116
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 127
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 143146
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 152155
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 165169
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 11. 3 178249
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 178249
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 184
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 188205
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 230
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 258261
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 270273

fr/paris/lutece/plugins/form/business/EntryTypeComment.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 52
FinalFieldCouldBeStatic This final field could be made static 3 52
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
FinalFieldCouldBeStatic This final field could be made static 3 53
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
FinalFieldCouldBeStatic This final field could be made static 3 54
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6164
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 7293
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 99102
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 108111

fr/paris/lutece/plugins/form/business/EntryTypeDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 6283
MissingOverride The method 'select(Plugin)' is missing an @Override annotation. 3 90112
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 92

fr/paris/lutece/plugins/form/business/EntryTypeDate.java

Rule Violation Priority Ligne
FieldNamingConventions The constant name '_message_illogical_date' doesn't match '[A-Z][A-Z_0-9]*' 1 60
FinalFieldCouldBeStatic This final field could be made static 3 61
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
FinalFieldCouldBeStatic This final field could be made static 3 62
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 62
FinalFieldCouldBeStatic This final field could be made static 3 63
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 7073
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 81141
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 10. 3 81141
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 8485
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8485
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 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 88
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 123
ConfusingTernary Avoid if (x != y) ..; else ..; 3 131138
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 147150
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 156159
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 168223
CollapsibleIfStatements These nested if statements could be combined 3 189196
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 232238
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 247253

fr/paris/lutece/plugins/form/business/EntryTypeFile.java

Rule Violation Priority Ligne
FinalFieldCouldBeStatic This final field could be made static 3 66
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 66
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
FinalFieldCouldBeStatic This final field could be made static 3 67
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
FinalFieldCouldBeStatic This final field could be made static 3 68
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 7578
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 86156
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 320 3 86156
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 11. 3 86156
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 8990
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8990
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 91
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 92
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 96
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 138
ConfusingTernary Avoid if (x != y) ..; else ..; 3 146153
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 162165
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 171174
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 11. 3 183232
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 183232
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 188
CollapsibleIfStatements These nested if statements could be combined 3 195202
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 208
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 242247
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 3 255277
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 286289
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 298308
ConfusingTernary Avoid if (x != y) ..; else ..; 3 300307

fr/paris/lutece/plugins/form/business/EntryTypeGroup.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
FinalFieldCouldBeStatic This final field could be made static 3 53
FinalFieldCouldBeStatic This final field could be made static 3 54
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6164
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 7293
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 99102

fr/paris/lutece/plugins/form/business/EntryTypeRadioButton.java

Rule Violation Priority Ligne
FinalFieldCouldBeStatic This final field could be made static 3 56
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FinalFieldCouldBeStatic This final field could be made static 3 57
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FinalFieldCouldBeStatic This final field could be made static 3 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6568
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 76136
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 84
ConfusingTernary Avoid if (x != y) ..; else ..; 3 108115
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 126
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 142145
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 151154
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 164168
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 177223
CollapsibleIfStatements These nested if statements could be combined 3 204211
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 232235
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 244247

fr/paris/lutece/plugins/form/business/EntryTypeSelect.java

Rule Violation Priority Ligne
FinalFieldCouldBeStatic This final field could be made static 3 56
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FinalFieldCouldBeStatic This final field could be made static 3 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FinalFieldCouldBeStatic This final field could be made static 3 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6568
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 76116
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 82
ConfusingTernary Avoid if (x != y) ..; else ..; 3 106113
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 122125
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 131134
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 144148
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 157203
CollapsibleIfStatements These nested if statements could be combined 3 184191
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 212215
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 224227

fr/paris/lutece/plugins/form/business/EntryTypeSelectSQL.java

Rule Violation Priority Ligne
FinalFieldCouldBeStatic This final field could be made static 3 58
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FinalFieldCouldBeStatic This final field could be made static 3 59
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
FinalFieldCouldBeStatic This final field could be made static 3 60
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8586
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 8586
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 88
ConfusingTernary Avoid if (x != y) ..; else ..; 3 111118
CollapsibleIfStatements These nested if statements could be combined 3 193200
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 258

fr/paris/lutece/plugins/form/business/EntryTypeText.java

Rule Violation Priority Ligne
GodClass Possible God Class (WMC=50, ATFD=40, TCC=0.000%) 3 62406
FinalFieldCouldBeStatic This final field could be made static 3 64
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
FinalFieldCouldBeStatic This final field could be made static 3 65
FinalFieldCouldBeStatic This final field could be made static 3 66
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 66
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 7376
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 20480 3 84202
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 84202
ExcessiveMethodLength Avoid really long methods. 3 84202
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 19. 3 84202
NcssCount The method 'getRequestData(HttpServletRequest, Locale)' has a NCSS line count of 60. 3 84202
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 8788
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8788
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 89
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 90
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 91
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 93
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 96
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 98
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 99
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 162
ConfusingTernary Avoid if (x != y) ..; else ..; 3 172179
ConfusingTernary Avoid if (x != y) ..; else ..; 3 181190
ConfusingTernary Avoid if (x != y) ..; else ..; 3 192199
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 208211
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 217220
MissingOverride The method 'getPaginator(int, String, String, String)' is missing an @Override annotation. 3 230235
MissingOverride The method 'getReferenceListRegularExpression(IEntry, Plugin)' is missing an @Override annotation. 3 243265
NPathComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has an NPath complexity of 2354 3 274381
CyclomaticComplexity The method 'getResponseData(HttpServletRequest, List, Locale)' has a cyclomatic complexity of 21. 3 274381
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 274381
ExcessiveMethodLength Avoid really long methods. 3 274381
CollapsibleIfStatements These nested if statements could be combined 3 306313
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 317
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 390393
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 402405

fr/paris/lutece/plugins/form/business/EntryTypeTextArea.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_template_create' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FinalFieldCouldBeStatic This final field could be made static 3 56
FinalFieldCouldBeStatic This final field could be made static 3 57
FieldNamingConventions The final field name '_template_modify' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The final field name '_template_html_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FinalFieldCouldBeStatic This final field could be made static 3 58
MissingOverride The method 'getHtmlCode()' is missing an @Override annotation. 3 6568
CyclomaticComplexity The method 'getRequestData(HttpServletRequest, Locale)' has a cyclomatic complexity of 14. 3 76166
MissingOverride The method 'getRequestData(HttpServletRequest, Locale)' is missing an @Override annotation. 3 76166
NPathComplexity The method 'getRequestData(HttpServletRequest, Locale)' has an NPath complexity of 896 3 76166
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 7980
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7980
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 81
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 82
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 83
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 87
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 88
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 146
ConfusingTernary Avoid if (x != y) ..; else ..; 3 156163
MissingOverride The method 'getTemplateCreate()' is missing an @Override annotation. 3 172175
MissingOverride The method 'getTemplateModify()' is missing an @Override annotation. 3 181184
MissingOverride The method 'getResponseData(HttpServletRequest, List, Locale)' is missing an @Override annotation. 3 193230
CollapsibleIfStatements These nested if statements could be combined 3 214221
MissingOverride The method 'getResponseValueForExport(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 239242
MissingOverride The method 'getResponseValueForRecap(HttpServletRequest, Response, Locale)' is missing an @Override annotation. 3 251254

fr/paris/lutece/plugins/form/business/ExportFormat.java

Rule Violation Priority Ligne
MethodReturnsInternalArray Returning '_xsl' may expose an internal array. 3 113
ArrayIsStoredDirectly The user-supplied array 'donnees' is stored directly. 3 120
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 3 129132
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 3 138141
AddEmptyString Do not add empty strings 3 140

fr/paris/lutece/plugins/form/business/ExportFormatDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(ExportFormat, Plugin)' is missing an @Override annotation. 3 91102
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 91102
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 111132
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 140146
MissingOverride The method 'store(ExportFormat, Plugin)' is missing an @Override annotation. 3 154165
MissingOverride The method 'selectListExport(Plugin)' is missing an @Override annotation. 3 173193
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 175
MissingOverride The method 'getListExport(Plugin)' is missing an @Override annotation. 3 200218

fr/paris/lutece/plugins/form/business/FieldDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(Field, Plugin)' is missing an @Override annotation. 3 125145
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 125145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 139
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 154185
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 193199
MissingOverride The method 'store(Field, Plugin)' is missing an @Override annotation. 3 207226
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 220
MissingOverride The method 'selectFieldListByIdEntry(int, Plugin)' is missing an @Override annotation. 3 234267
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 236
MissingOverride The method 'deleteVerifyBy(int, int, Plugin)' is missing an @Override annotation. 3 276283
MissingOverride The method 'insertVerifyBy(int, int, Plugin)' is missing an @Override annotation. 3 292299
MissingOverride The method 'selectListRegularExpressionKeyByIdField(int, Plugin)' is missing an @Override annotation. 3 307322
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 309
MissingOverride The method 'isRegularExpressionIsUse(int, Plugin)' is missing an @Override annotation. 3 331347

fr/paris/lutece/plugins/form/business/FieldHome.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 153
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 159
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 159173

fr/paris/lutece/plugins/form/business/Form.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34637
TooManyFields Too many fields 3 52637
ShortClassName Avoid short class names like Form 4 52637
NonThreadSafeSingleton Singleton is not thread safe 3 9498
NonThreadSafeSingleton Singleton is not thread safe 3 100104
MissingOverride The method 'getWorkgroup()' is missing an @Override annotation. 3 309312
MissingOverride The method 'getResourceTypeCode()' is missing an @Override annotation. 3 417420
MissingOverride The method 'getResourceId()' is missing an @Override annotation. 3 426429
AddEmptyString Do not add empty strings 3 428
FormalParameterNamingConventions The method parameter name '_tDateBeginDisponibility' doesn't match '[a-z][a-zA-Z0-9]*' 1 471
FormalParameterNamingConventions The method parameter name '_bAutoPublicationActive' doesn't match '[a-z][a-zA-Z0-9]*' 1 489
FormalParameterNamingConventions The method parameter name '_strLibelleResetButton' doesn't match '[a-z][a-zA-Z0-9]*' 1 516

fr/paris/lutece/plugins/form/business/FormAction.java

Rule Violation Priority Ligne
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3 184187
MissingOverride The method 'setLocale(Locale)' is missing an @Override annotation. 3 203206

fr/paris/lutece/plugins/form/business/FormActionDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'selectActionsByFormState(int, Plugin)' is missing an @Override annotation. 3 5779
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 59

fr/paris/lutece/plugins/form/business/FormDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 116156
MissingOverride The method 'insert(Form, Plugin)' is missing an @Override annotation. 3 116156
ConfusingTernary Avoid if (x != y) ..; else ..; 3 135136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 136
ConfusingTernary Avoid if (x != y) ..; else ..; 3 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 138
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 165211
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 219225
MissingOverride The method 'store(Form, Plugin)' is missing an @Override annotation. 3 233269
ConfusingTernary Avoid if (x != y) ..; else ..; 3 250251
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 251
ConfusingTernary Avoid if (x != y) ..; else ..; 3 253
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 253
NPathComplexity The method 'selectFormList(FormFilter, Plugin)' has an NPath complexity of 3072 3 277394
NcssCount The method 'selectFormList(FormFilter, Plugin)' has a NCSS line count of 71. 3 277394
CyclomaticComplexity The method 'selectFormList(FormFilter, Plugin)' has a cyclomatic complexity of 14. 3 277394
ExcessiveMethodLength Avoid really long methods. 3 277394
MissingOverride The method 'selectFormList(FormFilter, Plugin)' is missing an @Override annotation. 3 277394
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 279
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 282
MissingOverride The method 'getEnableFormList(Plugin)' is missing an @Override annotation. 3 401423

fr/paris/lutece/plugins/form/business/FormFilter.java

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

fr/paris/lutece/plugins/form/business/FormHome.java

Rule Violation Priority Ligne
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'entry' 3 96

fr/paris/lutece/plugins/form/business/FormRegularExpressionRemovalListener.java

Rule Violation Priority Ligne
MissingOverride The method 'canBeRemoved(String)' is missing an @Override annotation. 3 5777
MissingOverride The method 'getRemovalRefusedMessage(String, Locale)' is missing an @Override annotation. 3 8589

fr/paris/lutece/plugins/form/business/FormSubmit.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like ip 3 104

fr/paris/lutece/plugins/form/business/FormSubmitDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 104120
MissingOverride The method 'insert(FormSubmit, Plugin)' is missing an @Override annotation. 3 104120
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 129151
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 159165
MissingOverride The method 'store(FormSubmit, Plugin)' is missing an @Override annotation. 3 173183
MissingOverride The method 'selectListByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 3 191253
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 193
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 196
MissingOverride The method 'selectCountByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 3 261313
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 264
MissingOverride The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' is missing an @Override annotation. 3 321394
CyclomaticComplexity The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' has a cyclomatic complexity of 11. 3 321394
NPathComplexity The method 'selectStatisticFormSubmit(ResponseFilter, Plugin)' has an NPath complexity of 1024 3 321394
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 323
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 325
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 326

fr/paris/lutece/plugins/form/business/FormWorkgroupRemovalListener.java

Rule Violation Priority Ligne
MissingOverride The method 'canBeRemoved(String)' is missing an @Override annotation. 3 5776
MissingOverride The method 'getRemovalRefusedMessage(String, Locale)' is missing an @Override annotation. 3 8488

fr/paris/lutece/plugins/form/business/GraphTypeBarChart.java

Rule Violation Priority Ligne
MissingOverride The method 'createChart(List, String, boolean, boolean)' is missing an @Override annotation. 3 7276

fr/paris/lutece/plugins/form/business/GraphTypeDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 61104
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 8591
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 9298
MissingOverride The method 'select(Plugin)' is missing an @Override annotation. 3 111130
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 116

fr/paris/lutece/plugins/form/business/GraphTypePieChart.java

Rule Violation Priority Ligne
MissingOverride The method 'createChart(List, String, boolean, boolean)' is missing an @Override annotation. 3 6266

fr/paris/lutece/plugins/form/business/IEntry.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34335

fr/paris/lutece/plugins/form/business/RecapDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(Recap, Plugin)' is missing an @Override annotation. 3 89116
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 89116
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 125160
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 168174
MissingOverride The method 'store(Recap, Plugin)' is missing an @Override annotation. 3 182207

fr/paris/lutece/plugins/form/business/Response.java

Rule Violation Priority Ligne
MethodReturnsInternalArray Returning '_byValueResponse' may expose an internal array. 3 113
ArrayIsStoredDirectly The user-supplied array 'valueResponse' is stored directly. 3 120

fr/paris/lutece/plugins/form/business/ResponseDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(Response, Plugin)' is missing an @Override annotation. 3 104128
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 104128
ConfusingTernary Avoid if (x != y) ..; else ..; 3 113120
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 137207
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 170175
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 176181
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 215221
MissingOverride The method 'store(Response, Plugin)' is missing an @Override annotation. 3 229252
ConfusingTernary Avoid if (x != y) ..; else ..; 3 238245
NPathComplexity The method 'selectListByFilter(ResponseFilter, Plugin)' has an NPath complexity of 1088 3 260358
MissingOverride The method 'selectListByFilter(ResponseFilter, Plugin)' is missing an @Override annotation. 3 260358
CyclomaticComplexity The method 'selectListByFilter(ResponseFilter, Plugin)' has a cyclomatic complexity of 13. 3 260358
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 263
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 271
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 272
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 274
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 320325
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 326331
MissingOverride The method 'getStatisticByIdEntry(int, Plugin)' is missing an @Override annotation. 3 366385
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 368

fr/paris/lutece/plugins/form/business/outputprocessor/FormProcessorDAO.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 6080
MissingOverride The method 'selectByIdForm(int, Plugin)' is missing an @Override annotation. 3 6080
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 62
CommentRequired Public method and constructor comments are required 3 85105
MissingOverride The method 'selectAll(Plugin)' is missing an @Override annotation. 3 85105
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 87
CommentRequired Public method and constructor comments are required 3 110119
MissingOverride The method 'insert(FormProcessor, Plugin)' is missing an @Override annotation. 3 110119
MissingOverride The method 'delete(FormProcessor, Plugin)' is missing an @Override annotation. 3 124132
CommentRequired Public method and constructor comments are required 3 124132

fr/paris/lutece/plugins/form/business/outputprocessor/IFormProcessorDAO.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4171

fr/paris/lutece/plugins/form/business/outputprocessor/IOutputProcessorSet.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4060

fr/paris/lutece/plugins/form/business/outputprocessor/OutputProcessor.java

Rule Violation Priority Ligne
MissingOverride The method 'getKey()' is missing an @Override annotation. 3 5053
CommentRequired Public method and constructor comments are required 3 5053
CommentRequired Public method and constructor comments are required 3 5861
MissingOverride The method 'setKey(String)' is missing an @Override annotation. 3 5861

fr/paris/lutece/plugins/form/business/outputprocessor/OutputProcessorSet.java

Rule Violation Priority Ligne
MissingOverride The method 'setOutputProcessorMap(Map)' is missing an @Override annotation. 3 5160
CommentRequired Public method and constructor comments are required 3 5160
CommentRequired Public method and constructor comments are required 3 6570
MissingOverride The method 'getOutputProcessor(String)' is missing an @Override annotation. 3 6570
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'outputProcessor' 3 69
CommentRequired Public method and constructor comments are required 3 7682
MissingOverride The method 'getAllOutputProcessor()' is missing an @Override annotation. 3 7682
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 78
UnusedLocalVariable Avoid unused local variables such as 'test'. 3 78
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'list' 3 81

fr/paris/lutece/plugins/form/business/portlet/FormPortlet.java

Rule Violation Priority Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 7274
UncommentedEmptyConstructor Document empty constructor 3 7274
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7274
MissingOverride The method 'getXml(HttpServletRequest)' is missing an @Override annotation. 3 82127
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8794
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 112
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'str' 3 126
MissingOverride The method 'getXmlDocument(HttpServletRequest)' is missing an @Override annotation. 3 135138
MissingOverride The method 'remove()' is missing an @Override annotation. 3 151154
MissingOverride The method 'getStatus()' is missing an @Override annotation. 3 201204
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 3 211214

fr/paris/lutece/plugins/form/business/portlet/FormPortletDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(Portlet)' is missing an @Override annotation. 3 6070
ShortVariable Avoid variables with short names like p 3 62
MissingOverride The method 'delete(int)' is missing an @Override annotation. 3 7884
MissingOverride The method 'load(int)' is missing an @Override annotation. 3 93110
MissingOverride The method 'selectCountPortletByIdForm(int)' is missing an @Override annotation. 3 117132
MissingOverride The method 'store(Portlet)' is missing an @Override annotation. 3 140149
ShortVariable Avoid variables with short names like p 3 142

fr/paris/lutece/plugins/form/business/portlet/FormPortletHome.java

Rule Violation Priority Ligne
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 58
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6369
NonThreadSafeSingleton Singleton is not thread safe 3 7881
MissingOverride The method 'getPortletTypeId()' is missing an @Override annotation. 3 9197
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strPortletTypeId' 3 96
MissingOverride The method 'getDAO()' is missing an @Override annotation. 3 104107

fr/paris/lutece/plugins/form/business/portlet/IFormPortletDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'delete(int)' is missing an @Override annotation. 3 51
MissingOverride The method 'insert(Portlet)' is missing an @Override annotation. 3 59
MissingOverride The method 'load(int)' is missing an @Override annotation. 3 68
MissingOverride The method 'store(Portlet)' is missing an @Override annotation. 3 83

fr/paris/lutece/plugins/form/modules/processornotifysender/business/NotifySenderConfigurationDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'insert(NotifySenderConfiguration, Plugin)' is missing an @Override annotation. 3 5868
CommentRequired Public method and constructor comments are required 3 5868
CommentRequired Public method and constructor comments are required 3 7393
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 7393
CommentRequired Public method and constructor comments are required 3 98104
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 98104
CommentRequired Public method and constructor comments are required 3 109120
MissingOverride The method 'store(NotifySenderConfiguration, Plugin)' is missing an @Override annotation. 3 109120
CommentRequired Public method and constructor comments are required 3 125146
MissingOverride The method 'selectNotifySenderConfigurationsList(Plugin)' is missing an @Override annotation. 3 125146
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 127

fr/paris/lutece/plugins/form/modules/processornotifysender/business/ProcessorNotifySender.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 93111
MissingOverride The method 'getOutputConfigForm(HttpServletRequest, Form, Locale, Plugin)' is missing an @Override annotation. 3 93111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 100
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 100
MissingOverride The method 'doOutputConfigForm(HttpServletRequest, Locale, Plugin)' is missing an @Override annotation. 3 117152
CommentRequired Public method and constructor comments are required 3 117152
ConfusingTernary Avoid if (x != y) ..; else ..; 3 142149
MissingOverride The method 'process(FormSubmit, HttpServletRequest, Plugin)' is missing an @Override annotation. 3 158237
CommentRequired Public method and constructor comments are required 3 158237
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 187
ConfusingTernary Avoid if (x != y) ..; else ..; 3 197206
ShortVariable Avoid variables with short names like t 3 223
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 231
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 3 247
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 252
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 253
UnusedLocalVariable Avoid unused local variables such as 'strSendRecap'. 3 253

fr/paris/lutece/plugins/form/service/DefaultMessageResourceIdService.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6164
MissingOverride The method 'register()' is missing an @Override annotation. 3 6982
ShortVariable Avoid variables with short names like rt 3 71
ShortVariable Avoid variables with short names like p 3 77
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 3 8992
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 3 100103

fr/paris/lutece/plugins/form/service/ExportFormatResourceIdService.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6467
MissingOverride The method 'register()' is missing an @Override annotation. 3 7285
ShortVariable Avoid variables with short names like rt 3 74
ShortVariable Avoid variables with short names like p 3 80
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 3 9295
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 3 103119

fr/paris/lutece/plugins/form/service/FormPlugin.java

Rule Violation Priority Ligne
MissingOverride The method 'init()' is missing an @Override annotation. 3 5256

fr/paris/lutece/plugins/form/service/FormResourceIdService.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 9699
MissingOverride The method 'register()' is missing an @Override annotation. 3 104158
ShortVariable Avoid variables with short names like rt 3 106
ShortVariable Avoid variables with short names like p 3 112
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 3 165168
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 3 176192

fr/paris/lutece/plugins/form/service/OutputProcessorService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 52150
FieldNamingConventions The field name '_OutputProcessorSet' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
ImmutableField Private field '_OutputProcessorSet' could be made final; it is only initialized in the declaration or constructor. 3 56
CommentRequired Public method and constructor comments are required 3 6573
NonThreadSafeSingleton Singleton is not thread safe 3 6770
CommentRequired Public method and constructor comments are required 3 7578
CommentRequired Public method and constructor comments are required 3 8099
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 82
CommentRequired Public method and constructor comments are required 3 101110
CommentRequired Public method and constructor comments are required 3 112119
CommentRequired Public method and constructor comments are required 3 121128
CommentRequired Public method and constructor comments are required 3 130144
CommentRequired Public method and constructor comments are required 3 146149

fr/paris/lutece/plugins/form/service/publication/DaemonPublication.java

Rule Violation Priority Ligne
MissingOverride The method 'run()' is missing an @Override annotation. 3 5053

fr/paris/lutece/plugins/form/service/publication/PublicationService.java

Rule Violation Priority Ligne
UnusedLocalVariable Avoid unused local variables such as 'autoPublicationActive'. 3 83

fr/paris/lutece/plugins/form/utils/FormUtils.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 341197
CyclomaticComplexity The class 'FormUtils' has a total cyclomatic complexity of 126 (highest 14). 3 1011197
ExcessiveClassLength Avoid really long classes. 3 1011197
GodClass Possible God Class (WMC=126, ATFD=237, TCC=2.151%) 3 1011197
TooManyMethods This class has too many methods, consider refactoring it. 3 1021197
ShortVariable Avoid variables with short names like t 3 174
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 184
ShortVariable Avoid variables with short names like t 3 208
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 218
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp' 3 246
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp' 3 271
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'timeStamp1' 3 362
CyclomaticComplexity The method 'sameDate(Timestamp, Timestamp, String)' has a cyclomatic complexity of 10. 3 372400
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 452
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 453
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 486490
IdenticalCatchBranches 'catch' branch identical to 'ClassNotFoundException' branch 3 491495
LinguisticNaming Linguistics Antipattern - The getter 'getHtmlEntry' should not return void linguistically 3 595653
CyclomaticComplexity The method 'getResponseEntry(HttpServletRequest, int, Plugin, FormSubmit, boolean, Locale)' has a cyclomatic complexity of 14. 3 666746
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 672
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 675
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 3 679
ConfusingTernary Avoid if (x != y) ..; else ..; 3 699708
CyclomaticComplexity The method 'getXmlResponses(HttpServletRequest, Form, List, Locale, Plugin)' has a cyclomatic complexity of 12. 3 795871
ConfusingTernary Avoid if (x != y) ..; else ..; 3 812819
ConfusingTernary Avoid if (x != y) ..; else ..; 3 846854
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 885
ConfusingTernary Avoid if (x != y) ..; else ..; 3 893900
CommentRequired Public method and constructor comments are required 3 10251042
ConfusingTernary Avoid if (x != y) ..; else ..; 3 10311038
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1052
AvoidReassigningParameters Avoid reassigning parameters such as 'entryParent' 2 1089
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 3 1095
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1116
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1130
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1169
AssignmentInOperand Avoid assignments in operands 3 1169

fr/paris/lutece/plugins/form/web/DefaultMessageJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 61204
UnusedPrivateField Avoid unused private fields such as 'FIELD_LIBELLE_RESET_BUTTON'. 3 92
CyclomaticComplexity The method 'getDefaultMessageData(HttpServletRequest, DefaultMessage)' has a cyclomatic complexity of 14. 3 150203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 157

fr/paris/lutece/plugins/form/web/DoDownloadGraph.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 14. 3 80149
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 144

fr/paris/lutece/plugins/form/web/ExportFormatJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 78456
ImmutableField Private field '_nDefaultItemsPerPage' could be made final; it is only initialized in the declaration or constructor. 3 123
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 216
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 217
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 218
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 220
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 260
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 261
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 327
NPathComplexity The method 'getExportFormatData(MultipartHttpServletRequest, ExportFormat)' has an NPath complexity of 240 3 362421
CyclomaticComplexity The method 'getExportFormatData(MultipartHttpServletRequest, ExportFormat)' has a cyclomatic complexity of 16. 3 362421
LinguisticNaming Linguistics Antipattern - The method 'isValid' indicates linguistically it returns a boolean, but it returns 'String' 3 428445
ShortVariable Avoid variables with short names like is 3 436
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 439

fr/paris/lutece/plugins/form/web/FormApp.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34646
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 84646
UnusedPrivateField Avoid unused private fields such as 'PARAMETER_PAGE_ID'. 3 115
MissingOverride The method 'getPage(HttpServletRequest, int, Plugin)' is missing an @Override annotation. 3 146225
CyclomaticComplexity The method 'getPage(HttpServletRequest, int, Plugin)' has a cyclomatic complexity of 16. 3 146225
NPathComplexity The method 'getPage(HttpServletRequest, int, Plugin)' has an NPath complexity of 480 3 146225
ConfusingTernary Avoid if (x != y) ..; else ..; 3 187222
ConfusingTernary Avoid if (x != y) ..; else ..; 3 195222
ConfusingTernary Avoid if (x != y) ..; else ..; 3 202222
ConfusingTernary Avoid if (x != y) ..; else ..; 3 210222
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 3 235
CyclomaticComplexity The method 'getResult(HttpServletRequest, HttpSession, int, Plugin)' has a cyclomatic complexity of 16. 3 235296
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 287
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 287
UnusedFormalParameter Avoid unused method parameters such as 'session'. 3 307
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 3 307
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 313
UnusedFormalParameter Avoid unused method parameters such as 'session'. 3 332
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 3 332
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 336
ConfusingTernary Avoid if (x != y) ..; else ..; 3 354370
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 364
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 3 388
ExcessiveMethodLength Avoid really long methods. 3 388503
CyclomaticComplexity The method 'getRecap(HttpServletRequest, HttpSession, int, Plugin)' has a cyclomatic complexity of 20. 3 388503
NPathComplexity The method 'getRecap(HttpServletRequest, HttpSession, int, Plugin)' has an NPath complexity of 11520 3 388503
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 392
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 392
ConfusingTernary Avoid if (x != y) ..; else ..; 3 468476
UnusedFormalParameter Avoid unused method parameters such as 'nMode'. 3 513
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 517
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 517
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 571
ConfusingTernary Avoid if (x != y) ..; else ..; 3 617624

fr/paris/lutece/plugins/form/web/FormJspBean.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 343884
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 343884
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 1273884
ExcessiveClassLength Avoid really long classes. 3 1273884
CyclomaticComplexity The class 'FormJspBean' has a total cyclomatic complexity of 456 (highest 29). 3 1273884
NcssCount The class 'FormJspBean' has a NCSS line count of 1753 (Highest = 90). 3 1273884
TooManyMethods This class has too many methods, consider refactoring it. 3 1283884
ImmutableField Private field '_nDefaultItemsPerPage' could be made final; it is only initialized in the declaration or constructor. 3 320
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 388
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 388
NPathComplexity The method 'getFormData(HttpServletRequest, Form)' has an NPath complexity of 1679360 3 445639
NcssCount The method 'getFormData(HttpServletRequest, Form)' has a NCSS line count of 90. 3 445639
CyclomaticComplexity The method 'getFormData(HttpServletRequest, Form)' has a cyclomatic complexity of 29. 3 445639
ExcessiveMethodLength Avoid really long methods. 3 445639
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 449
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 450
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 451
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 452
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 453
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 455
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 456
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 457
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 458
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 460
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 461
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 462
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 463
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 464
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 465
ConfusingTernary Avoid if (x != y) ..; else ..; 3 516523
ConfusingTernary Avoid if (x != y) ..; else ..; 3 525532
ConfusingTernary Avoid if (x != y) ..; else ..; 3 534541
ConfusingTernary Avoid if (x != y) ..; else ..; 3 543550
ConfusingTernary Avoid if (x != y) ..; else ..; 3 552559
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 4 581
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 4 599
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 659
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 667
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 692
NcssCount The method 'getModifyForm(HttpServletRequest)' has a NCSS line count of 74. 3 725845
ExcessiveMethodLength Avoid really long methods. 3 725845
CyclomaticComplexity The method 'getModifyForm(HttpServletRequest)' has a cyclomatic complexity of 11. 3 725845
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 727
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 728
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 728
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 729
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 730
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 731
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 734
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 771
AvoidDuplicateLiterals The String literal "?id_form=" appears 4 times in this file; the first occurrence is on line 806 3 806
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 827
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 827
CyclomaticComplexity The method 'doModifyForm(HttpServletRequest)' has a cyclomatic complexity of 10. 3 852902
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 911
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 913
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 914
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 961
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 962
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 963
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 989
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1014
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1015
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1016
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1017
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1061
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1064
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1065
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1066
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1095
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1095
ExcessiveMethodLength Avoid really long methods. 3 11151233
CyclomaticComplexity The method 'getRecapData(HttpServletRequest, Recap)' has a cyclomatic complexity of 15. 3 11151233
NPathComplexity The method 'getRecapData(HttpServletRequest, Recap)' has an NPath complexity of 980 3 11151233
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1117
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1118
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1121
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1122
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1123
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1124
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1128
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1129
ConfusingTernary Avoid if (x != y) ..; else ..; 3 11531160
ConfusingTernary Avoid if (x != y) ..; else ..; 3 11621230
ConfusingTernary Avoid if (x != y) ..; else ..; 3 12131220
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1286
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1289
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1290
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1321
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1321
NPathComplexity The method 'doCreateEntry(HttpServletRequest)' has an NPath complexity of 208 3 13451415
CyclomaticComplexity The method 'doCreateEntry(HttpServletRequest)' has a cyclomatic complexity of 12. 3 13451415
ConfusingTernary Avoid if (x != y) ..; else ..; 3 14071414
CyclomaticComplexity The method 'getModifyEntry(HttpServletRequest)' has a cyclomatic complexity of 11. 3 14221508
NPathComplexity The method 'getModifyEntry(HttpServletRequest)' has an NPath complexity of 288 3 14221508
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1424
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1425
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1426
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1454
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 3 1458
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1464
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1464
NPathComplexity The method 'doModifyEntry(HttpServletRequest)' has an NPath complexity of 252 3 15151578
CyclomaticComplexity The method 'doModifyEntry(HttpServletRequest)' has a cyclomatic complexity of 12. 3 15151578
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1518
ConfusingTernary Avoid if (x != y) ..; else ..; 3 15651572
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1587
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1588
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1590
ConfusingTernary Avoid if (x != y) ..; else ..; 3 16181625
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1645
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1647
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1673
ConfusingTernary Avoid if (x != y) ..; else ..; 3 16851692
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1702
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1704
ConfusingTernary Avoid if (x != y) ..; else ..; 3 17411748
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1758
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1759
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1760
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1761
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 1794
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1794
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1811
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1812
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1813
CyclomaticComplexity The method 'doMoveUpEntry(HttpServletRequest)' has a cyclomatic complexity of 10. 3 18631942
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1865
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1866
ConfusingTernary Avoid if (x != y) ..; else ..; 3 18981905
ConfusingTernary Avoid if (x != y) ..; else ..; 3 19071914
ConfusingTernary Avoid if (x != y) ..; else ..; 3 19341941
CyclomaticComplexity The method 'doMoveDownEntry(HttpServletRequest)' has a cyclomatic complexity of 10. 3 19492028
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1951
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1952
ConfusingTernary Avoid if (x != y) ..; else ..; 3 19841991
ConfusingTernary Avoid if (x != y) ..; else ..; 3 19932000
ConfusingTernary Avoid if (x != y) ..; else ..; 3 20202027
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2037
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2038
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2106
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2107
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2108
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2180
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2183
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2247
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2248
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2250
UnusedFormalParameter Avoid unused method parameters such as 'plugin'. 3 2367
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 3 2388
ConfusingTernary Avoid if (x != y) ..; else ..; 3 23952402
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 3 2414
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2438
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2439
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2495
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2507
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 2507
ConfusingTernary Avoid if (x != y) ..; else ..; 3 25102517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2535
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2536
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2537
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2538
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2539
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 2573
ConfusingTernary Avoid if (x != y) ..; else ..; 3 26592680
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2722
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2759
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2760
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2761
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2762
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2763
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2811
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2812
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2813
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2814
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2815
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 2935
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2938
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2939
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2943
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2969
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 2969
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 2974
NPathComplexity The method 'doTestForm(HttpServletRequest)' has an NPath complexity of 1152 3 29903088
CyclomaticComplexity The method 'doTestForm(HttpServletRequest)' has a cyclomatic complexity of 15. 3 29903088
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2992
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2993
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2994
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2996
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2997
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2998
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3000
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3057
CyclomaticComplexity The method 'doExportResponseTestForm(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 13. 3 30983172
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3102
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3103
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3109
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3110
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 3138
ConfusingTernary Avoid if (x != y) ..; else ..; 3 31383168
ShortVariable Avoid variables with short names like os 3 3156
NcssCount The method 'getResult(HttpServletRequest)' has a NCSS line count of 61. 3 31793284
ExcessiveMethodLength Avoid really long methods. 3 31793284
NPathComplexity The method 'getResult(HttpServletRequest)' has an NPath complexity of 1920 3 31793284
CyclomaticComplexity The method 'getResult(HttpServletRequest)' has a cyclomatic complexity of 15. 3 31793284
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3181
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3183
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3184
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3185
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3186
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3187
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3189
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3194
ConfusingTernary Avoid if (x != y) ..; else ..; 3 32473266
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3268
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3268
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3276
NPathComplexity The method 'doExportResult(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 769 3 32933396
CyclomaticComplexity The method 'doExportResult(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 16. 3 32933396
ExcessiveMethodLength Avoid really long methods. 3 32933396
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3297
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3320
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3321
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3322
ConfusingTernary Avoid if (x != y) ..; else ..; 3 33623392
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 3362
ShortVariable Avoid variables with short names like os 3 3380
CyclomaticComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 17. 3 34043526
NcssCount The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has a NCSS line count of 65. 3 34043526
ExcessiveMethodLength Avoid really long methods. 3 34043526
NPathComplexity The method 'doGenerateGraph(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 3840 3 34043526
ConfusingTernary Avoid if (x != y) ..; else ..; 3 34453464
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3480
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 3483
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 3522
CyclomaticComplexity The method 'doDownloadFile(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 10. 3 35353610
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3564
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 3574
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 3575
ConfusingTernary Avoid if (x != y) ..; else ..; 3 35843606
ShortVariable Avoid variables with short names like os 3 3593
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3621
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3646
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3648
LinguisticNaming Linguistics Antipattern - The variable 'hasMaProcess' indicates linguistically it is a boolean, but it is 'HashMap' 3 3650
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3655
CyclomaticComplexity The method 'doManageOutputProcessor(HttpServletRequest)' has a cyclomatic complexity of 16. 3 36783750
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3684
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3685
ConfusingTernary Avoid if (x != y) ..; else ..; 3 37173744
ConfusingTernary Avoid if (x != y) ..; else ..; 3 37213728
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3794
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 3794
CyclomaticComplexity The method 'doModifyMessage(HttpServletRequest)' has a cyclomatic complexity of 15. 3 38113883
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3842
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3846

fr/paris/lutece/plugins/form/web/ManageFormJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 60133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 92
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 92
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 98

fr/paris/lutece/plugins/form/web/portlet/FormPortletJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 60225
MissingOverride The method 'getCreate(HttpServletRequest)' is missing an @Override annotation. 3 7993
MissingOverride The method 'getModify(HttpServletRequest)' is missing an @Override annotation. 3 101128
MissingOverride The method 'doCreate(HttpServletRequest)' is missing an @Override annotation. 3 136176
MissingOverride The method 'doModify(HttpServletRequest)' is missing an @Override annotation. 3 184224