Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/forms/business/CompositeDisplayType.java

Rule Violation Line
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/plugins/forms/business/ControlType.java

Rule Violation Line
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/plugins/forms/business/FormQuestionResponseDAO.java

Rule Violation Line
FieldNamingConventions The constant name '_formQuestionEntryResponseDAO' doesn't match '[A-Z][A-Z_0-9]*' 73

fr/paris/lutece/plugins/forms/business/IControlGroupDAO.java

Rule Violation Line
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 107

fr/paris/lutece/plugins/forms/business/LogicalOperator.java

Rule Violation Line
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 8

fr/paris/lutece/plugins/forms/business/MultiviewConfig.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 39173

fr/paris/lutece/plugins/forms/business/export/FormExportConfigHome.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 42108

fr/paris/lutece/plugins/forms/business/form/FormItemSortConfig.java

Rule Violation Line
FieldNamingConventions The final field name '_nColumnToSortPosition' doesn't match '[a-z][a-zA-Z0-9]*' 42
FieldNamingConventions The final field name '_strSortAttributeName' doesn't match '[a-z][a-zA-Z0-9]*' 43
FieldNamingConventions The final field name '_bAscSort' doesn't match '[a-z][a-zA-Z0-9]*' 44

fr/paris/lutece/plugins/forms/business/form/FormResponseItem.java

Rule Violation Line
FieldNamingConventions The final field name '_listFormColumnCell' doesn't match '[a-z][a-zA-Z0-9]*' 48

fr/paris/lutece/plugins/forms/business/form/LuceneQueryBuilder.java

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

fr/paris/lutece/plugins/forms/business/form/column/FormColumnCellComparator.java

Rule Violation Line
FieldNamingConventions The final field name '_strSortKey' doesn't match '[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/forms/business/form/filter/configuration/AbstractFormFilterConfiguration.java

Rule Violation Line
FieldNamingConventions The final field name '_nPosition' doesn't match '[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The final field name '_strFormFilterLabel' doesn't match '[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The final field name '_strFormFilterName' doesn't match '[a-z][a-zA-Z0-9]*' 50

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterEntryConfiguration.java

Rule Violation Line
FieldNamingConventions The final field name '_formColumn' doesn't match '[a-z][a-zA-Z0-9]*' 48

fr/paris/lutece/plugins/forms/business/form/list/FormListFacade.java

Rule Violation Line
FieldNamingConventions The final field name '_formListDAO' doesn't match '[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/forms/business/form/panel/FormPanelFactory.java

Rule Violation Line
FieldNamingConventions The final field name '_listFormPanelConfiguration' doesn't match '[a-z][a-zA-Z0-9]*' 50

fr/paris/lutece/plugins/forms/business/form/panel/configuration/FormPanelConfiguration.java

Rule Violation Line
FieldNamingConventions The final field name '_nPosition' doesn't match '[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The final field name '_strTechnicalCode' doesn't match '[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The final field name '_strTitle' doesn't match '[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The final field name '_listFormPanelInitializerName' doesn't match '[a-z][a-zA-Z0-9]*' 51

fr/paris/lutece/plugins/forms/business/form/panel/initializer/querypart/FormPanelInitializerQueryBuilder.java

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

fr/paris/lutece/plugins/forms/dashboard/PublicDashboardForms.java

Rule Violation Line
FieldNamingConventions The field name 'strIdComponent' doesn't match '_[a-z][a-zA-Z0-9]*' 21
FormalParameterNamingConventions The method parameter name 'user_id' doesn't match '[a-z][a-zA-Z0-9]*' 42
FormalParameterNamingConventions The method parameter name 'published_formresponse_only' doesn't match '[a-z][a-zA-Z0-9]*' 56
FormalParameterNamingConventions The method parameter name 'published_questions_only' doesn't match '[a-z][a-zA-Z0-9]*' 56

fr/paris/lutece/plugins/forms/export/AbstractFileGenerator.java

Rule Violation Line
FieldNamingConventions The final field name '_formPanel' doesn't match '[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The final field name '_listFormColumn' doesn't match '[a-z][a-zA-Z0-9]*' 68
FieldNamingConventions The final field name '_listFormFilter' doesn't match '[a-z][a-zA-Z0-9]*' 69
FieldNamingConventions The final field name '_sortConfig' doesn't match '[a-z][a-zA-Z0-9]*' 70
FieldNamingConventions The final field name '_fileName' doesn't match '[a-z][a-zA-Z0-9]*' 71
FieldNamingConventions The final field name '_fileDescription' doesn't match '[a-z][a-zA-Z0-9]*' 72

fr/paris/lutece/plugins/forms/export/ExportServiceManager.java

Rule Violation Line
FieldNamingConventions The final field name '_listFormatExport' doesn't match '[a-z][a-zA-Z0-9]*' 66

fr/paris/lutece/plugins/forms/export/csv/CSVDataLine.java

Rule Violation Line
FieldNamingConventions The final field name '_mapDataToExport' doesn't match '[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The final field name '_commonDataToExport' doesn't match '[a-z][a-zA-Z0-9]*' 68

fr/paris/lutece/plugins/forms/export/csv/CSVExport.java

Rule Violation Line
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 56

fr/paris/lutece/plugins/forms/export/csv/CSVHeader.java

Rule Violation Line
FieldNamingConventions The final field name '_listQuestionColumns' doesn't match '[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/forms/export/csv/FormResponseCsvExport.java

Rule Violation Line
FieldNamingConventions The final field name '_csvHeader' doesn't match '[a-z][a-zA-Z0-9]*' 61

fr/paris/lutece/plugins/forms/export/pdf/AbstractPdfFileGenerator.java

Rule Violation Line
FieldNamingConventions The final field name '_formTitle' doesn't match '[a-z][a-zA-Z0-9]*' 76

fr/paris/lutece/plugins/forms/export/pdf/PDFExport.java

Rule Violation Line
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 56

fr/paris/lutece/plugins/forms/export/pdffull/PdfFullExport.java

Rule Violation Line
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 51

fr/paris/lutece/plugins/forms/service/EntryServiceManager.java

Rule Violation Line
FieldNamingConventions The final field name '_listEntryDisplayService' doesn't match '[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The final field name '_listEntryDataService' doesn't match '[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The final field name '_listValidator' doesn't match '[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/forms/service/FormResponseService.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 56130

fr/paris/lutece/plugins/forms/service/FormsMultiviewAuthorizationService.java

Rule Violation Line
FieldNamingConventions The final field name '_formListFacade' doesn't match '[a-z][a-zA-Z0-9]*' 73
FieldNamingConventions The final field name '_formColumnFactory' doesn't match '[a-z][a-zA-Z0-9]*' 74

fr/paris/lutece/plugins/forms/service/MultiviewFormService.java

Rule Violation Line
FieldNamingConventions The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' 163

fr/paris/lutece/plugins/forms/service/json/AbstractFormJsonService.java

Rule Violation Line
FieldNamingConventions The final field name '_formDatabaseService' doesn't match '[a-z][a-zA-Z0-9]*' 78

fr/paris/lutece/plugins/forms/service/json/FormJsonService.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 78237

fr/paris/lutece/plugins/forms/util/FormEntryNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewFormResponseDateCreationNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewFormsNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewWorkflowStateNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormsConstants.java

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

fr/paris/lutece/plugins/forms/util/FormsResponseUtils.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 62545

fr/paris/lutece/plugins/forms/util/FormsUtils.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 4265

fr/paris/lutece/plugins/forms/util/ReferenceListFactory.java

Rule Violation Line
FieldNamingConventions The final field name '_collectionItem' doesn't match '[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The final field name '_strCodeAttr' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_strNameAttribute' doesn't match '[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/forms/validation/AbstractValidator.java

Rule Violation Line
FieldNamingConventions The final field name '_strValidatorName' doesn't match '[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The final field name '_strDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 50

fr/paris/lutece/plugins/forms/validation/ControlListenerManager.java

Rule Violation Line
ClassNamingConventions The utility class name 'ControlListenerManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 4496
LocalVariableNamingConventions The local variable name 'ControlRemovalListener' doesn't match '[a-z][a-zA-Z0-9]*' 62
LocalVariableNamingConventions The local variable name 'ControlListener' doesn't match '[a-z][a-zA-Z0-9]*' 76
LocalVariableNamingConventions The local variable name 'ControlListener' doesn't match '[a-z][a-zA-Z0-9]*' 90

fr/paris/lutece/plugins/forms/web/CompositeGroupDisplay.java

Rule Violation Line
FieldNamingConventions The final field name '_listChildren' doesn't match '[a-z][a-zA-Z0-9]*' 95
FieldNamingConventions The final field name '_formDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 97
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 99

fr/paris/lutece/plugins/forms/web/CompositeQuestionDisplay.java

Rule Violation Line
FieldNamingConventions The final field name '_formDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 105
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 107

fr/paris/lutece/plugins/forms/web/FormResponseManager.java

Rule Violation Line
FieldNamingConventions The final field name '_listValidatedStep' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_formResponse' doesn't match '[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/forms/web/FormXPage.java

Rule Violation Line
FieldNamingConventions The field name 'IsRequestComingFromAction' doesn't match '_[a-z][a-zA-Z0-9]*' 156

fr/paris/lutece/plugins/forms/web/StepDisplayTree.java

Rule Violation Line
FieldNamingConventions The final field name '_listChildren' doesn't match '[a-z][a-zA-Z0-9]*' 92
FieldNamingConventions The final field name '_listICompositeDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 93
FieldNamingConventions The final field name '_formResponse' doesn't match '[a-z][a-zA-Z0-9]*' 96
FieldNamingConventions The final field name '_mapStepResponses' doesn't match '[a-z][a-zA-Z0-9]*' 97
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 99

fr/paris/lutece/plugins/forms/web/admin/FormControlJspBean.java

Rule Violation Line
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 151

fr/paris/lutece/plugins/forms/web/admin/FormJspBean.java

Rule Violation Line
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 206

fr/paris/lutece/plugins/forms/web/admin/FormQuestionJspBean.java

Rule Violation Line
FieldNamingConventions The constant name '_formService' doesn't match '[A-Z][A-Z_0-9]*' 130

fr/paris/lutece/plugins/forms/web/admin/FormStepJspBean.java

Rule Violation Line
FieldNamingConventions The constant name '_stepService' doesn't match '[A-Z][A-Z_0-9]*' 153
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 159

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormResponseDetailsJspBean.java

Rule Violation Line
FieldNamingConventions The final field name '_formsMultiviewAuthorizationService' doesn't match '[a-z][a-zA-Z0-9]*' 155

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormWorkflowRedirectionEnum.java

Rule Violation Line
FieldNamingConventions The constant name '_mapValueNames' doesn't match '[A-Z][A-Z_0-9]*' 49

fr/paris/lutece/plugins/forms/web/breadcrumb/BreadcrumbManager.java

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

fr/paris/lutece/plugins/forms/web/breadcrumb/HorizontalBreadcrumb.java

Rule Violation Line
FieldNamingConventions The final field name '_strBreadcrumbBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The final field name '_strBreadcrumbDisplayBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 54

fr/paris/lutece/plugins/forms/web/breadcrumb/VerticalBreadcrumb.java

Rule Violation Line
FieldNamingConventions The final field name '_strBreadcrumbBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The final field name '_strBreadcrumbDisplayBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/forms/web/entrytype/DisplayType.java

Rule Violation Line
FieldNamingConventions The final field name '_mode' doesn't match '[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The final field name '_bIsFront' doesn't match '[a-z][a-zA-Z0-9]*' 64

fr/paris/lutece/plugins/forms/web/exception/CodeAlreadyExistsException.java

Rule Violation Line
FieldNamingConventions The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/plugins/forms/web/file/FormsFileImageService.java

Rule Violation Line
FieldNamingConventions The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' 172

fr/paris/lutece/plugins/forms/web/form/FormDisplayFactory.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 65302

fr/paris/lutece/plugins/forms/web/form/multiview/util/FormColumnLineTemplate.java

Rule Violation Line
FieldNamingConventions The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/plugins/forms/web/form/response/view/FormResponseViewModelProcessorFactory.java

Rule Violation Line
FieldNamingConventions The final field name '_listFormResponseViewModelProcessor' doesn't match '[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/plugins/forms/web/http/SynchronousHttpServletRequestWrapper.java

Rule Violation Line
FieldNamingConventions The final field name '_modifiableParameters' doesn't match '[a-z][a-zA-Z0-9]*' 45

Priority 2

fr/paris/lutece/plugins/forms/business/Control.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 201

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

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'strSqlQuery' 243

fr/paris/lutece/plugins/forms/business/Question.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 331

fr/paris/lutece/plugins/forms/export/csv/CSVUtil.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'strValue' 103

fr/paris/lutece/plugins/forms/service/MultiviewFormService.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nIdForm' 172
AvoidReassigningParameters Avoid reassigning parameters such as 'nIdForm' 228

fr/paris/lutece/plugins/forms/service/download/FormsFileDownloadService.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'additionnalData' 68
AvoidReassigningParameters Avoid reassigning parameters such as 'additionnalData' 86

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchFactory.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'bCreateIndex' 89

fr/paris/lutece/plugins/forms/util/LuceneUtils.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nIterationNumber' 55

fr/paris/lutece/plugins/forms/web/admin/FormControlJspBean.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 339
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 339
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 339

Priority 3

fr/paris/lutece/plugins/forms/business/ConditionControl.java

Rule Violation Line
CommentRequired Header comments are required 345
CommentRequired Public method and constructor comments are required 1112
UncommentedEmptyConstructor Document empty constructor 1112
CommentRequired Public method and constructor comments are required 1419
CommentRequired Public method and constructor comments are required 2123
CommentRequired Public method and constructor comments are required 2527
CommentRequired Public method and constructor comments are required 2931
CommentRequired Public method and constructor comments are required 3335

fr/paris/lutece/plugins/forms/business/Control.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 187189
CommentRequired Public method and constructor comments are required 191193
CloneThrowsCloneNotSupportedException clone() method should throw CloneNotSupportedException 201224

fr/paris/lutece/plugins/forms/business/ControlDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 50431

fr/paris/lutece/plugins/forms/business/ControlGroupDAO.java

Rule Violation Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 101
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 156
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 224226
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 246

fr/paris/lutece/plugins/forms/business/ControlHome.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 8186

fr/paris/lutece/plugins/forms/business/ControlMapping.java

Rule Violation Line
DataClass The class 'ControlMapping' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3693
CommentRequired Header comments are required 3693

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

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 34813
TooManyFields Too many fields 55813
GodClass Possible God Class (WMC=79, ATFD=10, TCC=1.798%) 55813
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Form constructor if you want a default access modifier 149178
SimplifyBooleanReturns Avoid unnecessary if..then..else statements when returning booleans 808810

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

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 55393
ConfusingTernary Avoid if (x != y) ..; else ..; 98105
ConfusingTernary Avoid if (x != y) ..; else ..; 182189

fr/paris/lutece/plugins/forms/business/FormDisplayDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 48320

fr/paris/lutece/plugins/forms/business/FormQuestionResponseDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 55724
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 105
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 107
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 138
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 143
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 185
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 225226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 237
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 238
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 240
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 415
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 422
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 428431
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 444445
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 450
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 585
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 592
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 593
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 636
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 641
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 642
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 660
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 664
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 666
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 680
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 681
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 682
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 697
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 698
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 699
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 700

fr/paris/lutece/plugins/forms/business/FormQuestionResponseHome.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 47300
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 143147

fr/paris/lutece/plugins/forms/business/FormResponseDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 50402

fr/paris/lutece/plugins/forms/business/FormResponseHome.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 53386

fr/paris/lutece/plugins/forms/business/FormResponseStepHome.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 46227

fr/paris/lutece/plugins/forms/business/GroupDAO.java

Rule Violation Line
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 222
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 223

fr/paris/lutece/plugins/forms/business/IControlDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 46241

fr/paris/lutece/plugins/forms/business/IFormCategoryDAO.java

Rule Violation Line
CommentRequired Header comments are required 4068

fr/paris/lutece/plugins/forms/business/IFormQuestionResponseDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 44197

fr/paris/lutece/plugins/forms/business/IFormResponseDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 43185

fr/paris/lutece/plugins/forms/business/IQuestionDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 44201

fr/paris/lutece/plugins/forms/business/IStepDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 44160

fr/paris/lutece/plugins/forms/business/ITransitionDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 44175

fr/paris/lutece/plugins/forms/business/LogicalOperator.java

Rule Violation Line
CommentRequired Enum comments are required 318
CommentRequired Public method and constructor comments are required 1416

fr/paris/lutece/plugins/forms/business/MultiviewConfig.java

Rule Violation Line
CommentRequired Header comments are required 39173
DefaultPackage Use explicit scoping instead of the default package private level 43
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _bDisplayFormsTitleColumn field if you want a default access modifier 43
DefaultPackage Use explicit scoping instead of the default package private level 44
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _bDisplayFormsAssigneeColumn field if you want a default access modifier 44
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strCsvSeparator field if you want a default access modifier 45
DefaultPackage Use explicit scoping instead of the default package private level 45
DefaultPackage Use explicit scoping instead of the default package private level 46
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _intNumberOfFormResponsesPerPdf field if you want a default access modifier 46
DefaultPackage Use explicit scoping instead of the default package private level 47
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _nIdFileTemplatePdf field if you want a default access modifier 47
ConfusingTernary Avoid if (x != y) ..; else ..; 66
NonThreadSafeSingleton Singleton is not thread safe 7679
CommentRequired Public method and constructor comments are required 138141
CommentRequired Public method and constructor comments are required 143146
CommentRequired Public method and constructor comments are required 148150
CommentRequired Public method and constructor comments are required 152154

fr/paris/lutece/plugins/forms/business/Question.java

Rule Violation Line
TooManyFields Too many fields 48532
CommentRequired Public method and constructor comments are required 507509
CommentRequired Public method and constructor comments are required 511513
ShortVariable Avoid variables with short names like o 516

fr/paris/lutece/plugins/forms/business/QuestionDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 53474

fr/paris/lutece/plugins/forms/business/StepDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 48294

fr/paris/lutece/plugins/forms/business/TransitionDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 48313

fr/paris/lutece/plugins/forms/business/action/GlobalFormsActionIdService.java

Rule Violation Line
CommentRequired Header comments are required 4792
ShortVariable Avoid variables with short names like rt 56
ShortVariable Avoid variables with short names like p 62
ConfusingTernary Avoid if (x != y) ..; else ..; 89

fr/paris/lutece/plugins/forms/business/export/FormExportConfig.java

Rule Violation Line
CommentRequired Header comments are required 36129

fr/paris/lutece/plugins/forms/business/export/FormExportConfigDao.java

Rule Violation Line
CommentRequired Header comments are required 43144

fr/paris/lutece/plugins/forms/business/export/FormExportConfigHome.java

Rule Violation Line
CommentRequired Header comments are required 42108

fr/paris/lutece/plugins/forms/business/export/IFormExportConfigDao.java

Rule Violation Line
CommentRequired Header comments are required 4091

fr/paris/lutece/plugins/forms/business/form/FormParameters.java

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

fr/paris/lutece/plugins/forms/business/form/column/FormColumnCell.java

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

fr/paris/lutece/plugins/forms/business/form/column/FormColumnComparator.java

Rule Violation Line
CommentRequired Header comments are required 3953

fr/paris/lutece/plugins/forms/business/form/column/impl/FormColumnEntry.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 103106

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/AbstractFormColumnQueryPart.java

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 84
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 107

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryCartographyQueryPart.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 63
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 7683

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryGeolocationQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormResponseDateCreationQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormResponseDateUpdateQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormsQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnWorkflowStateQueryPart.java

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

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

Rule Violation Line
DataClass The class 'FormFilter' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4279

fr/paris/lutece/plugins/forms/business/form/filter/FormFilterForms.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 4662
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 49

fr/paris/lutece/plugins/forms/business/form/filter/configuration/AbstractFormFilterConfiguration.java

Rule Violation Line
MissingOverride The method 'getPosition()' is missing an @Override annotation. 7275

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterDateConfiguration.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 4750

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterEntryConfiguration.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 5054

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterFormResponseIdConfiguration.java

Rule Violation Line
CommentRequired Header comments are required 4568
CommentRequired Public method and constructor comments are required 4851

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterFormsConfiguration.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 4851

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterWorkflowConfiguration.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 4851

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/AbstractFormFilterLuceneQueryPart.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6175

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterEntryLuceneQueryPart.java

Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _formSearchEngine field if you want a default access modifier 69
DefaultPackage Use explicit scoping instead of the default package private level 69
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 74
ConfusingTernary Avoid if (x != y) ..; else ..; 126133

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterFormResponseDateLuceneQueryPart.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 5690
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 69

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterFormsLuceneQueryPart.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 5774
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 61

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterIdFormResponseLuceneQueryPart.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 5972

fr/paris/lutece/plugins/forms/business/form/panel/configuration/IFormPanelConfiguration.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RESOURCE_TYPE': the field is declared in an interface type 48

fr/paris/lutece/plugins/forms/business/form/panel/initializer/querypart/impl/FormPanelFormResponseIdFilterInitializerQueryPart.java

Rule Violation Line
CommentRequired Header comments are required 4458

fr/paris/lutece/plugins/forms/business/form/search/FormResponseSearchItem.java

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

fr/paris/lutece/plugins/forms/business/form/search/IndexerActionDAO.java

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

fr/paris/lutece/plugins/forms/dashboard/PublicDashboardForms.java

Rule Violation Line
CommentRequired Header comments are required 1690
ImmutableField Private field 'strIdComponent' could be made final; it is only initialized in the declaration or constructor. 21
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 44
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 44
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 84

fr/paris/lutece/plugins/forms/exception/MaxFormResponseException.java

Rule Violation Line
CommentRequired Header comments are required 341

fr/paris/lutece/plugins/forms/export/AbstractFileGenerator.java

Rule Violation Line
CommentRequired Header comments are required 57122
RedundantFieldInitializer Avoid using redundant field initializer for '_configList' 74
CommentRequired Protected method constructor comments are required 99113
CommentRequired Protected method constructor comments are required 115120
ConfusingTernary Avoid if (x != y) ..; else ..; 117
ConfusingTernary Avoid if (x != y) ..; else ..; 118

fr/paris/lutece/plugins/forms/export/ExportServiceManager.java

Rule Violation Line
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 129
CommentRequired Public method and constructor comments are required 132152
CommentRequired Public method and constructor comments are required 154178
CommentRequired Public method and constructor comments are required 180213

fr/paris/lutece/plugins/forms/export/csv/CSVDataLine.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'RESPONSE_SEPARATOR'. 63
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 84
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 85
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 86
CommentRequired Public method and constructor comments are required 93118
ConfusingTernary Avoid if (x != y) ..; else ..; 97
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 110113
ConfusingTernary Avoid if (x != y) ..; else ..; 127

fr/paris/lutece/plugins/forms/export/csv/CSVFileGenerator.java

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

fr/paris/lutece/plugins/forms/export/csv/CSVHeader.java

Rule Violation Line
DefaultPackage Use explicit scoping instead of the default package private level 52
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _mapQuestionAndIterationColumn field if you want a default access modifier 52
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 52
SingularField Perhaps '_numberOfQuestionColumns' could be replaced by a local variable. 54
UnusedPrivateField Avoid unused private fields such as '_numberOfQuestionColumns'. 54
ImmutableField Private field '_numberOfQuestionColumns' could be made final; it is only initialized in the declaration or constructor. 54
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 118133

fr/paris/lutece/plugins/forms/export/csv/CSVUtil.java

Rule Violation Line
DefaultPackage Use explicit scoping instead of the default package private level 103109
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the safeString method if you want a default access modifier 103109

fr/paris/lutece/plugins/forms/export/csv/FormResponseCsvExport.java

Rule Violation Line
ImmutableField Private field '_csvSeparator' could be made final; it is only initialized in the declaration or constructor. 62
CommentRequired Public method and constructor comments are required 6467
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 76
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 77
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 78
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 79
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 80
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 81
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 82
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 8590
CommentRequired Public method and constructor comments are required 99111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 122
LooseCoupling Avoid using implementation types like 'ArrayList'; use the interface instead 152
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 185

fr/paris/lutece/plugins/forms/export/pdf/AbstractPdfFileGenerator.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1406
CommentRequired Header comments are required 62406
GodClass Possible God Class (WMC=51, ATFD=47, TCC=1.515%) 62406
CommentRequired Protected method constructor comments are required 7882
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 84
CommentRequired Protected method constructor comments are required 8492
CommentRequired Protected method constructor comments are required 94105
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 94
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 239248
CyclomaticComplexity The method 'getResponseValue(FormQuestionResponse, int)' has a cyclomatic complexity of 19. 310386
NPathComplexity The method 'getResponseValue(FormQuestionResponse, int)' has an NPath complexity of 2166 310386
CollapsibleIfStatements These nested if statements could be combined 349365
ConfusingTernary Avoid if (x != y) ..; else ..; 376
CommentRequired Protected method constructor comments are required 388404

fr/paris/lutece/plugins/forms/export/pdf/FormResponsePdfExport.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34251
CommentRequired Header comments are required 73251
CommentRequired Public method and constructor comments are required 78104
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 191195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 191
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 194

fr/paris/lutece/plugins/forms/export/pdf/PdfCell.java

Rule Violation Line
CommentRequired Header comments are required 38127
DataClass The class 'PdfCell' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) 38127
CommentRequired Public method and constructor comments are required 123126

fr/paris/lutece/plugins/forms/export/pdf/PdfFileGenerator.java

Rule Violation Line
CommentRequired Header comments are required 61187
RedundantFieldInitializer Avoid using redundant field initializer for '_hasMultipleFiles' 65
CommentRequired Protected method constructor comments are required 6771
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 127
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 152
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 160
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 181

fr/paris/lutece/plugins/forms/export/pdf/PdfUtil.java

Rule Violation Line
CommentRequired Header comments are required 47163
ShortVariable Avoid variables with short names like y 64
CommentRequired Public method and constructor comments are required 150162

fr/paris/lutece/plugins/forms/export/pdffull/PdfFullExport.java

Rule Violation Line
CommentRequired Header comments are required 4795

fr/paris/lutece/plugins/forms/export/pdffull/PdfFullFileGenerator.java

Rule Violation Line
CommentRequired Header comments are required 67230
RedundantFieldInitializer Avoid using redundant field initializer for '_hasMultipleFiles' 69
CommentRequired Protected method constructor comments are required 7175
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 137
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 152
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 160
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 184
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 206
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 207
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 207
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 208
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 209
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 209

fr/paris/lutece/plugins/forms/service/AbstractFormDisplayService.java

Rule Violation Line
CommentRequired Header comments are required 50251
RedundantFieldInitializer Avoid using redundant field initializer for '_formDatabaseService' 55
CommentRequired Protected method constructor comments are required 250

fr/paris/lutece/plugins/forms/service/EntryServiceManager.java

Rule Violation Line
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 184

fr/paris/lutece/plugins/forms/service/FormCategoryService.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 4858

fr/paris/lutece/plugins/forms/service/FormDatabaseService.java

Rule Violation Line
CommentRequired Header comments are required 55226
TooManyMethods This class has too many methods, consider refactoring it. 56226

fr/paris/lutece/plugins/forms/service/FormDisplayService.java

Rule Violation Line
MissingOverride The method 'deleteDisplayAndDescendants(int)' is missing an @Override annotation. 66119
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 9294

fr/paris/lutece/plugins/forms/service/FormPanelConfigIdService.java

Rule Violation Line
CommentRequired Header comments are required 49116

fr/paris/lutece/plugins/forms/service/FormResponseService.java

Rule Violation Line
ImmutableField Private field '_formService' could be made final; it is only initialized in the declaration or constructor. 58
CommentRequired Public method and constructor comments are required 6775
NonThreadSafeSingleton Singleton is not thread safe 6972
CommentRequired Public method and constructor comments are required 7781
CommentRequired Public method and constructor comments are required 8387
CommentRequired Public method and constructor comments are required 101129
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 122

fr/paris/lutece/plugins/forms/service/FormService.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34681
GodClass Possible God Class (WMC=64, ATFD=84, TCC=0.308%) 100681
TooManyMethods This class has too many methods, consider refactoring it. 101681
CyclomaticComplexity The method 'saveForm(Form, FormResponse)' has a cyclomatic complexity of 12. 118158
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 151
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 549
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 584
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 622

fr/paris/lutece/plugins/forms/service/FormsMultiviewAuthorizationService.java

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

fr/paris/lutece/plugins/forms/service/FormsResourceIdService.java

Rule Violation Line
DataClass The class 'FormsResourceIdService' is suspected to be a Data Class (WOC=0.000%, NOPA=13, NOAM=0, WMC=1) 52183

fr/paris/lutece/plugins/forms/service/IFormDatabaseService.java

Rule Violation Line
CommentRequired Header comments are required 47265
TooManyMethods This class has too many methods, consider refactoring it. 48265
CommentRequired Public method and constructor comments are required 264

fr/paris/lutece/plugins/forms/service/IFormDisplayService.java

Rule Violation Line
CommentRequired Header comments are required 42128
CommentRequired Public method and constructor comments are required 93

fr/paris/lutece/plugins/forms/service/MultiviewFormService.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34384
CommentRequired Public method and constructor comments are required 124129
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 163
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 174
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 188
CyclomaticComplexity The method 'getFormFiltersList(Integer, List, Locale, User)' has a cyclomatic complexity of 10. 228273
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 230
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 254
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'question' 289
ConfusingTernary Avoid if (x != y) ..; else ..; 291305

fr/paris/lutece/plugins/forms/service/StepService.java

Rule Violation Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 114
CommentRequired Public method and constructor comments are required 174177
CommentRequired Public method and constructor comments are required 179186

fr/paris/lutece/plugins/forms/service/cache/FormsCacheService.java

Rule Violation Line
CommentRequired Header comments are required 43162
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 6669
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679
CommentRequired Public method and constructor comments are required 8184
CommentRequired Public method and constructor comments are required 8690
CommentRequired Public method and constructor comments are required 9296
CommentRequired Public method and constructor comments are required 98101
CommentRequired Public method and constructor comments are required 103106
CommentRequired Public method and constructor comments are required 108112
CommentRequired Public method and constructor comments are required 114117
CommentRequired Public method and constructor comments are required 119122
CommentRequired Public method and constructor comments are required 124127
CommentRequired Public method and constructor comments are required 129132

fr/paris/lutece/plugins/forms/service/download/FormsFileDownloadService.java

Rule Violation Line
CommentRequired Header comments are required 46131
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 72
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 90
ShortVariable Avoid variables with short names like sb 111
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 112
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 113
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 114
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 115

fr/paris/lutece/plugins/forms/service/download/FormsFileRBACService.java

Rule Violation Line
CommentRequired Header comments are required 4981
ShortVariable Avoid variables with short names like bo 57

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeAutomaticFileReading.java

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

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCamera.java

Rule Violation Line
CommentRequired Header comments are required 4199

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCheckBox.java

Rule Violation Line
CyclomaticComplexity The method 'isResponseChanged(List, List)' has a cyclomatic complexity of 11. 107151
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 114

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeGalleryImage.java

Rule Violation Line
CyclomaticComplexity The method 'getResponseValueForExport(Entry, HttpServletRequest, Response, Locale)' has a cyclomatic complexity of 10. 136171
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 153162

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeMyLuteceUserAttribute.java

Rule Violation Line
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 211

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeSlot.java

Rule Violation Line
CommentRequired Header comments are required 984

fr/paris/lutece/plugins/forms/service/json/AbstractFormJsonService.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34407
CommentRequired Header comments are required 74407
GodClass Possible God Class (WMC=49, ATFD=55, TCC=10.458%) 74407
TooManyMethods This class has too many methods, consider refactoring it. 75407
CommentRequired Protected method constructor comments are required 8189
CommentRequired Public method and constructor comments are required 159183
CommentRequired Protected method constructor comments are required 185207
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 188
CommentRequired Protected method constructor comments are required 209242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 212
CommentRequired Protected method constructor comments are required 244258
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 246
CommentRequired Protected method constructor comments are required 260283
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 262
CommentRequired Protected method constructor comments are required 285302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 287
CommentRequired Protected method constructor comments are required 406

fr/paris/lutece/plugins/forms/service/json/FormJsonData.java

Rule Violation Line
CommentRequired Header comments are required 50234
DataClass The class 'FormJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=20, WMC=20) 50234

fr/paris/lutece/plugins/forms/service/json/FormJsonService.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34237
CommentRequired Public method and constructor comments are required 8992
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 208

fr/paris/lutece/plugins/forms/service/json/StepJsonData.java

Rule Violation Line
CommentRequired Header comments are required 46157
DataClass The class 'StepJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 46157

fr/paris/lutece/plugins/forms/service/json/TimestampDeserializer.java

Rule Violation Line
CommentRequired Header comments are required 4658
ImmutableField Private field '_fmt' could be made final; it is only initialized in the declaration or constructor. 48
ShortVariable Avoid variables with short names like dt 54

fr/paris/lutece/plugins/forms/service/json/TimestampSerializer.java

Rule Violation Line
CommentRequired Header comments are required 4659
ImmutableField Private field '_fmt' could be made final; it is only initialized in the declaration or constructor. 48
ShortVariable Avoid variables with short names like z 54

fr/paris/lutece/plugins/forms/service/listener/FormResponseEventListener.java

Rule Violation Line
CommentRequired Header comments are required 45105

fr/paris/lutece/plugins/forms/service/provider/GenericFormsProvider.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34271
CommentRequired Header comments are required 72271
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 72271
CyclomaticComplexity The method 'getValuesModel(FormResponse, HttpServletRequest)' has a cyclomatic complexity of 16. 112196
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 114
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 126144
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 131141
CollapsibleIfStatements These nested if statements could be combined 134140
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 208

fr/paris/lutece/plugins/forms/service/resource/FormResponseExtendableResourceService.java

Rule Violation Line
CommentRequired Header comments are required 4686

fr/paris/lutece/plugins/forms/service/search/FormSearchConfig.java

Rule Violation Line
CommentRequired Header comments are required 3661

fr/paris/lutece/plugins/forms/service/search/IFormSearchEngine.java

Rule Violation Line
CommentRequired Header comments are required 4478

fr/paris/lutece/plugins/forms/service/search/ILucenDocumentExternalFieldProvider.java

Rule Violation Line
CommentRequired Header comments are required 4051
UnnecessaryModifier Unnecessary modifier 'public' on method 'provideFields': the method is declared in an interface type 50

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchEngine.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34254
CommentRequired Header comments are required 72254
ShortVariable Avoid variables with short names like ir 88
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 128
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 128
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 129
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 135140
ShortVariable Avoid variables with short names like si 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 142
ShortVariable Avoid variables with short names like ir 188
ConfusingTernary Avoid if (x != y) ..; else ..; 194201

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchFactory.java

Rule Violation Line
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 65

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchIndexer.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34796
GodClass Possible God Class (WMC=54, ATFD=112, TCC=6.884%) 100796
TooManyMethods This class has too many methods, consider refactoring it. 101796
CommentRequired Public method and constructor comments are required 119122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 207253
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 215
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 240
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 265
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 273
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 291348
ConfusingTernary Avoid if (x != y) ..; else ..; 406415
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 421
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 523
CyclomaticComplexity The method 'getDocument(FormResponse, Form, State)' has a cyclomatic complexity of 17. 570713
NcssCount The method 'getDocument(FormResponse, Form, State)' has a NCSS line count of 76. 570713
ExcessiveMethodLength Avoid really long methods. 570713
ConfusingTernary Avoid if (x != y) ..; else ..; 650705
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 662
ShortVariable Avoid variables with short names like sb 729
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 747

fr/paris/lutece/plugins/forms/service/upload/FormsAsynchronousUploadHandler.java

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

fr/paris/lutece/plugins/forms/util/FormsConstants.java

Rule Violation Line
AvoidDuplicateLiterals The String literal "id_parent" appears 4 times in this file; the first occurrence is on line 57 57

fr/paris/lutece/plugins/forms/util/FormsResponseUtils.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1545
CommentRequired Header comments are required 62545
GodClass Possible God Class (WMC=68, ATFD=106, TCC=0.526%) 62545
TooManyMethods This class has too many methods, consider refactoring it. 63545
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 65
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 99
ConfusingTernary Avoid if (x != y) ..; else ..; 177
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 209212
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 232
CyclomaticComplexity The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has a cyclomatic complexity of 17. 293380
NPathComplexity The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has an NPath complexity of 1098 293380
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 302315
CommentRequired Public method and constructor comments are required 382386
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 382386
CommentRequired Public method and constructor comments are required 470473
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 539

fr/paris/lutece/plugins/forms/util/FormsUtils.java

Rule Violation Line
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 18 characters appended. 60

fr/paris/lutece/plugins/forms/util/LuceneUtils.java

Rule Violation Line
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 58

fr/paris/lutece/plugins/forms/util/ReferenceItemComparator.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6185
ConfusingTernary Avoid if (x != y) ..; else ..; 6373
ConfusingTernary Avoid if (x != y) ..; else ..; 7784

fr/paris/lutece/plugins/forms/validation/AbstractDateValidator.java

Rule Violation Line
CommentRequired Header comments are required 53130
CommentRequired Public method and constructor comments are required 6265
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 70
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 97
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 107
CommentRequired Protected method constructor comments are required 123
CommentRequired Protected method constructor comments are required 125
CommentRequired Protected method constructor comments are required 127
CommentRequired Protected method constructor comments are required 129

fr/paris/lutece/plugins/forms/validation/AbstractListQuestionValidator.java

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

fr/paris/lutece/plugins/forms/validation/AbstractNumberValidator.java

Rule Violation Line
CommentRequired Header comments are required 1577
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 41
CommentRequired Public method and constructor comments are required 73
CommentRequired Protected method constructor comments are required 75
CommentRequired Protected method constructor comments are required 76

fr/paris/lutece/plugins/forms/validation/AbstractPatternValidator.java

Rule Violation Line
CommentRequired Header comments are required 56128
ImmutableField Private field '_plugin' could be made final; it is only initialized in the declaration or constructor. 63
CommentRequired Public method and constructor comments are required 6568
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 73
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 94
CommentRequired Protected method constructor comments are required 127

fr/paris/lutece/plugins/forms/validation/AbstractValidator.java

Rule Violation Line
CommentRequired Header comments are required 46168

fr/paris/lutece/plugins/forms/validation/DateInferiorValidator.java

Rule Violation Line
CommentRequired Header comments are required 3970
CommentRequired Public method and constructor comments are required 4245

fr/paris/lutece/plugins/forms/validation/DateSuperiorValidator.java

Rule Violation Line
CommentRequired Header comments are required 3970
CommentRequired Public method and constructor comments are required 4245

fr/paris/lutece/plugins/forms/validation/ListExactResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListMaxResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListMinResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListQuestionListener.java

Rule Violation Line
CommentRequired Header comments are required 4394
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 7174

fr/paris/lutece/plugins/forms/validation/ListValueValidator.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 94
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 105108
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 144

fr/paris/lutece/plugins/forms/validation/NumberInferiorValidator.java

Rule Violation Line
CommentRequired Header comments are required 638

fr/paris/lutece/plugins/forms/validation/NumberSuperiorValidator.java

Rule Violation Line
CommentRequired Header comments are required 741

fr/paris/lutece/plugins/forms/validation/UniqueValidator.java

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

fr/paris/lutece/plugins/forms/web/CompositeGroupDisplay.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 70557
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 99
UnusedFormalParameter Avoid unused constructor parameters such as 'nIterationNumber'. 111
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 262300
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 262300
ConfusingTernary Avoid if (x != y) ..; else ..; 469

fr/paris/lutece/plugins/forms/web/CompositeQuestionDisplay.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34625
CyclomaticComplexity The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a cyclomatic complexity of 18. 193285
NcssCount The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a NCSS line count of 60. 193285
NPathComplexity The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has an NPath complexity of 1076 193285
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 196
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 196
ControlStatementBraces This statement should have braces 220
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 239241
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 248259
ConfusingTernary Avoid if (x != y) ..; else ..; 270
ConfusingTernary Avoid if (x != y) ..; else ..; 281
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 380420
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 380420
CyclomaticComplexity The method 'setQuestionVisibility(List, DisplayType)' has a cyclomatic complexity of 11. 455499
NPathComplexity The method 'setQuestionVisibility(List, DisplayType)' has an NPath complexity of 576 455499
ConfusingTernary Avoid if (x != y) ..; else ..; 560

fr/paris/lutece/plugins/forms/web/FormResponseData.java

Rule Violation Line
CommentRequired Header comments are required 38112

fr/paris/lutece/plugins/forms/web/FormResponseManager.java

Rule Violation Line
GodClass Possible God Class (WMC=49, ATFD=34, TCC=26.667%) 54429
TooManyMethods This class has too many methods, consider refactoring it. 55429
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsResponseLoadedFromBackup' 58
RedundantFieldInitializer Avoid using redundant field initializer for '_isBackupResponseAlreadyInitiated' 59
ConfusingTernary Avoid if (x != y) ..; else ..; 152
CommentRequired Public method and constructor comments are required 157161
CommentRequired Public method and constructor comments are required 171173
CommentRequired Public method and constructor comments are required 182184

fr/paris/lutece/plugins/forms/web/FormResponseXPage.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34305
CommentRequired Public method and constructor comments are required 119139
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 141
CommentRequired Public method and constructor comments are required 142193
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 151
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 170
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 207
ConfusingTernary Avoid if (x != y) ..; else ..; 285292

fr/paris/lutece/plugins/forms/web/FormXPage.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 341345
ExcessiveClassLength Avoid really long classes. 981345
TooManyMethods This class has too many methods, consider refactoring it. 991345
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 149
RedundantFieldInitializer Avoid using redundant field initializer for 'IsRequestComingFromAction' 156
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 210
CyclomaticComplexity The method 'checkMyLuteceAuthentification(Form, HttpServletRequest)' has a cyclomatic complexity of 11. 224253
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 266
NPathComplexity The method 'getStepView(HttpServletRequest)' has an NPath complexity of 49440 267370
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 267370
ExcessiveMethodLength Avoid really long methods. 267370
CyclomaticComplexity The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 25. 267370
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 303305
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 306
LinguisticNaming Linguistics Antipattern - The getter 'getFormStepModel' should not return void linguistically 423439
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 451
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 452492
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 455
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 487
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 504
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 505542
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 509
EmptyCatchBlock Avoid empty catch blocks 530533
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 554
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 555582
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 649
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 650682
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 696
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 697729
ConfusingTernary Avoid if (x != y) ..; else ..; 798812
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 888
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 889941
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 906
ConfusingTernary Avoid if (x != y) ..; else ..; 931
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 964
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 9651019
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 1034
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 10351065
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1060
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 1078
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 10791109
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 1122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 11231153
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 1166
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 11671250
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1181
ConfusingTernary Avoid if (x != y) ..; else ..; 12161246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1311
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1313
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1329
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1330
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1331

fr/paris/lutece/plugins/forms/web/FormsDashboardComponent.java

Rule Violation Line
CommentRequired Header comments are required 67127
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 99
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 116
ShortVariable Avoid variables with short names like t 122

fr/paris/lutece/plugins/forms/web/ICompositeDisplay.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 153

fr/paris/lutece/plugins/forms/web/StepDisplayTree.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 97
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 99
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 236
ConfusingTernary Avoid if (x != y) ..; else ..; 264277
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 512 297341
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 297341

fr/paris/lutece/plugins/forms/web/TermsOfServiceXPage.java

Rule Violation Line
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 191

fr/paris/lutece/plugins/forms/web/admin/AbstractFormQuestionJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34922
CommentRequired Header comments are required 82922
CyclomaticComplexity The class 'AbstractFormQuestionJspBean' has a total cyclomatic complexity of 111 (highest 21). 82922
TooManyMethods This class has too many methods, consider refactoring it. 83922
RedundantFieldInitializer Avoid using redundant field initializer for '_nIdParentSelected' 171
CyclomaticComplexity The method 'processQuestionCreation(HttpServletRequest, String)' has a cyclomatic complexity of 12. 182260
NPathComplexity The method 'processQuestionCreation(HttpServletRequest, String)' has an NPath complexity of 576 182260
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 185
CyclomaticComplexity The method 'processQuestionUpdate(HttpServletRequest)' has a cyclomatic complexity of 12. 269332
NPathComplexity The method 'processQuestionUpdate(HttpServletRequest)' has an NPath complexity of 288 269332
ConfusingTernary Avoid if (x != y) ..; else ..; 310319
CommentRequired Protected method constructor comments are required 334379
ConfusingTernary Avoid if (x != y) ..; else ..; 344
ConfusingTernary Avoid if (x != y) ..; else ..; 356375
CommentRequired Protected method constructor comments are required 381410
ConfusingTernary Avoid if (x != y) ..; else ..; 390
CommentRequired Protected method constructor comments are required 412437
CommentRequired Protected method constructor comments are required 439464
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 442
CommentRequired Protected method constructor comments are required 466517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 469
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 492
CyclomaticComplexity The method 'initModifyQuestionModel(HttpServletRequest)' has a cyclomatic complexity of 10. 519599
CommentRequired Protected method constructor comments are required 519599
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 549
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 557
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 583
CommentRequired Protected method constructor comments are required 601714
NPathComplexity The method 'initMoveCompositeModel(HttpServletRequest)' has an NPath complexity of 103680 601714
ExcessiveMethodLength Avoid really long methods. 601714
CyclomaticComplexity The method 'initMoveCompositeModel(HttpServletRequest)' has a cyclomatic complexity of 21. 601714
NcssCount The method 'initMoveCompositeModel(HttpServletRequest)' has a NCSS line count of 62. 601714
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 603
CommentRequired Protected method constructor comments are required 910
CommentRequired Protected method constructor comments are required 921

fr/paris/lutece/plugins/forms/web/admin/AbstractJspBean.java

Rule Violation Line
CommentRequired Protected method constructor comments are required 8995
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 233
CommentRequired Protected method constructor comments are required 247255
CommentRequired Protected method constructor comments are required 257263

fr/paris/lutece/plugins/forms/web/admin/FormCategoriesJspBean.java

Rule Violation Line
ImmutableField Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. 109

fr/paris/lutece/plugins/forms/web/admin/FormControlJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34823
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 326
ConfusingTernary Avoid if (x != y) ..; else ..; 329
ConfusingTernary Avoid if (x != y) ..; else ..; 330
ConfusingTernary Avoid if (x != y) ..; else ..; 342349
CommentRequired Public method and constructor comments are required 362394
ConfusingTernary Avoid if (x != y) ..; else ..; 383390
ConfusingTernary Avoid if (x != y) ..; else ..; 424431
NPathComplexity The method 'buildControlModel(HttpServletRequest, Map)' has an NPath complexity of 161280 444568
ExcessiveMethodLength Avoid really long methods. 444568
NcssCount The method 'buildControlModel(HttpServletRequest, Map)' has a NCSS line count of 74. 444568
CyclomaticComplexity The method 'buildControlModel(HttpServletRequest, Map)' has a cyclomatic complexity of 28. 444568
ConfusingTernary Avoid if (x != y) ..; else ..; 491498
ShortVariable Avoid variables with short names like q 515
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 553
UseEqualsToCompareStrings Use equals() to compare strings instead of '==' or '!=' 553
ConfusingTernary Avoid if (x != y) ..; else ..; 655669
ConfusingTernary Avoid if (x != y) ..; else ..; 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 762
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 763
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 764
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 766
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 767
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 768

fr/paris/lutece/plugins/forms/web/admin/FormExportJspBean.java

Rule Violation Line
CommentRequired Header comments are required 64440
UnusedPrivateField Avoid unused private fields such as 'PARAMETER_ID_QUESTION'. 100
CommentRequired Public method and constructor comments are required 108149
CommentRequired Public method and constructor comments are required 152186
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 153
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 154
LinguisticNaming Linguistics Antipattern - The variable 'isOrderExportDecrementing' indicates linguistically it is a boolean, but it is 'int' 168
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 181
CommentRequired Public method and constructor comments are required 189229
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 190
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 224
CommentRequired Public method and constructor comments are required 232264
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 260
CommentRequired Public method and constructor comments are required 267297
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 269
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 281
CommentRequired Public method and constructor comments are required 300335
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 313
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 331
CommentRequired Public method and constructor comments are required 338373
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 345
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 369
CommentRequired Public method and constructor comments are required 376411
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 383
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 407
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 419
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 429431
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 434

fr/paris/lutece/plugins/forms/web/admin/FormJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34888
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 212
ImmutableField Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. 213
ConfusingTernary Avoid if (x != y) ..; else ..; 292
ConfusingTernary Avoid if (x != y) ..; else ..; 293
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 545553
CommentRequired Public method and constructor comments are required 587616
CommentRequired Public method and constructor comments are required 847868
CommentRequired Public method and constructor comments are required 871887

fr/paris/lutece/plugins/forms/web/admin/FormMultiviewConfigJspBean.java

Rule Violation Line
CommentRequired Header comments are required 69250
CommentRequired Public method and constructor comments are required 110153
CommentRequired Public method and constructor comments are required 156190
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 186
CommentRequired Public method and constructor comments are required 193225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 221
CommentRequired Public method and constructor comments are required 228249
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 230
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 240242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 245

fr/paris/lutece/plugins/forms/web/admin/FormQuestionJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34782
TooManyMethods This class has too many methods, consider refactoring it. 94782
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 181
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 211
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 255
ConfusingTernary Avoid if (x != y) ..; else ..; 312319
ConfusingTernary Avoid if (x != y) ..; else ..; 349351
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 369
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 373
ControlStatementBraces This statement should have braces 390
ConfusingTernary Avoid if (x != y) ..; else ..; 420427
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 480
ConfusingTernary Avoid if (x != y) ..; else ..; 490497
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 501
CommentRequired Public method and constructor comments are required 502523
ShortVariable Avoid variables with short names like id 505
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 519
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 532
NPathComplexity The method 'getConfirmRemoveComposite(HttpServletRequest)' has an NPath complexity of 648 533587
CyclomaticComplexity The method 'getConfirmRemoveComposite(HttpServletRequest)' has a cyclomatic complexity of 13. 533587
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 683
CyclomaticComplexity The method 'doMoveComposite(HttpServletRequest)' has a cyclomatic complexity of 12. 708769
NPathComplexity The method 'doMoveComposite(HttpServletRequest)' has an NPath complexity of 864 708769
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 740

fr/paris/lutece/plugins/forms/web/admin/FormResponseJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1703
CommentRequired Header comments are required 41703
TooManyMethods This class has too many methods, consider refactoring it. 42703
ImmutableField Private field '_controller' could be made final; it is only initialized in the declaration or constructor. 80
ImmutableField Private field '_formService' could be made final; it is only initialized in the declaration or constructor. 81
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 95
NPathComplexity The method 'getStepView(HttpServletRequest)' has an NPath complexity of 448 96177
CyclomaticComplexity The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 13. 96177
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 186
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 200
ConfusingTernary Avoid if (x != y) ..; else ..; 217
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 228
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 251
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 278
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 306
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 334
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 360
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 395
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 396410
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 419
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 420440
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 449
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 450482
ConfusingTernary Avoid if (x != y) ..; else ..; 467475
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 477
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 492
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 493
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 494
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 495
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 508
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 509
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 510
LinguisticNaming Linguistics Antipattern - The getter 'getFormStepModel' should not return void linguistically 600610
ConfusingTernary Avoid if (x != y) ..; else ..; 647661

fr/paris/lutece/plugins/forms/web/admin/FormStepJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34624
ConfusingTernary Avoid if (x != y) ..; else ..; 250
CommentRequired Public method and constructor comments are required 555583
CommentRequired Public method and constructor comments are required 586606
CommentRequired Public method and constructor comments are required 609623

fr/paris/lutece/plugins/forms/web/admin/FormTransitionJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34629
TooManyMethods This class has too many methods, consider refactoring it. 75629
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 138
ConfusingTernary Avoid if (x != y) ..; else ..; 208
ConfusingTernary Avoid if (x != y) ..; else ..; 212219
ConfusingTernary Avoid if (x != y) ..; else ..; 248255
ConfusingTernary Avoid if (x != y) ..; else ..; 456470

fr/paris/lutece/plugins/forms/web/admin/FormWorkflowConfigJspBean.java

Rule Violation Line
CommentRequired Header comments are required 60147
CommentRequired Public method and constructor comments are required 85111
CommentRequired Public method and constructor comments are required 114146
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 142

fr/paris/lutece/plugins/forms/web/admin/ModifyEntryJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34686
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 157
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 178
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 199
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 276
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 307
CyclomaticComplexity The method 'doModifyField(HttpServletRequest)' has a cyclomatic complexity of 11. 327390
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 329
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 331
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 333
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 334
ConfusingTernary Avoid if (x != y) ..; else ..; 353387
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 374
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 399
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 434
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 435
CyclomaticComplexity The method 'doMoveField(HttpServletRequest, boolean)' has a cyclomatic complexity of 10. 504549
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 506
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 507
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 508
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 509
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 565
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 566
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 567

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormResponseDetailsJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34685
TooManyMethods This class has too many methods, consider refactoring it. 103685
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 154
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 268
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 326
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 412
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 445
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 461
ConfusingTernary Avoid if (x != y) ..; else ..; 472482
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 501
ConfusingTernary Avoid if (x != y) ..; else ..; 513
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 548
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 551
ConfusingTernary Avoid if (x != y) ..; else ..; 637651
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 640

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormWorkflowRedirectionEnum.java

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

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormsJspBean.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34687
TooManyMethods This class has too many methods, consider refactoring it. 107687
ImmutableField Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. 161
CyclomaticComplexity The method 'getMultiviewFormsView(HttpServletRequest)' has a cyclomatic complexity of 10. 171250
NPathComplexity The method 'getMultiviewFormsView(HttpServletRequest)' has an NPath complexity of 216 171250
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 311
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 354
EmptyCatchBlock Avoid empty catch blocks 437440
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 514
ConfusingTernary Avoid if (x != y) ..; else ..; 612619
ConfusingTernary Avoid if (x != y) ..; else ..; 633637

fr/paris/lutece/plugins/forms/web/breadcrumb/HorizontalBreadcrumb.java

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

fr/paris/lutece/plugins/forms/web/breadcrumb/VerticalBreadcrumb.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 97
UnusedPrivateMethod Avoid unused private methods such as 'getCurrentStepIndex(List,int)'. 120

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeCommentDisplayService.java

Rule Violation Line
CommentRequired Header comments are required 4979
CommentRequired Public method and constructor comments are required 5558
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 68

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDateDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 62
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 8692

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDefaultDataService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 66

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDefaultDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 57
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 7984

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeFileDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 71
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 95101

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeGeolocDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 57
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 7984

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeMyLuteceUserAttributeDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 61
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 8798
EmptyCatchBlock Avoid empty catch blocks 117120

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeTelephoneDisplayService.java

Rule Violation Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 58
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 8288

fr/paris/lutece/plugins/forms/web/exception/CodeAlreadyExistsException.java

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 4447
CommentRequired Public method and constructor comments are required 4447

fr/paris/lutece/plugins/forms/web/file/FormsDownloadFile.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 122

fr/paris/lutece/plugins/forms/web/file/FormsFileImageService.java

Rule Violation Line
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 172

fr/paris/lutece/plugins/forms/web/form/FormDisplayFactory.java

Rule Violation Line
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 191195
ConfusingTernary Avoid if (x != y) ..; else ..; 278297
ConfusingTernary Avoid if (x != y) ..; else ..; 284296

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntry.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 79
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 96
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 100
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 140
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 153

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntryCartography.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 73
UnusedLocalVariable Avoid unused local variables such as 'strEntryGeoJSON'. 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 104
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'objEntryGeoJSON' 139

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntryGeolocation.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayFormResponseDateCreation.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayFormResponseDateUpdate.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayForms.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayWorkflowState.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/AbstractFormFilterDisplay.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayEntry.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayFormResponseDate.java

Rule Violation Line
ShortVariable Avoid variables with short names like TO 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 112
ShortVariable Avoid variables with short names like m 150
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 161

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayForms.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 99
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 112
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 138
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 140
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 149
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 152

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplaySearchedText.java

Rule Violation Line
ImmutableField Private field '_formSearchEngine' could be made final; it is only initialized in the declaration or constructor. 69
CommentRequired Public method and constructor comments are required 7174
CallSuperInConstructor It is a good practice to call super() in a constructor 7174
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 100
UselessStringValueOf No need to call String.valueOf to append to a string. 110
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 129

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayWorkflowState.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 101
ConfusingTernary Avoid if (x != y) ..; else ..; 128144
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 139

fr/paris/lutece/plugins/forms/web/form/multiview/util/FormListTemplateBuilder.java

Rule Violation Line
GodClass Possible God Class (WMC=53, ATFD=42, TCC=0.735%) 69522
TooManyMethods This class has too many methods, consider refactoring it. 70522
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 132
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 235
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 236
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 241
UnusedFormalParameter Avoid unused method parameters such as 'formColumnlineTemplate'. 264
UnusedFormalParameter Avoid unused method parameters such as 'strRedirectionDetailsBaseUrl'. 264
ConfusingTernary Avoid if (x != y) ..; else ..; 270277
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 282

fr/paris/lutece/plugins/forms/web/form/panel/display/impl/AbstractFormPanelDisplay.java

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

fr/paris/lutece/plugins/forms/web/form/panel/display/initializer/impl/FormPanelFormResponseIdFilterDisplayInitialiser.java

Rule Violation Line
CommentRequired Header comments are required 4355
CommentRequired Protected method constructor comments are required 54

fr/paris/lutece/plugins/forms/web/http/IterationHttpServletRequestWrapper.java

Rule Violation Line
ImmutableField Private field '_strIterationParameterName' could be made final; it is only initialized in the declaration or constructor. 52
MissingOverride The method 'getParameterValues(String)' is missing an @Override annotation. 7275
MethodReturnsInternalArray Returning '_strIterationParameterName' may expose an internal array. 74
MissingOverride The method 'getParameter(String)' is missing an @Override annotation. 8083

fr/paris/lutece/plugins/forms/web/http/SynchronousHttpServletRequestWrapper.java

Rule Violation Line
CommentRequired Header comments are required 4398
RedundantFieldInitializer Avoid using redundant field initializer for '_allParameters' 46

Priority 4

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

Rule Violation Line
ShortClassName Avoid short class names like Form 55813

fr/paris/lutece/plugins/forms/business/FormMessage.java

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

fr/paris/lutece/plugins/forms/business/IFormQuestionResponseDAO.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.portal.service.plugin.Plugin' due to existing import 'fr.paris.lutece.portal.service.plugin.Plugin' 196

fr/paris/lutece/plugins/forms/business/Step.java

Rule Violation Line
ShortClassName Avoid short class names like Step 43184

fr/paris/lutece/plugins/forms/export/pdf/AbstractPdfFileGenerator.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.portal.business.file.File' due to existing import 'fr.paris.lutece.portal.business.file.File' 352

fr/paris/lutece/plugins/forms/export/pdf/PdfFileGenerator.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'java.io.OutputStream' 38
UnusedImports Avoid unused imports such as 'java.nio.file.Files' 39

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCartography.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeGeolocation' 41

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeComment.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.file.FileService' 41
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.file.IFileStoreServiceProvider' 42

fr/paris/lutece/plugins/forms/service/provider/GenericFormsProvider.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'java.util.Locale' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 67
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.plugins.genericattributes.business.Response' due to existing import 'fr.paris.lutece.plugins.genericattributes.business.Response' 125

fr/paris/lutece/plugins/forms/util/FormsResponseUtils.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.EntryTypeServiceManager' 45

fr/paris/lutece/plugins/forms/web/FormResponseManager.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'java.time.LocalDateTime' 37

fr/paris/lutece/plugins/forms/web/FormXPage.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.business.ResponseHome' 44
UnusedImports Avoid unused imports such as 'org.apache.james.mime4j.dom.datetime.DateTime' 90

fr/paris/lutece/plugins/forms/web/StepDisplayTree.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.api.user.User' 46
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AdminUserService' 61

fr/paris/lutece/plugins/forms/web/admin/AbstractFormQuestionJspBean.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.image.ImageResourceManager' 77

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormResponseDetailsJspBean.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.user.AdminUser' 80
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AdminUserService' 83

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormsJspBean.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 435
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 493
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 652

fr/paris/lutece/plugins/forms/web/breadcrumb/VerticalBreadcrumb.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.forms.business.StepHome' 43

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeFileDisplayService.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.file.FileHome' 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.physicalfile.PhysicalFileHome' 58

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntryCartography.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'java.util.Arrays' 36
UnusedImports Avoid unused imports such as 'java.util.List' 38

Files

fr/paris/lutece/plugins/forms/business/CompositeDisplayType.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/plugins/forms/business/ConditionControl.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 345
CommentRequired Public method and constructor comments are required 3 1112
UncommentedEmptyConstructor Document empty constructor 3 1112
CommentRequired Public method and constructor comments are required 3 1419
CommentRequired Public method and constructor comments are required 3 2123
CommentRequired Public method and constructor comments are required 3 2527
CommentRequired Public method and constructor comments are required 3 2931
CommentRequired Public method and constructor comments are required 3 3335

fr/paris/lutece/plugins/forms/business/Control.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 187189
CommentRequired Public method and constructor comments are required 3 191193
CloneThrowsCloneNotSupportedException clone() method should throw CloneNotSupportedException 3 201224
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 201

fr/paris/lutece/plugins/forms/business/ControlDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 50431

fr/paris/lutece/plugins/forms/business/ControlGroupDAO.java

Rule Violation Priority Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 101
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 156
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 224226
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 246

fr/paris/lutece/plugins/forms/business/ControlHome.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 8186

fr/paris/lutece/plugins/forms/business/ControlMapping.java

Rule Violation Priority Line
DataClass The class 'ControlMapping' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 3693
CommentRequired Header comments are required 3 3693

fr/paris/lutece/plugins/forms/business/ControlType.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 1 46

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

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34813
TooManyFields Too many fields 3 55813
GodClass Possible God Class (WMC=79, ATFD=10, TCC=1.798%) 3 55813
ShortClassName Avoid short class names like Form 4 55813
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Form constructor if you want a default access modifier 3 149178
SimplifyBooleanReturns Avoid unnecessary if..then..else statements when returning booleans 3 808810

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

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 55393
ConfusingTernary Avoid if (x != y) ..; else ..; 3 98105
ConfusingTernary Avoid if (x != y) ..; else ..; 3 182189
AvoidReassigningParameters Avoid reassigning parameters such as 'strSqlQuery' 2 243

fr/paris/lutece/plugins/forms/business/FormDisplayDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 48320

fr/paris/lutece/plugins/forms/business/FormMessage.java

Rule Violation Priority Line
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 9093

fr/paris/lutece/plugins/forms/business/FormQuestionResponseDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 55724
FieldNamingConventions The constant name '_formQuestionEntryResponseDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 73
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 105
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 107
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 138
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 143
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 181
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 185
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 225226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 237
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 238
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 240
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 415
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 422
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 428431
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 444445
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 450
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 585
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 592
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 593
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 636
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 641
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 642
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 660
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 664
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 666
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 680
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 681
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 682
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 697
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 698
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 699
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 700

fr/paris/lutece/plugins/forms/business/FormQuestionResponseHome.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 47300
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 143147

fr/paris/lutece/plugins/forms/business/FormResponseDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 50402

fr/paris/lutece/plugins/forms/business/FormResponseHome.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 53386

fr/paris/lutece/plugins/forms/business/FormResponseStepHome.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 46227

fr/paris/lutece/plugins/forms/business/GroupDAO.java

Rule Violation Priority Line
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 222
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 223

fr/paris/lutece/plugins/forms/business/IControlDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 46241

fr/paris/lutece/plugins/forms/business/IControlGroupDAO.java

Rule Violation Priority Line
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 107

fr/paris/lutece/plugins/forms/business/IFormCategoryDAO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4068

fr/paris/lutece/plugins/forms/business/IFormQuestionResponseDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 44197
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.portal.service.plugin.Plugin' due to existing import 'fr.paris.lutece.portal.service.plugin.Plugin' 4 196

fr/paris/lutece/plugins/forms/business/IFormResponseDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 43185

fr/paris/lutece/plugins/forms/business/IQuestionDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 44201

fr/paris/lutece/plugins/forms/business/IStepDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 44160

fr/paris/lutece/plugins/forms/business/ITransitionDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 44175

fr/paris/lutece/plugins/forms/business/LogicalOperator.java

Rule Violation Priority Line
CommentRequired Enum comments are required 3 318
FieldNamingConventions The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 1 8
CommentRequired Public method and constructor comments are required 3 1416

fr/paris/lutece/plugins/forms/business/MultiviewConfig.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 39173
CommentRequired Header comments are required 3 39173
DefaultPackage Use explicit scoping instead of the default package private level 3 43
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _bDisplayFormsTitleColumn field if you want a default access modifier 3 43
DefaultPackage Use explicit scoping instead of the default package private level 3 44
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _bDisplayFormsAssigneeColumn field if you want a default access modifier 3 44
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strCsvSeparator field if you want a default access modifier 3 45
DefaultPackage Use explicit scoping instead of the default package private level 3 45
DefaultPackage Use explicit scoping instead of the default package private level 3 46
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _intNumberOfFormResponsesPerPdf field if you want a default access modifier 3 46
DefaultPackage Use explicit scoping instead of the default package private level 3 47
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _nIdFileTemplatePdf field if you want a default access modifier 3 47
ConfusingTernary Avoid if (x != y) ..; else ..; 3 66
NonThreadSafeSingleton Singleton is not thread safe 3 7679
CommentRequired Public method and constructor comments are required 3 138141
CommentRequired Public method and constructor comments are required 3 143146
CommentRequired Public method and constructor comments are required 3 148150
CommentRequired Public method and constructor comments are required 3 152154

fr/paris/lutece/plugins/forms/business/Question.java

Rule Violation Priority Line
TooManyFields Too many fields 3 48532
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 331
CommentRequired Public method and constructor comments are required 3 507509
CommentRequired Public method and constructor comments are required 3 511513
ShortVariable Avoid variables with short names like o 3 516

fr/paris/lutece/plugins/forms/business/QuestionDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 53474

fr/paris/lutece/plugins/forms/business/Step.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Step 4 43184

fr/paris/lutece/plugins/forms/business/StepDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 48294

fr/paris/lutece/plugins/forms/business/TransitionDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 48313

fr/paris/lutece/plugins/forms/business/action/GlobalFormsActionIdService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4792
ShortVariable Avoid variables with short names like rt 3 56
ShortVariable Avoid variables with short names like p 3 62
ConfusingTernary Avoid if (x != y) ..; else ..; 3 89

fr/paris/lutece/plugins/forms/business/export/FormExportConfig.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 36129

fr/paris/lutece/plugins/forms/business/export/FormExportConfigDao.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 43144

fr/paris/lutece/plugins/forms/business/export/FormExportConfigHome.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 42108
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 42108

fr/paris/lutece/plugins/forms/business/export/IFormExportConfigDao.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4091

fr/paris/lutece/plugins/forms/business/form/FormItemSortConfig.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nColumnToSortPosition' doesn't match '[a-z][a-zA-Z0-9]*' 1 42
FieldNamingConventions The final field name '_strSortAttributeName' doesn't match '[a-z][a-zA-Z0-9]*' 1 43
FieldNamingConventions The final field name '_bAscSort' doesn't match '[a-z][a-zA-Z0-9]*' 1 44

fr/paris/lutece/plugins/forms/business/form/FormParameters.java

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

fr/paris/lutece/plugins/forms/business/form/FormResponseItem.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_listFormColumnCell' doesn't match '[a-z][a-zA-Z0-9]*' 1 48

fr/paris/lutece/plugins/forms/business/form/LuceneQueryBuilder.java

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

fr/paris/lutece/plugins/forms/business/form/column/FormColumnCell.java

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

fr/paris/lutece/plugins/forms/business/form/column/FormColumnCellComparator.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strSortKey' doesn't match '[a-z][a-zA-Z0-9]*' 1 53

fr/paris/lutece/plugins/forms/business/form/column/FormColumnComparator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3953

fr/paris/lutece/plugins/forms/business/form/column/impl/FormColumnEntry.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 103106

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/AbstractFormColumnQueryPart.java

Rule Violation Priority Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 84
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 107

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryCartographyQueryPart.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 63
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 3 7683

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryGeolocationQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnEntryQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormResponseDateCreationQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormResponseDateUpdateQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnFormsQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/column/querypart/impl/FormColumnWorkflowStateQueryPart.java

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

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

Rule Violation Priority Line
DataClass The class 'FormFilter' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4279

fr/paris/lutece/plugins/forms/business/form/filter/FormFilterForms.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 4662
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 49

fr/paris/lutece/plugins/forms/business/form/filter/configuration/AbstractFormFilterConfiguration.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nPosition' doesn't match '[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The final field name '_strFormFilterLabel' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The final field name '_strFormFilterName' doesn't match '[a-z][a-zA-Z0-9]*' 1 50
MissingOverride The method 'getPosition()' is missing an @Override annotation. 3 7275

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterDateConfiguration.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 4750

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterEntryConfiguration.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_formColumn' doesn't match '[a-z][a-zA-Z0-9]*' 1 48
CommentRequired Public method and constructor comments are required 3 5054

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterFormResponseIdConfiguration.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4568
CommentRequired Public method and constructor comments are required 3 4851

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterFormsConfiguration.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 4851

fr/paris/lutece/plugins/forms/business/form/filter/configuration/FormFilterWorkflowConfiguration.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 4851

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/AbstractFormFilterLuceneQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterEntryLuceneQueryPart.java

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _formSearchEngine field if you want a default access modifier 3 69
DefaultPackage Use explicit scoping instead of the default package private level 3 69
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 74
ConfusingTernary Avoid if (x != y) ..; else ..; 3 126133

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterFormResponseDateLuceneQueryPart.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 5690
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 69

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterFormsLuceneQueryPart.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 5774
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 61

fr/paris/lutece/plugins/forms/business/form/filter/querypart/impl/FormFilterIdFormResponseLuceneQueryPart.java

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

fr/paris/lutece/plugins/forms/business/form/list/FormListFacade.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_formListDAO' doesn't match '[a-z][a-zA-Z0-9]*' 1 55

fr/paris/lutece/plugins/forms/business/form/panel/FormPanelFactory.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_listFormPanelConfiguration' doesn't match '[a-z][a-zA-Z0-9]*' 1 50

fr/paris/lutece/plugins/forms/business/form/panel/configuration/FormPanelConfiguration.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nPosition' doesn't match '[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The final field name '_strTechnicalCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The final field name '_strTitle' doesn't match '[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The final field name '_listFormPanelInitializerName' doesn't match '[a-z][a-zA-Z0-9]*' 1 51

fr/paris/lutece/plugins/forms/business/form/panel/configuration/IFormPanelConfiguration.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RESOURCE_TYPE': the field is declared in an interface type 3 48

fr/paris/lutece/plugins/forms/business/form/panel/initializer/querypart/FormPanelInitializerQueryBuilder.java

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

fr/paris/lutece/plugins/forms/business/form/panel/initializer/querypart/impl/FormPanelFormResponseIdFilterInitializerQueryPart.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4458

fr/paris/lutece/plugins/forms/business/form/search/FormResponseSearchItem.java

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

fr/paris/lutece/plugins/forms/business/form/search/IndexerActionDAO.java

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

fr/paris/lutece/plugins/forms/dashboard/PublicDashboardForms.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 1690
FieldNamingConventions The field name 'strIdComponent' doesn't match '_[a-z][a-zA-Z0-9]*' 1 21
ImmutableField Private field 'strIdComponent' could be made final; it is only initialized in the declaration or constructor. 3 21
FormalParameterNamingConventions The method parameter name 'user_id' doesn't match '[a-z][a-zA-Z0-9]*' 1 42
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 44
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 44
FormalParameterNamingConventions The method parameter name 'published_formresponse_only' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FormalParameterNamingConventions The method parameter name 'published_questions_only' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 84

fr/paris/lutece/plugins/forms/exception/MaxFormResponseException.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 341

fr/paris/lutece/plugins/forms/export/AbstractFileGenerator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 57122
FieldNamingConventions The final field name '_formPanel' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
FieldNamingConventions The final field name '_listFormColumn' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
FieldNamingConventions The final field name '_listFormFilter' doesn't match '[a-z][a-zA-Z0-9]*' 1 69
FieldNamingConventions The final field name '_sortConfig' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
FieldNamingConventions The final field name '_fileName' doesn't match '[a-z][a-zA-Z0-9]*' 1 71
FieldNamingConventions The final field name '_fileDescription' doesn't match '[a-z][a-zA-Z0-9]*' 1 72
RedundantFieldInitializer Avoid using redundant field initializer for '_configList' 3 74
CommentRequired Protected method constructor comments are required 3 99113
CommentRequired Protected method constructor comments are required 3 115120
ConfusingTernary Avoid if (x != y) ..; else ..; 3 117
ConfusingTernary Avoid if (x != y) ..; else ..; 3 118

fr/paris/lutece/plugins/forms/export/ExportServiceManager.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_listFormatExport' doesn't match '[a-z][a-zA-Z0-9]*' 1 66
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 129
CommentRequired Public method and constructor comments are required 3 132152
CommentRequired Public method and constructor comments are required 3 154178
CommentRequired Public method and constructor comments are required 3 180213

fr/paris/lutece/plugins/forms/export/csv/CSVDataLine.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'RESPONSE_SEPARATOR'. 3 63
FieldNamingConventions The final field name '_mapDataToExport' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
FieldNamingConventions The final field name '_commonDataToExport' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 84
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 85
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 86
CommentRequired Public method and constructor comments are required 3 93118
ConfusingTernary Avoid if (x != y) ..; else ..; 3 97
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 110113
ConfusingTernary Avoid if (x != y) ..; else ..; 3 127

fr/paris/lutece/plugins/forms/export/csv/CSVExport.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 1 56

fr/paris/lutece/plugins/forms/export/csv/CSVFileGenerator.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 133

fr/paris/lutece/plugins/forms/export/csv/CSVHeader.java

Rule Violation Priority Line
DefaultPackage Use explicit scoping instead of the default package private level 3 52
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _mapQuestionAndIterationColumn field if you want a default access modifier 3 52
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 52
FieldNamingConventions The final field name '_listQuestionColumns' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
SingularField Perhaps '_numberOfQuestionColumns' could be replaced by a local variable. 3 54
UnusedPrivateField Avoid unused private fields such as '_numberOfQuestionColumns'. 3 54
ImmutableField Private field '_numberOfQuestionColumns' could be made final; it is only initialized in the declaration or constructor. 3 54
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 118133

fr/paris/lutece/plugins/forms/export/csv/CSVUtil.java

Rule Violation Priority Line
DefaultPackage Use explicit scoping instead of the default package private level 3 103109
AvoidReassigningParameters Avoid reassigning parameters such as 'strValue' 2 103
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the safeString method if you want a default access modifier 3 103109

fr/paris/lutece/plugins/forms/export/csv/FormResponseCsvExport.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_csvHeader' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
ImmutableField Private field '_csvSeparator' could be made final; it is only initialized in the declaration or constructor. 3 62
CommentRequired Public method and constructor comments are required 3 6467
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 76
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 77
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 78
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 79
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 80
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 81
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 82
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 8590
CommentRequired Public method and constructor comments are required 3 99111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 122
LooseCoupling Avoid using implementation types like 'ArrayList'; use the interface instead 3 152
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 185

fr/paris/lutece/plugins/forms/export/pdf/AbstractPdfFileGenerator.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1406
CommentRequired Header comments are required 3 62406
GodClass Possible God Class (WMC=51, ATFD=47, TCC=1.515%) 3 62406
FieldNamingConventions The final field name '_formTitle' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
CommentRequired Protected method constructor comments are required 3 7882
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 84
CommentRequired Protected method constructor comments are required 3 8492
CommentRequired Protected method constructor comments are required 3 94105
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 94
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 239248
CyclomaticComplexity The method 'getResponseValue(FormQuestionResponse, int)' has a cyclomatic complexity of 19. 3 310386
NPathComplexity The method 'getResponseValue(FormQuestionResponse, int)' has an NPath complexity of 2166 3 310386
CollapsibleIfStatements These nested if statements could be combined 3 349365
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.portal.business.file.File' due to existing import 'fr.paris.lutece.portal.business.file.File' 4 352
ConfusingTernary Avoid if (x != y) ..; else ..; 3 376
CommentRequired Protected method constructor comments are required 3 388404

fr/paris/lutece/plugins/forms/export/pdf/FormResponsePdfExport.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34251
CommentRequired Header comments are required 3 73251
CommentRequired Public method and constructor comments are required 3 78104
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 191195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 191
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 194

fr/paris/lutece/plugins/forms/export/pdf/PDFExport.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 1 56

fr/paris/lutece/plugins/forms/export/pdf/PdfCell.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 38127
DataClass The class 'PdfCell' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) 3 38127
CommentRequired Public method and constructor comments are required 3 123126

fr/paris/lutece/plugins/forms/export/pdf/PdfFileGenerator.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'java.io.OutputStream' 4 38
UnusedImports Avoid unused imports such as 'java.nio.file.Files' 4 39
CommentRequired Header comments are required 3 61187
RedundantFieldInitializer Avoid using redundant field initializer for '_hasMultipleFiles' 3 65
CommentRequired Protected method constructor comments are required 3 6771
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 127
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 152
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 160
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 181

fr/paris/lutece/plugins/forms/export/pdf/PdfUtil.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 47163
ShortVariable Avoid variables with short names like y 3 64
CommentRequired Public method and constructor comments are required 3 150162

fr/paris/lutece/plugins/forms/export/pdffull/PdfFullExport.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4795
FieldNamingConventions The final field name '_strFormatExportName' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The final field name '_strFormatExportDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The final field name '_strFormatExportDescription' doesn't match '[a-z][a-zA-Z0-9]*' 1 51

fr/paris/lutece/plugins/forms/export/pdffull/PdfFullFileGenerator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 67230
RedundantFieldInitializer Avoid using redundant field initializer for '_hasMultipleFiles' 3 69
CommentRequired Protected method constructor comments are required 3 7175
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 137
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 152
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 160
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 184
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 206
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 207
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 207
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 208
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 209
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 209

fr/paris/lutece/plugins/forms/service/AbstractFormDisplayService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 50251
RedundantFieldInitializer Avoid using redundant field initializer for '_formDatabaseService' 3 55
CommentRequired Protected method constructor comments are required 3 250

fr/paris/lutece/plugins/forms/service/EntryServiceManager.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_listEntryDisplayService' doesn't match '[a-z][a-zA-Z0-9]*' 1 51
FieldNamingConventions The final field name '_listEntryDataService' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
FieldNamingConventions The final field name '_listValidator' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 184

fr/paris/lutece/plugins/forms/service/FormCategoryService.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 4858

fr/paris/lutece/plugins/forms/service/FormDatabaseService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 55226
TooManyMethods This class has too many methods, consider refactoring it. 3 56226

fr/paris/lutece/plugins/forms/service/FormDisplayService.java

Rule Violation Priority Line
MissingOverride The method 'deleteDisplayAndDescendants(int)' is missing an @Override annotation. 3 66119
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 9294

fr/paris/lutece/plugins/forms/service/FormPanelConfigIdService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 49116

fr/paris/lutece/plugins/forms/service/FormResponseService.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 56130
ImmutableField Private field '_formService' could be made final; it is only initialized in the declaration or constructor. 3 58
CommentRequired Public method and constructor comments are required 3 6775
NonThreadSafeSingleton Singleton is not thread safe 3 6972
CommentRequired Public method and constructor comments are required 3 7781
CommentRequired Public method and constructor comments are required 3 8387
CommentRequired Public method and constructor comments are required 3 101129
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 122

fr/paris/lutece/plugins/forms/service/FormService.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34681
GodClass Possible God Class (WMC=64, ATFD=84, TCC=0.308%) 3 100681
TooManyMethods This class has too many methods, consider refactoring it. 3 101681
CyclomaticComplexity The method 'saveForm(Form, FormResponse)' has a cyclomatic complexity of 12. 3 118158
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 151
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 549
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 584
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 622

fr/paris/lutece/plugins/forms/service/FormsMultiviewAuthorizationService.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_formListFacade' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
FieldNamingConventions The final field name '_formColumnFactory' doesn't match '[a-z][a-zA-Z0-9]*' 1 74
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 142

fr/paris/lutece/plugins/forms/service/FormsResourceIdService.java

Rule Violation Priority Line
DataClass The class 'FormsResourceIdService' is suspected to be a Data Class (WOC=0.000%, NOPA=13, NOAM=0, WMC=1) 3 52183

fr/paris/lutece/plugins/forms/service/IFormDatabaseService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 47265
TooManyMethods This class has too many methods, consider refactoring it. 3 48265
CommentRequired Public method and constructor comments are required 3 264

fr/paris/lutece/plugins/forms/service/IFormDisplayService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 42128
CommentRequired Public method and constructor comments are required 3 93

fr/paris/lutece/plugins/forms/service/MultiviewFormService.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34384
CommentRequired Public method and constructor comments are required 3 124129
FieldNamingConventions The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' 1 163
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 163
AvoidReassigningParameters Avoid reassigning parameters such as 'nIdForm' 2 172
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 174
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 188
CyclomaticComplexity The method 'getFormFiltersList(Integer, List, Locale, User)' has a cyclomatic complexity of 10. 3 228273
AvoidReassigningParameters Avoid reassigning parameters such as 'nIdForm' 2 228
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 230
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 254
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'question' 3 289
ConfusingTernary Avoid if (x != y) ..; else ..; 3 291305

fr/paris/lutece/plugins/forms/service/StepService.java

Rule Violation Priority Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 114
CommentRequired Public method and constructor comments are required 3 174177
CommentRequired Public method and constructor comments are required 3 179186

fr/paris/lutece/plugins/forms/service/cache/FormsCacheService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 43162
CommentRequired Public method and constructor comments are required 3 6164
CommentRequired Public method and constructor comments are required 3 6669
CommentRequired Public method and constructor comments are required 3 7174
CommentRequired Public method and constructor comments are required 3 7679
CommentRequired Public method and constructor comments are required 3 8184
CommentRequired Public method and constructor comments are required 3 8690
CommentRequired Public method and constructor comments are required 3 9296
CommentRequired Public method and constructor comments are required 3 98101
CommentRequired Public method and constructor comments are required 3 103106
CommentRequired Public method and constructor comments are required 3 108112
CommentRequired Public method and constructor comments are required 3 114117
CommentRequired Public method and constructor comments are required 3 119122
CommentRequired Public method and constructor comments are required 3 124127
CommentRequired Public method and constructor comments are required 3 129132

fr/paris/lutece/plugins/forms/service/download/FormsFileDownloadService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 46131
AvoidReassigningParameters Avoid reassigning parameters such as 'additionnalData' 2 68
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 72
AvoidReassigningParameters Avoid reassigning parameters such as 'additionnalData' 2 86
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 90
ShortVariable Avoid variables with short names like sb 3 111
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 112
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 113
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 114
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 115

fr/paris/lutece/plugins/forms/service/download/FormsFileRBACService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4981
ShortVariable Avoid variables with short names like bo 3 57

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeAutomaticFileReading.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 312

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCamera.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4199

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCartography.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeGeolocation' 4 41

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeCheckBox.java

Rule Violation Priority Line
CyclomaticComplexity The method 'isResponseChanged(List, List)' has a cyclomatic complexity of 11. 3 107151
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 114

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeComment.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.file.FileService' 4 41
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.file.IFileStoreServiceProvider' 4 42

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeGalleryImage.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getResponseValueForExport(Entry, HttpServletRequest, Response, Locale)' has a cyclomatic complexity of 10. 3 136171
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 153162

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeMyLuteceUserAttribute.java

Rule Violation Priority Line
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 211

fr/paris/lutece/plugins/forms/service/entrytype/EntryTypeSlot.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 984

fr/paris/lutece/plugins/forms/service/json/AbstractFormJsonService.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34407
CommentRequired Header comments are required 3 74407
GodClass Possible God Class (WMC=49, ATFD=55, TCC=10.458%) 3 74407
TooManyMethods This class has too many methods, consider refactoring it. 3 75407
FieldNamingConventions The final field name '_formDatabaseService' doesn't match '[a-z][a-zA-Z0-9]*' 1 78
CommentRequired Protected method constructor comments are required 3 8189
CommentRequired Public method and constructor comments are required 3 159183
CommentRequired Protected method constructor comments are required 3 185207
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 188
CommentRequired Protected method constructor comments are required 3 209242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 212
CommentRequired Protected method constructor comments are required 3 244258
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 246
CommentRequired Protected method constructor comments are required 3 260283
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 262
CommentRequired Protected method constructor comments are required 3 285302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 287
CommentRequired Protected method constructor comments are required 3 406

fr/paris/lutece/plugins/forms/service/json/FormJsonData.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 50234
DataClass The class 'FormJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=20, WMC=20) 3 50234

fr/paris/lutece/plugins/forms/service/json/FormJsonService.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34237
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 78237
CommentRequired Public method and constructor comments are required 3 8992
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 208

fr/paris/lutece/plugins/forms/service/json/StepJsonData.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 46157
DataClass The class 'StepJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 46157

fr/paris/lutece/plugins/forms/service/json/TimestampDeserializer.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4658
ImmutableField Private field '_fmt' could be made final; it is only initialized in the declaration or constructor. 3 48
ShortVariable Avoid variables with short names like dt 3 54

fr/paris/lutece/plugins/forms/service/json/TimestampSerializer.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4659
ImmutableField Private field '_fmt' could be made final; it is only initialized in the declaration or constructor. 3 48
ShortVariable Avoid variables with short names like z 3 54

fr/paris/lutece/plugins/forms/service/listener/FormResponseEventListener.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 45105

fr/paris/lutece/plugins/forms/service/provider/GenericFormsProvider.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34271
UnusedImports Avoid unused imports such as 'java.util.Locale' 4 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 4 67
CommentRequired Header comments are required 3 72271
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 72271
CyclomaticComplexity The method 'getValuesModel(FormResponse, HttpServletRequest)' has a cyclomatic complexity of 16. 3 112196
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 114
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.plugins.genericattributes.business.Response' due to existing import 'fr.paris.lutece.plugins.genericattributes.business.Response' 4 125
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 126144
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 131141
CollapsibleIfStatements These nested if statements could be combined 3 134140
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 208

fr/paris/lutece/plugins/forms/service/resource/FormResponseExtendableResourceService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4686

fr/paris/lutece/plugins/forms/service/search/FormSearchConfig.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3661

fr/paris/lutece/plugins/forms/service/search/IFormSearchEngine.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4478

fr/paris/lutece/plugins/forms/service/search/ILucenDocumentExternalFieldProvider.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4051
UnnecessaryModifier Unnecessary modifier 'public' on method 'provideFields': the method is declared in an interface type 3 50

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchEngine.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34254
CommentRequired Header comments are required 3 72254
ShortVariable Avoid variables with short names like ir 3 88
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 128
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 128
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 129
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 135140
ShortVariable Avoid variables with short names like si 3 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 142
ShortVariable Avoid variables with short names like ir 3 188
ConfusingTernary Avoid if (x != y) ..; else ..; 3 194201

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchFactory.java

Rule Violation Priority Line
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 65
AvoidReassigningParameters Avoid reassigning parameters such as 'bCreateIndex' 2 89

fr/paris/lutece/plugins/forms/service/search/LuceneFormSearchIndexer.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34796
GodClass Possible God Class (WMC=54, ATFD=112, TCC=6.884%) 3 100796
TooManyMethods This class has too many methods, consider refactoring it. 3 101796
CommentRequired Public method and constructor comments are required 3 119122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 207253
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 215
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 240
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 265
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 273
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 291348
ConfusingTernary Avoid if (x != y) ..; else ..; 3 406415
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 421
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 523
CyclomaticComplexity The method 'getDocument(FormResponse, Form, State)' has a cyclomatic complexity of 17. 3 570713
NcssCount The method 'getDocument(FormResponse, Form, State)' has a NCSS line count of 76. 3 570713
ExcessiveMethodLength Avoid really long methods. 3 570713
ConfusingTernary Avoid if (x != y) ..; else ..; 3 650705
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 662
ShortVariable Avoid variables with short names like sb 3 729
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 747

fr/paris/lutece/plugins/forms/service/upload/FormsAsynchronousUploadHandler.java

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

fr/paris/lutece/plugins/forms/util/FormEntryNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewFormResponseDateCreationNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewFormsNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormMultiviewWorkflowStateNameConstants.java

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

fr/paris/lutece/plugins/forms/util/FormsConstants.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'FormsConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 44265
AvoidDuplicateLiterals The String literal "id_parent" appears 4 times in this file; the first occurrence is on line 57 3 57

fr/paris/lutece/plugins/forms/util/FormsResponseUtils.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1545
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.EntryTypeServiceManager' 4 45
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 62545
CommentRequired Header comments are required 3 62545
GodClass Possible God Class (WMC=68, ATFD=106, TCC=0.526%) 3 62545
TooManyMethods This class has too many methods, consider refactoring it. 3 63545
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 65
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 99
ConfusingTernary Avoid if (x != y) ..; else ..; 3 177
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 209212
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 232
CyclomaticComplexity The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has a cyclomatic complexity of 17. 3 293380
NPathComplexity The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has an NPath complexity of 1098 3 293380
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 302315
CommentRequired Public method and constructor comments are required 3 382386
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 382386
CommentRequired Public method and constructor comments are required 3 470473
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 539

fr/paris/lutece/plugins/forms/util/FormsUtils.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 4265
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 18 characters appended. 3 60

fr/paris/lutece/plugins/forms/util/LuceneUtils.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nIterationNumber' 2 55
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 58

fr/paris/lutece/plugins/forms/util/ReferenceItemComparator.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6185
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6373
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7784

fr/paris/lutece/plugins/forms/util/ReferenceListFactory.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_collectionItem' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The final field name '_strCodeAttr' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The final field name '_strNameAttribute' doesn't match '[a-z][a-zA-Z0-9]*' 1 57

fr/paris/lutece/plugins/forms/validation/AbstractDateValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 53130
CommentRequired Public method and constructor comments are required 3 6265
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 70
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 97
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 107
CommentRequired Protected method constructor comments are required 3 123
CommentRequired Protected method constructor comments are required 3 125
CommentRequired Protected method constructor comments are required 3 127
CommentRequired Protected method constructor comments are required 3 129

fr/paris/lutece/plugins/forms/validation/AbstractListQuestionValidator.java

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

fr/paris/lutece/plugins/forms/validation/AbstractNumberValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 1577
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 41
CommentRequired Public method and constructor comments are required 3 73
CommentRequired Protected method constructor comments are required 3 75
CommentRequired Protected method constructor comments are required 3 76

fr/paris/lutece/plugins/forms/validation/AbstractPatternValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 56128
ImmutableField Private field '_plugin' could be made final; it is only initialized in the declaration or constructor. 3 63
CommentRequired Public method and constructor comments are required 3 6568
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 73
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 94
CommentRequired Protected method constructor comments are required 3 127

fr/paris/lutece/plugins/forms/validation/AbstractValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 46168
FieldNamingConventions The final field name '_strValidatorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The final field name '_strDisplayName' doesn't match '[a-z][a-zA-Z0-9]*' 1 50

fr/paris/lutece/plugins/forms/validation/ControlListenerManager.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'ControlListenerManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 4496
LocalVariableNamingConventions The local variable name 'ControlRemovalListener' doesn't match '[a-z][a-zA-Z0-9]*' 1 62
LocalVariableNamingConventions The local variable name 'ControlListener' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
LocalVariableNamingConventions The local variable name 'ControlListener' doesn't match '[a-z][a-zA-Z0-9]*' 1 90

fr/paris/lutece/plugins/forms/validation/DateInferiorValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3970
CommentRequired Public method and constructor comments are required 3 4245

fr/paris/lutece/plugins/forms/validation/DateSuperiorValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3970
CommentRequired Public method and constructor comments are required 3 4245

fr/paris/lutece/plugins/forms/validation/ListExactResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListMaxResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListMinResponseValidator.java

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

fr/paris/lutece/plugins/forms/validation/ListQuestionListener.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4394
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 7174

fr/paris/lutece/plugins/forms/validation/ListValueValidator.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 94
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 105108
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 144

fr/paris/lutece/plugins/forms/validation/NumberInferiorValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 638

fr/paris/lutece/plugins/forms/validation/NumberSuperiorValidator.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 741

fr/paris/lutece/plugins/forms/validation/UniqueValidator.java

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

fr/paris/lutece/plugins/forms/web/CompositeGroupDisplay.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 70557
FieldNamingConventions The final field name '_listChildren' doesn't match '[a-z][a-zA-Z0-9]*' 1 95
FieldNamingConventions The final field name '_formDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 1 99
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 99
UnusedFormalParameter Avoid unused constructor parameters such as 'nIterationNumber'. 3 111
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 3 262300
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 3 262300
ConfusingTernary Avoid if (x != y) ..; else ..; 3 469

fr/paris/lutece/plugins/forms/web/CompositeQuestionDisplay.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34625
FieldNamingConventions The final field name '_formDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 1 105
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 1 107
CyclomaticComplexity The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a cyclomatic complexity of 18. 3 193285
NcssCount The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a NCSS line count of 60. 3 193285
NPathComplexity The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has an NPath complexity of 1076 3 193285
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 196
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 196
ControlStatementBraces This statement should have braces 3 220
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 239241
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 248259
ConfusingTernary Avoid if (x != y) ..; else ..; 3 270
ConfusingTernary Avoid if (x != y) ..; else ..; 3 281
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 3 380420
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 3 380420
CyclomaticComplexity The method 'setQuestionVisibility(List, DisplayType)' has a cyclomatic complexity of 11. 3 455499
NPathComplexity The method 'setQuestionVisibility(List, DisplayType)' has an NPath complexity of 576 3 455499
ConfusingTernary Avoid if (x != y) ..; else ..; 3 560

fr/paris/lutece/plugins/forms/web/FormResponseData.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 38112

fr/paris/lutece/plugins/forms/web/FormResponseManager.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'java.time.LocalDateTime' 4 37
GodClass Possible God Class (WMC=49, ATFD=34, TCC=26.667%) 3 54429
TooManyMethods This class has too many methods, consider refactoring it. 3 55429
FieldNamingConventions The final field name '_listValidatedStep' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The final field name '_formResponse' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsResponseLoadedFromBackup' 3 58
RedundantFieldInitializer Avoid using redundant field initializer for '_isBackupResponseAlreadyInitiated' 3 59
ConfusingTernary Avoid if (x != y) ..; else ..; 3 152
CommentRequired Public method and constructor comments are required 3 157161
CommentRequired Public method and constructor comments are required 3 171173
CommentRequired Public method and constructor comments are required 3 182184

fr/paris/lutece/plugins/forms/web/FormResponseXPage.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34305
CommentRequired Public method and constructor comments are required 3 119139
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 141
CommentRequired Public method and constructor comments are required 3 142193
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 151
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 170
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 207
ConfusingTernary Avoid if (x != y) ..; else ..; 3 285292

fr/paris/lutece/plugins/forms/web/FormXPage.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 341345
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.business.ResponseHome' 4 44
UnusedImports Avoid unused imports such as 'org.apache.james.mime4j.dom.datetime.DateTime' 4 90
ExcessiveClassLength Avoid really long classes. 3 981345
TooManyMethods This class has too many methods, consider refactoring it. 3 991345
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 3 149
FieldNamingConventions The field name 'IsRequestComingFromAction' doesn't match '_[a-z][a-zA-Z0-9]*' 1 156
RedundantFieldInitializer Avoid using redundant field initializer for 'IsRequestComingFromAction' 3 156
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 210
CyclomaticComplexity The method 'checkMyLuteceAuthentification(Form, HttpServletRequest)' has a cyclomatic complexity of 11. 3 224253
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 266
NPathComplexity The method 'getStepView(HttpServletRequest)' has an NPath complexity of 49440 3 267370
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 267370
ExcessiveMethodLength Avoid really long methods. 3 267370
CyclomaticComplexity The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 25. 3 267370
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 303305
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 306
LinguisticNaming Linguistics Antipattern - The getter 'getFormStepModel' should not return void linguistically 3 423439
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 451
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 452492
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 455
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 487
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 504
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 505542
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 509
EmptyCatchBlock Avoid empty catch blocks 3 530533
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 554
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 555582
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 649
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 650682
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 696
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 697729
ConfusingTernary Avoid if (x != y) ..; else ..; 3 798812
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 888
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 889941
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 906
ConfusingTernary Avoid if (x != y) ..; else ..; 3 931
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 964
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 9651019
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 1034
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 10351065
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1060
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 1078
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 10791109
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 1122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 11231153
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 1166
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 11671250
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1181
ConfusingTernary Avoid if (x != y) ..; else ..; 3 12161246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1311
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1313
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1329
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1330
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1331

fr/paris/lutece/plugins/forms/web/FormsDashboardComponent.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 67127
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 99
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 116
ShortVariable Avoid variables with short names like t 3 122

fr/paris/lutece/plugins/forms/web/ICompositeDisplay.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 153

fr/paris/lutece/plugins/forms/web/StepDisplayTree.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.api.user.User' 4 46
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AdminUserService' 4 61
FieldNamingConventions The final field name '_listChildren' doesn't match '[a-z][a-zA-Z0-9]*' 1 92
FieldNamingConventions The final field name '_listICompositeDisplay' doesn't match '[a-z][a-zA-Z0-9]*' 1 93
FieldNamingConventions The final field name '_formResponse' doesn't match '[a-z][a-zA-Z0-9]*' 1 96
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 97
FieldNamingConventions The final field name '_mapStepResponses' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
FieldNamingConventions The final field name '_model' doesn't match '[a-z][a-zA-Z0-9]*' 1 99
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 99
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 3 100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 236
ConfusingTernary Avoid if (x != y) ..; else ..; 3 264277
NPathComplexity The method 'findTemplateFor(DisplayType)' has an NPath complexity of 512 3 297341
CyclomaticComplexity The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. 3 297341

fr/paris/lutece/plugins/forms/web/TermsOfServiceXPage.java

Rule Violation Priority Line
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 191

fr/paris/lutece/plugins/forms/web/admin/AbstractFormQuestionJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34922
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.image.ImageResourceManager' 4 77
CommentRequired Header comments are required 3 82922
CyclomaticComplexity The class 'AbstractFormQuestionJspBean' has a total cyclomatic complexity of 111 (highest 21). 3 82922
TooManyMethods This class has too many methods, consider refactoring it. 3 83922
RedundantFieldInitializer Avoid using redundant field initializer for '_nIdParentSelected' 3 171
CyclomaticComplexity The method 'processQuestionCreation(HttpServletRequest, String)' has a cyclomatic complexity of 12. 3 182260
NPathComplexity The method 'processQuestionCreation(HttpServletRequest, String)' has an NPath complexity of 576 3 182260
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 185
CyclomaticComplexity The method 'processQuestionUpdate(HttpServletRequest)' has a cyclomatic complexity of 12. 3 269332
NPathComplexity The method 'processQuestionUpdate(HttpServletRequest)' has an NPath complexity of 288 3 269332
ConfusingTernary Avoid if (x != y) ..; else ..; 3 310319
CommentRequired Protected method constructor comments are required 3 334379
ConfusingTernary Avoid if (x != y) ..; else ..; 3 344
ConfusingTernary Avoid if (x != y) ..; else ..; 3 356375
CommentRequired Protected method constructor comments are required 3 381410
ConfusingTernary Avoid if (x != y) ..; else ..; 3 390
CommentRequired Protected method constructor comments are required 3 412437
CommentRequired Protected method constructor comments are required 3 439464
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 442
CommentRequired Protected method constructor comments are required 3 466517
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 469
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 492
CyclomaticComplexity The method 'initModifyQuestionModel(HttpServletRequest)' has a cyclomatic complexity of 10. 3 519599
CommentRequired Protected method constructor comments are required 3 519599
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'field' 3 549
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 557
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 583
CommentRequired Protected method constructor comments are required 3 601714
NPathComplexity The method 'initMoveCompositeModel(HttpServletRequest)' has an NPath complexity of 103680 3 601714
ExcessiveMethodLength Avoid really long methods. 3 601714
CyclomaticComplexity The method 'initMoveCompositeModel(HttpServletRequest)' has a cyclomatic complexity of 21. 3 601714
NcssCount The method 'initMoveCompositeModel(HttpServletRequest)' has a NCSS line count of 62. 3 601714
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 603
CommentRequired Protected method constructor comments are required 3 910
CommentRequired Protected method constructor comments are required 3 921

fr/paris/lutece/plugins/forms/web/admin/AbstractJspBean.java

Rule Violation Priority Line
CommentRequired Protected method constructor comments are required 3 8995
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 233
CommentRequired Protected method constructor comments are required 3 247255
CommentRequired Protected method constructor comments are required 3 257263

fr/paris/lutece/plugins/forms/web/admin/FormCategoriesJspBean.java

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

fr/paris/lutece/plugins/forms/web/admin/FormControlJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34823
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 1 151
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 326
ConfusingTernary Avoid if (x != y) ..; else ..; 3 329
ConfusingTernary Avoid if (x != y) ..; else ..; 3 330
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 2 339
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 2 339
AvoidReassigningParameters Avoid reassigning parameters such as 'controlGroup' 2 339
ConfusingTernary Avoid if (x != y) ..; else ..; 3 342349
CommentRequired Public method and constructor comments are required 3 362394
ConfusingTernary Avoid if (x != y) ..; else ..; 3 383390
ConfusingTernary Avoid if (x != y) ..; else ..; 3 424431
NPathComplexity The method 'buildControlModel(HttpServletRequest, Map)' has an NPath complexity of 161280 3 444568
ExcessiveMethodLength Avoid really long methods. 3 444568
NcssCount The method 'buildControlModel(HttpServletRequest, Map)' has a NCSS line count of 74. 3 444568
CyclomaticComplexity The method 'buildControlModel(HttpServletRequest, Map)' has a cyclomatic complexity of 28. 3 444568
ConfusingTernary Avoid if (x != y) ..; else ..; 3 491498
ShortVariable Avoid variables with short names like q 3 515
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 553
UseEqualsToCompareStrings Use equals() to compare strings instead of '==' or '!=' 3 553
ConfusingTernary Avoid if (x != y) ..; else ..; 3 655669
ConfusingTernary Avoid if (x != y) ..; else ..; 3 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 762
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 763
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 764
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 766
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 767
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 768

fr/paris/lutece/plugins/forms/web/admin/FormExportJspBean.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 64440
UnusedPrivateField Avoid unused private fields such as 'PARAMETER_ID_QUESTION'. 3 100
CommentRequired Public method and constructor comments are required 3 108149
CommentRequired Public method and constructor comments are required 3 152186
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 153
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 154
LinguisticNaming Linguistics Antipattern - The variable 'isOrderExportDecrementing' indicates linguistically it is a boolean, but it is 'int' 3 168
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 181
CommentRequired Public method and constructor comments are required 3 189229
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 190
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 224
CommentRequired Public method and constructor comments are required 3 232264
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 260
CommentRequired Public method and constructor comments are required 3 267297
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 269
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 281
CommentRequired Public method and constructor comments are required 3 300335
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 313
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 331
CommentRequired Public method and constructor comments are required 3 338373
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 345
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 369
CommentRequired Public method and constructor comments are required 3 376411
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 383
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 407
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 419
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 429431
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 434

fr/paris/lutece/plugins/forms/web/admin/FormJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34888
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 1 206
ImmutableField Private field '_captchaSecurityService' could be made final; it is only initialized in the declaration or constructor. 3 212
ImmutableField Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. 3 213
ConfusingTernary Avoid if (x != y) ..; else ..; 3 292
ConfusingTernary Avoid if (x != y) ..; else ..; 3 293
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 545553
CommentRequired Public method and constructor comments are required 3 587616
CommentRequired Public method and constructor comments are required 3 847868
CommentRequired Public method and constructor comments are required 3 871887

fr/paris/lutece/plugins/forms/web/admin/FormMultiviewConfigJspBean.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 69250
CommentRequired Public method and constructor comments are required 3 110153
CommentRequired Public method and constructor comments are required 3 156190
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 186
CommentRequired Public method and constructor comments are required 3 193225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 221
CommentRequired Public method and constructor comments are required 3 228249
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 230
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 240242
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 245

fr/paris/lutece/plugins/forms/web/admin/FormQuestionJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34782
TooManyMethods This class has too many methods, consider refactoring it. 3 94782
FieldNamingConventions The constant name '_formService' doesn't match '[A-Z][A-Z_0-9]*' 1 130
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 181
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 211
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 255
ConfusingTernary Avoid if (x != y) ..; else ..; 3 312319
ConfusingTernary Avoid if (x != y) ..; else ..; 3 349351
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 369
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 373
ControlStatementBraces This statement should have braces 3 390
ConfusingTernary Avoid if (x != y) ..; else ..; 3 420427
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 480
ConfusingTernary Avoid if (x != y) ..; else ..; 3 490497
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 501
CommentRequired Public method and constructor comments are required 3 502523
ShortVariable Avoid variables with short names like id 3 505
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 519
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 532
NPathComplexity The method 'getConfirmRemoveComposite(HttpServletRequest)' has an NPath complexity of 648 3 533587
CyclomaticComplexity The method 'getConfirmRemoveComposite(HttpServletRequest)' has a cyclomatic complexity of 13. 3 533587
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 683
CyclomaticComplexity The method 'doMoveComposite(HttpServletRequest)' has a cyclomatic complexity of 12. 3 708769
NPathComplexity The method 'doMoveComposite(HttpServletRequest)' has an NPath complexity of 864 3 708769
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 740

fr/paris/lutece/plugins/forms/web/admin/FormResponseJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1703
CommentRequired Header comments are required 3 41703
TooManyMethods This class has too many methods, consider refactoring it. 3 42703
ImmutableField Private field '_controller' could be made final; it is only initialized in the declaration or constructor. 3 80
ImmutableField Private field '_formService' could be made final; it is only initialized in the declaration or constructor. 3 81
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 95
NPathComplexity The method 'getStepView(HttpServletRequest)' has an NPath complexity of 448 3 96177
CyclomaticComplexity The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 13. 3 96177
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 186
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 200
ConfusingTernary Avoid if (x != y) ..; else ..; 3 217
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 228
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 251
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 278
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 306
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 334
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 360
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 395
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 396410
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 419
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 420440
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 449
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 450482
ConfusingTernary Avoid if (x != y) ..; else ..; 3 467475
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 477
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 492
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 493
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 494
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 495
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 508
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 509
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 510
LinguisticNaming Linguistics Antipattern - The getter 'getFormStepModel' should not return void linguistically 3 600610
ConfusingTernary Avoid if (x != y) ..; else ..; 3 647661

fr/paris/lutece/plugins/forms/web/admin/FormStepJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34624
FieldNamingConventions The constant name '_stepService' doesn't match '[A-Z][A-Z_0-9]*' 1 153
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 1 159
ConfusingTernary Avoid if (x != y) ..; else ..; 3 250
CommentRequired Public method and constructor comments are required 3 555583
CommentRequired Public method and constructor comments are required 3 586606
CommentRequired Public method and constructor comments are required 3 609623

fr/paris/lutece/plugins/forms/web/admin/FormTransitionJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34629
TooManyMethods This class has too many methods, consider refactoring it. 3 75629
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 138
ConfusingTernary Avoid if (x != y) ..; else ..; 3 208
ConfusingTernary Avoid if (x != y) ..; else ..; 3 212219
ConfusingTernary Avoid if (x != y) ..; else ..; 3 248255
ConfusingTernary Avoid if (x != y) ..; else ..; 3 456470

fr/paris/lutece/plugins/forms/web/admin/FormWorkflowConfigJspBean.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 60147
CommentRequired Public method and constructor comments are required 3 85111
CommentRequired Public method and constructor comments are required 3 114146
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 142

fr/paris/lutece/plugins/forms/web/admin/ModifyEntryJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34686
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 157
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 178
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 199
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 276
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 307
CyclomaticComplexity The method 'doModifyField(HttpServletRequest)' has a cyclomatic complexity of 11. 3 327390
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 329
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 331
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 333
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 334
ConfusingTernary Avoid if (x != y) ..; else ..; 3 353387
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 374
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 399
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 434
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 435
CyclomaticComplexity The method 'doMoveField(HttpServletRequest, boolean)' has a cyclomatic complexity of 10. 3 504549
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 506
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 507
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 508
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 509
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 565
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 566
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 567

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormResponseDetailsJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34685
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.user.AdminUser' 4 80
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AdminUserService' 4 83
TooManyMethods This class has too many methods, consider refactoring it. 3 103685
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 154
FieldNamingConventions The final field name '_formsMultiviewAuthorizationService' doesn't match '[a-z][a-zA-Z0-9]*' 1 155
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 268
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 326
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 412
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 445
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 461
ConfusingTernary Avoid if (x != y) ..; else ..; 3 472482
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 501
ConfusingTernary Avoid if (x != y) ..; else ..; 3 513
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 548
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 551
ConfusingTernary Avoid if (x != y) ..; else ..; 3 637651
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 640

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormWorkflowRedirectionEnum.java

Rule Violation Priority Line
FieldNamingConventions The constant name '_mapValueNames' doesn't match '[A-Z][A-Z_0-9]*' 1 49
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 49

fr/paris/lutece/plugins/forms/web/admin/MultiviewFormsJspBean.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34687
TooManyMethods This class has too many methods, consider refactoring it. 3 107687
ImmutableField Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. 3 161
CyclomaticComplexity The method 'getMultiviewFormsView(HttpServletRequest)' has a cyclomatic complexity of 10. 3 171250
NPathComplexity The method 'getMultiviewFormsView(HttpServletRequest)' has an NPath complexity of 216 3 171250
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 311
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 354
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 4 435
EmptyCatchBlock Avoid empty catch blocks 3 437440
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 4 493
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 514
ConfusingTernary Avoid if (x != y) ..; else ..; 3 612619
ConfusingTernary Avoid if (x != y) ..; else ..; 3 633637
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'FormsConstants.PARAMETER_ID_FORM' due to existing static import 'fr.paris.lutece.plugins.forms.util.FormsConstants.PARAMETER_ID_FORM' 4 652

fr/paris/lutece/plugins/forms/web/breadcrumb/BreadcrumbManager.java

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

fr/paris/lutece/plugins/forms/web/breadcrumb/HorizontalBreadcrumb.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strBreadcrumbBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
FieldNamingConventions The final field name '_strBreadcrumbDisplayBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 94

fr/paris/lutece/plugins/forms/web/breadcrumb/VerticalBreadcrumb.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.forms.business.StepHome' 4 43
FieldNamingConventions The final field name '_strBreadcrumbBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The final field name '_strBreadcrumbDisplayBeanName' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 97
UnusedPrivateMethod Avoid unused private methods such as 'getCurrentStepIndex(List,int)'. 3 120

fr/paris/lutece/plugins/forms/web/entrytype/DisplayType.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_mode' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The final field name '_bIsFront' doesn't match '[a-z][a-zA-Z0-9]*' 1 64

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeCommentDisplayService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4979
CommentRequired Public method and constructor comments are required 3 5558
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 68

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDateDisplayService.java

Rule Violation Priority Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 62
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 8692

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDefaultDataService.java

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

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeDefaultDisplayService.java

Rule Violation Priority Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 57
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 7984

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeFileDisplayService.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.file.FileHome' 4 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.physicalfile.PhysicalFileHome' 4 58
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 71
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 95101

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeGeolocDisplayService.java

Rule Violation Priority Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 57
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 7984

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeMyLuteceUserAttributeDisplayService.java

Rule Violation Priority Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 61
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 8798
EmptyCatchBlock Avoid empty catch blocks 3 117120

fr/paris/lutece/plugins/forms/web/entrytype/EntryTypeTelephoneDisplayService.java

Rule Violation Priority Line
ImmutableField Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. 3 58
LinguisticNaming Linguistics Antipattern - The setter 'setModel' should not return any type except void linguistically 3 8288

fr/paris/lutece/plugins/forms/web/exception/CodeAlreadyExistsException.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 42
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4447
CommentRequired Public method and constructor comments are required 3 4447

fr/paris/lutece/plugins/forms/web/file/FormsDownloadFile.java

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

fr/paris/lutece/plugins/forms/web/file/FormsFileImageService.java

Rule Violation Priority Line
FieldNamingConventions The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' 1 172
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 172

fr/paris/lutece/plugins/forms/web/form/FormDisplayFactory.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 65302
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 191195
ConfusingTernary Avoid if (x != y) ..; else ..; 3 278297
ConfusingTernary Avoid if (x != y) ..; else ..; 3 284296

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntry.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 79
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 96
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 100
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 140
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 153

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntryCartography.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'java.util.Arrays' 4 36
UnusedImports Avoid unused imports such as 'java.util.List' 4 38
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 73
UnusedLocalVariable Avoid unused local variables such as 'strEntryGeoJSON'. 3 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 104
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'objEntryGeoJSON' 3 139

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayEntryGeolocation.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayFormResponseDateCreation.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayFormResponseDateUpdate.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayForms.java

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

fr/paris/lutece/plugins/forms/web/form/column/display/impl/FormColumnDisplayWorkflowState.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/AbstractFormFilterDisplay.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayEntry.java

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

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayFormResponseDate.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like TO 3 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 112
ShortVariable Avoid variables with short names like m 3 150
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 161

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayForms.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 99
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 112
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 138
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 140
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 149
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 152

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplaySearchedText.java

Rule Violation Priority Line
ImmutableField Private field '_formSearchEngine' could be made final; it is only initialized in the declaration or constructor. 3 69
CommentRequired Public method and constructor comments are required 3 7174
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7174
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 100
UselessStringValueOf No need to call String.valueOf to append to a string. 3 110
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 129

fr/paris/lutece/plugins/forms/web/form/filter/display/impl/FormFilterDisplayWorkflowState.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 101
ConfusingTernary Avoid if (x != y) ..; else ..; 3 128144
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 139

fr/paris/lutece/plugins/forms/web/form/multiview/util/FormColumnLineTemplate.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/plugins/forms/web/form/multiview/util/FormListTemplateBuilder.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=53, ATFD=42, TCC=0.735%) 3 69522
TooManyMethods This class has too many methods, consider refactoring it. 3 70522
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 132
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 235
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 236
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 241
UnusedFormalParameter Avoid unused method parameters such as 'formColumnlineTemplate'. 3 264
UnusedFormalParameter Avoid unused method parameters such as 'strRedirectionDetailsBaseUrl'. 3 264
ConfusingTernary Avoid if (x != y) ..; else ..; 3 270277
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 282

fr/paris/lutece/plugins/forms/web/form/panel/display/impl/AbstractFormPanelDisplay.java

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

fr/paris/lutece/plugins/forms/web/form/panel/display/initializer/impl/FormPanelFormResponseIdFilterDisplayInitialiser.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4355
CommentRequired Protected method constructor comments are required 3 54

fr/paris/lutece/plugins/forms/web/form/response/view/FormResponseViewModelProcessorFactory.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_listFormResponseViewModelProcessor' doesn't match '[a-z][a-zA-Z0-9]*' 1 46

fr/paris/lutece/plugins/forms/web/http/IterationHttpServletRequestWrapper.java

Rule Violation Priority Line
ImmutableField Private field '_strIterationParameterName' could be made final; it is only initialized in the declaration or constructor. 3 52
MissingOverride The method 'getParameterValues(String)' is missing an @Override annotation. 3 7275
MethodReturnsInternalArray Returning '_strIterationParameterName' may expose an internal array. 3 74
MissingOverride The method 'getParameter(String)' is missing an @Override annotation. 3 8083

fr/paris/lutece/plugins/forms/web/http/SynchronousHttpServletRequestWrapper.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4398
FieldNamingConventions The final field name '_modifiableParameters' doesn't match '[a-z][a-zA-Z0-9]*' 1 45
RedundantFieldInitializer Avoid using redundant field initializer for '_allParameters' 3 46