Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name '_formQuestionEntryResponseDAO' doesn't match '[A-Z][A-Z_0-9]*' | 73 |
Rule | Violation | Ligne |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 107 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 8 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 39–173 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 42–108 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_listFormColumnCell' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'LuceneQueryBuilder' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 49–96 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strSortKey' doesn't match '[a-z][a-zA-Z0-9]*' | 53 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_formColumn' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_formListDAO' doesn't match '[a-z][a-zA-Z0-9]*' | 55 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_listFormPanelConfiguration' doesn't match '[a-z][a-zA-Z0-9]*' | 50 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormPanelInitializerQueryBuilder' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 47–83 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_listFormatExport' doesn't match '[a-z][a-zA-Z0-9]*' | 66 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_listQuestionColumns' doesn't match '[a-z][a-zA-Z0-9]*' | 53 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_csvHeader' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_formTitle' doesn't match '[a-z][a-zA-Z0-9]*' | 76 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 56–130 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' | 163 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_formDatabaseService' doesn't match '[a-z][a-zA-Z0-9]*' | 78 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 78–237 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormEntryNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–62 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewFormResponseDateCreationNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–52 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewFormsNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–58 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewWorkflowStateNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–54 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'FormsConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 44–265 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 62–545 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 42–65 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'ControlListenerManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 44–96 |
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'IsRequestComingFromAction' doesn't match '_[a-z][a-zA-Z0-9]*' | 156 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 151 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 206 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name '_formService' doesn't match '[A-Z][A-Z_0-9]*' | 130 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_formsMultiviewAuthorizationService' doesn't match '[a-z][a-zA-Z0-9]*' | 155 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name '_mapValueNames' doesn't match '[A-Z][A-Z_0-9]*' | 49 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'BreadcrumbManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 42–67 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name '_singleton' doesn't match '[A-Z][A-Z_0-9]*' | 172 |
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 65–302 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_listFormResponseViewModelProcessor' doesn't match '[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_modifiableParameters' doesn't match '[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Ligne |
---|---|---|
ProperCloneImplementation | Object clone() should be implemented with super.clone() | 201 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'strSqlQuery' | 243 |
Rule | Violation | Ligne |
---|---|---|
ProperCloneImplementation | Object clone() should be implemented with super.clone() | 331 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'strValue' | 103 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIdForm' | 172 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIdForm' | 228 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'additionnalData' | 68 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'additionnalData' | 86 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'bCreateIndex' | 89 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIterationNumber' | 55 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'controlGroup' | 339 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'controlGroup' | 339 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'controlGroup' | 339 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 3–45 |
CommentRequired | Public method and constructor comments are required | 11–12 |
UncommentedEmptyConstructor | Document empty constructor | 11–12 |
CommentRequired | Public method and constructor comments are required | 14–19 |
CommentRequired | Public method and constructor comments are required | 21–23 |
CommentRequired | Public method and constructor comments are required | 25–27 |
CommentRequired | Public method and constructor comments are required | 29–31 |
CommentRequired | Public method and constructor comments are required | 33–35 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 187–189 |
CommentRequired | Public method and constructor comments are required | 191–193 |
CloneThrowsCloneNotSupportedException | clone() method should throw CloneNotSupportedException | 201–224 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 50–431 |
Rule | Violation | Ligne |
---|---|---|
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 | 224–226 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 246 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 81–86 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'ControlMapping' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 36–93 |
CommentRequired | Header comments are required | 36–93 |
Rule | Violation | Ligne |
---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 34–813 |
TooManyFields | Too many fields | 55–813 |
GodClass | Possible God Class (WMC=79, ATFD=10, TCC=1.798%) | 55–813 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the Form constructor if you want a default access modifier | 149–178 |
SimplifyBooleanReturns | Avoid unnecessary if..then..else statements when returning booleans | 808–810 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 55–393 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 98–105 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 182–189 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–320 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 55–724 |
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 | 225–226 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 231 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 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 | 428–431 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 444–445 |
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 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 47–300 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 143–147 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 50–402 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 53–386 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 46–227 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 46–241 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–68 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 44–197 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 43–185 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 44–201 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 44–160 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 44–175 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Enum comments are required | 3–18 |
CommentRequired | Public method and constructor comments are required | 14–16 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–173 |
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 | 76–79 |
CommentRequired | Public method and constructor comments are required | 138–141 |
CommentRequired | Public method and constructor comments are required | 143–146 |
CommentRequired | Public method and constructor comments are required | 148–150 |
CommentRequired | Public method and constructor comments are required | 152–154 |
Rule | Violation | Ligne |
---|---|---|
TooManyFields | Too many fields | 48–532 |
CommentRequired | Public method and constructor comments are required | 507–509 |
CommentRequired | Public method and constructor comments are required | 511–513 |
ShortVariable | Avoid variables with short names like o | 516 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 53–474 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–294 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–313 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 47–92 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 36–129 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–144 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–108 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–91 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 48 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 47 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–53 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 103–106 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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. | 76–83 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 65 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–61 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 49 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–61 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 49 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–62 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 50 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 53 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'FormFilter' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 42–79 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 46–62 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 49 |
Rule | Violation | Ligne |
---|---|---|
MissingOverride | The method 'getPosition()' is missing an @Override annotation. | 72–75 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 47–50 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 50–54 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 45–68 |
CommentRequired | Public method and constructor comments are required | 48–51 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 48–51 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 48–51 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 61–75 |
Rule | Violation | Ligne |
---|---|---|
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 ..; | 126–133 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 56–90 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 69 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 57–74 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 61 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 59–72 |
Rule | Violation | Ligne |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'RESOURCE_TYPE': the field is declared in an interface type | 48 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 44–58 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 345 |
Rule | Violation | Ligne |
---|---|---|
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 60–75 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 16–90 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 3–41 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 57–122 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_configList' | 74 |
CommentRequired | Protected method constructor comments are required | 99–113 |
CommentRequired | Protected method constructor comments are required | 115–120 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 117 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 118 |
Rule | Violation | Ligne |
---|---|---|
AccessorClassGeneration | Avoid instantiation through private constructors from outside of the constructors class. | 129 |
CommentRequired | Public method and constructor comments are required | 132–152 |
CommentRequired | Public method and constructor comments are required | 154–178 |
CommentRequired | Public method and constructor comments are required | 180–213 |
Rule | Violation | Ligne |
---|---|---|
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 | 93–118 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 97 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 110–113 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 127 |
Rule | Violation | Ligne |
---|---|---|
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 133 |
Rule | Violation | Ligne |
---|---|---|
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 | 118–133 |
Rule | Violation | Ligne |
---|---|---|
DefaultPackage | Use explicit scoping instead of the default package private level | 103–109 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the safeString method if you want a default access modifier | 103–109 |
Rule | Violation | Ligne |
---|---|---|
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 | 64–67 |
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 | 85–90 |
CommentRequired | Public method and constructor comments are required | 99–111 |
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 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–406 |
CommentRequired | Header comments are required | 62–406 |
GodClass | Possible God Class (WMC=51, ATFD=47, TCC=1.515%) | 62–406 |
CommentRequired | Protected method constructor comments are required | 78–82 |
SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 84 |
CommentRequired | Protected method constructor comments are required | 84–92 |
CommentRequired | Protected method constructor comments are required | 94–105 |
SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 94 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 239–248 |
CyclomaticComplexity | The method 'getResponseValue(FormQuestionResponse, int)' has a cyclomatic complexity of 19. | 310–386 |
NPathComplexity | The method 'getResponseValue(FormQuestionResponse, int)' has an NPath complexity of 2166 | 310–386 |
CollapsibleIfStatements | These nested if statements could be combined | 349–365 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 376 |
CommentRequired | Protected method constructor comments are required | 388–404 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–251 |
CommentRequired | Header comments are required | 73–251 |
CommentRequired | Public method and constructor comments are required | 78–104 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 191–195 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 191 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 194 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–127 |
DataClass | The class 'PdfCell' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) | 38–127 |
CommentRequired | Public method and constructor comments are required | 123–126 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 61–187 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_hasMultipleFiles' | 65 |
CommentRequired | Protected method constructor comments are required | 67–71 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 47–163 |
ShortVariable | Avoid variables with short names like y | 64 |
CommentRequired | Public method and constructor comments are required | 150–162 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 47–95 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 67–230 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_hasMultipleFiles' | 69 |
CommentRequired | Protected method constructor comments are required | 71–75 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 50–251 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_formDatabaseService' | 55 |
CommentRequired | Protected method constructor comments are required | 250 |
Rule | Violation | Ligne |
---|---|---|
AccessorClassGeneration | Avoid instantiation through private constructors from outside of the constructors class. | 184 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 48–58 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 55–226 |
TooManyMethods | This class has too many methods, consider refactoring it. | 56–226 |
Rule | Violation | Ligne |
---|---|---|
MissingOverride | The method 'deleteDisplayAndDescendants(int)' is missing an @Override annotation. | 66–119 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 92–94 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 49–116 |
Rule | Violation | Ligne |
---|---|---|
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 | 67–75 |
NonThreadSafeSingleton | Singleton is not thread safe | 69–72 |
CommentRequired | Public method and constructor comments are required | 77–81 |
CommentRequired | Public method and constructor comments are required | 83–87 |
CommentRequired | Public method and constructor comments are required | 101–129 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 122 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–681 |
GodClass | Possible God Class (WMC=64, ATFD=84, TCC=0.308%) | 100–681 |
TooManyMethods | This class has too many methods, consider refactoring it. | 101–681 |
CyclomaticComplexity | The method 'saveForm(Form, FormResponse)' has a cyclomatic complexity of 12. | 118–158 |
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 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 142 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'FormsResourceIdService' is suspected to be a Data Class (WOC=0.000%, NOPA=13, NOAM=0, WMC=1) | 52–183 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 47–265 |
TooManyMethods | This class has too many methods, consider refactoring it. | 48–265 |
CommentRequired | Public method and constructor comments are required | 264 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–128 |
CommentRequired | Public method and constructor comments are required | 93 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–384 |
CommentRequired | Public method and constructor comments are required | 124–129 |
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. | 228–273 |
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 ..; | 291–305 |
Rule | Violation | Ligne |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 114 |
CommentRequired | Public method and constructor comments are required | 174–177 |
CommentRequired | Public method and constructor comments are required | 179–186 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–162 |
CommentRequired | Public method and constructor comments are required | 61–64 |
CommentRequired | Public method and constructor comments are required | 66–69 |
CommentRequired | Public method and constructor comments are required | 71–74 |
CommentRequired | Public method and constructor comments are required | 76–79 |
CommentRequired | Public method and constructor comments are required | 81–84 |
CommentRequired | Public method and constructor comments are required | 86–90 |
CommentRequired | Public method and constructor comments are required | 92–96 |
CommentRequired | Public method and constructor comments are required | 98–101 |
CommentRequired | Public method and constructor comments are required | 103–106 |
CommentRequired | Public method and constructor comments are required | 108–112 |
CommentRequired | Public method and constructor comments are required | 114–117 |
CommentRequired | Public method and constructor comments are required | 119–122 |
CommentRequired | Public method and constructor comments are required | 124–127 |
CommentRequired | Public method and constructor comments are required | 129–132 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–131 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 49–81 |
ShortVariable | Avoid variables with short names like bo | 57 |
Rule | Violation | Ligne |
---|---|---|
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 312 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–99 |
Rule | Violation | Ligne |
---|---|---|
CyclomaticComplexity | The method 'isResponseChanged(List, List)' has a cyclomatic complexity of 11. | 107–151 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 114 |
Rule | Violation | Ligne |
---|---|---|
CyclomaticComplexity | The method 'getResponseValueForExport(Entry, HttpServletRequest, Response, Locale)' has a cyclomatic complexity of 10. | 136–171 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 153–162 |
Rule | Violation | Ligne |
---|---|---|
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 211 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 9–84 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–407 |
CommentRequired | Header comments are required | 74–407 |
GodClass | Possible God Class (WMC=49, ATFD=55, TCC=10.458%) | 74–407 |
TooManyMethods | This class has too many methods, consider refactoring it. | 75–407 |
CommentRequired | Protected method constructor comments are required | 81–89 |
CommentRequired | Public method and constructor comments are required | 159–183 |
CommentRequired | Protected method constructor comments are required | 185–207 |
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 | 209–242 |
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 | 244–258 |
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 | 260–283 |
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 | 285–302 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 50–234 |
DataClass | The class 'FormJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=20, WMC=20) | 50–234 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–237 |
CommentRequired | Public method and constructor comments are required | 89–92 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 208 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–157 |
DataClass | The class 'StepJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 46–157 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–58 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–59 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 45–105 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–271 |
CommentRequired | Header comments are required | 72–271 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 72–271 |
CyclomaticComplexity | The method 'getValuesModel(FormResponse, HttpServletRequest)' has a cyclomatic complexity of 16. | 112–196 |
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 | 126–144 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 131–141 |
CollapsibleIfStatements | These nested if statements could be combined | 134–140 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 208 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–86 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 36–61 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 44–78 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–51 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'provideFields': the method is declared in an interface type | 50 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–254 |
CommentRequired | Header comments are required | 72–254 |
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 | 135–140 |
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 ..; | 194–201 |
Rule | Violation | Ligne |
---|---|---|
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 65 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–796 |
GodClass | Possible God Class (WMC=54, ATFD=112, TCC=6.884%) | 100–796 |
TooManyMethods | This class has too many methods, consider refactoring it. | 101–796 |
CommentRequired | Public method and constructor comments are required | 119–122 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 207–253 |
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 | 291–348 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 406–415 |
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. | 570–713 |
NcssCount | The method 'getDocument(FormResponse, Form, State)' has a NCSS line count of 76. | 570–713 |
ExcessiveMethodLength | Avoid really long methods. | 570–713 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 650–705 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 60–63 |
Rule | Violation | Ligne |
---|---|---|
AvoidDuplicateLiterals | The String literal "id_parent" appears 4 times in this file; the first occurrence is on line 57 | 57 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–545 |
CommentRequired | Header comments are required | 62–545 |
GodClass | Possible God Class (WMC=68, ATFD=106, TCC=0.526%) | 62–545 |
TooManyMethods | This class has too many methods, consider refactoring it. | 63–545 |
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 | 209–212 |
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. | 293–380 |
NPathComplexity | The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has an NPath complexity of 1098 | 293–380 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 302–315 |
CommentRequired | Public method and constructor comments are required | 382–386 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 382–386 |
CommentRequired | Public method and constructor comments are required | 470–473 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 539 |
Rule | Violation | Ligne |
---|---|---|
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 18 characters appended. | 60 |
Rule | Violation | Ligne |
---|---|---|
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 58 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 61–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 63–73 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 77–84 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 53–130 |
CommentRequired | Public method and constructor comments are required | 62–65 |
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 15–77 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 56–128 |
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 | 65–68 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–168 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–70 |
CommentRequired | Public method and constructor comments are required | 42–45 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–70 |
CommentRequired | Public method and constructor comments are required | 42–45 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 75 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 88 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 75 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–94 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 71–74 |
Rule | Violation | Ligne |
---|---|---|
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 | 105–108 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 144 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 6–38 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 7–41 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 70–557 |
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 | 262–300 |
CyclomaticComplexity | The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. | 262–300 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 469 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–625 |
CyclomaticComplexity | The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a cyclomatic complexity of 18. | 193–285 |
NcssCount | The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a NCSS line count of 60. | 193–285 |
NPathComplexity | The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has an NPath complexity of 1076 | 193–285 |
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 | 239–241 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 248–259 |
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. | 380–420 |
NPathComplexity | The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 | 380–420 |
CyclomaticComplexity | The method 'setQuestionVisibility(List, DisplayType)' has a cyclomatic complexity of 11. | 455–499 |
NPathComplexity | The method 'setQuestionVisibility(List, DisplayType)' has an NPath complexity of 576 | 455–499 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 560 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–112 |
Rule | Violation | Ligne |
---|---|---|
GodClass | Possible God Class (WMC=49, ATFD=34, TCC=26.667%) | 54–429 |
TooManyMethods | This class has too many methods, consider refactoring it. | 55–429 |
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 | 157–161 |
CommentRequired | Public method and constructor comments are required | 171–173 |
CommentRequired | Public method and constructor comments are required | 182–184 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–305 |
CommentRequired | Public method and constructor comments are required | 119–139 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 141 |
CommentRequired | Public method and constructor comments are required | 142–193 |
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 ..; | 285–292 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–1345 |
ExcessiveClassLength | Avoid really long classes. | 98–1345 |
TooManyMethods | This class has too many methods, consider refactoring it. | 99–1345 |
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. | 224–253 |
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 | 267–370 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 267–370 |
ExcessiveMethodLength | Avoid really long methods. | 267–370 |
CyclomaticComplexity | The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 25. | 267–370 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 303–305 |
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 | 423–439 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 451 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 452–492 |
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 | 505–542 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 509 |
EmptyCatchBlock | Avoid empty catch blocks | 530–533 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 554 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 555–582 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 649 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 650–682 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 696 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 697–729 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 798–812 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 888 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 889–941 |
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 | 965–1019 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 1034 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 1035–1065 |
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 | 1079–1109 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 1122 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 1123–1153 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 1166 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 1167–1250 |
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 ..; | 1216–1246 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 67–127 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 153 |
Rule | Violation | Ligne |
---|---|---|
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 ..; | 264–277 |
NPathComplexity | The method 'findTemplateFor(DisplayType)' has an NPath complexity of 512 | 297–341 |
CyclomaticComplexity | The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. | 297–341 |
Rule | Violation | Ligne |
---|---|---|
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 191 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–922 |
CommentRequired | Header comments are required | 82–922 |
CyclomaticComplexity | The class 'AbstractFormQuestionJspBean' has a total cyclomatic complexity of 111 (highest 21). | 82–922 |
TooManyMethods | This class has too many methods, consider refactoring it. | 83–922 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nIdParentSelected' | 171 |
CyclomaticComplexity | The method 'processQuestionCreation(HttpServletRequest, String)' has a cyclomatic complexity of 12. | 182–260 |
NPathComplexity | The method 'processQuestionCreation(HttpServletRequest, String)' has an NPath complexity of 576 | 182–260 |
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. | 269–332 |
NPathComplexity | The method 'processQuestionUpdate(HttpServletRequest)' has an NPath complexity of 288 | 269–332 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 310–319 |
CommentRequired | Protected method constructor comments are required | 334–379 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 344 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 356–375 |
CommentRequired | Protected method constructor comments are required | 381–410 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 390 |
CommentRequired | Protected method constructor comments are required | 412–437 |
CommentRequired | Protected method constructor comments are required | 439–464 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 442 |
CommentRequired | Protected method constructor comments are required | 466–517 |
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. | 519–599 |
CommentRequired | Protected method constructor comments are required | 519–599 |
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 | 601–714 |
NPathComplexity | The method 'initMoveCompositeModel(HttpServletRequest)' has an NPath complexity of 103680 | 601–714 |
ExcessiveMethodLength | Avoid really long methods. | 601–714 |
CyclomaticComplexity | The method 'initMoveCompositeModel(HttpServletRequest)' has a cyclomatic complexity of 21. | 601–714 |
NcssCount | The method 'initMoveCompositeModel(HttpServletRequest)' has a NCSS line count of 62. | 601–714 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Protected method constructor comments are required | 89–95 |
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 | 247–255 |
CommentRequired | Protected method constructor comments are required | 257–263 |
Rule | Violation | Ligne |
---|---|---|
ImmutableField | Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. | 109 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–823 |
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 ..; | 342–349 |
CommentRequired | Public method and constructor comments are required | 362–394 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 383–390 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 424–431 |
NPathComplexity | The method 'buildControlModel(HttpServletRequest, Map)' has an NPath complexity of 161280 | 444–568 |
ExcessiveMethodLength | Avoid really long methods. | 444–568 |
NcssCount | The method 'buildControlModel(HttpServletRequest, Map)' has a NCSS line count of 74. | 444–568 |
CyclomaticComplexity | The method 'buildControlModel(HttpServletRequest, Map)' has a cyclomatic complexity of 28. | 444–568 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 491–498 |
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 ..; | 655–669 |
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 64–440 |
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_ID_QUESTION'. | 100 |
CommentRequired | Public method and constructor comments are required | 108–149 |
CommentRequired | Public method and constructor comments are required | 152–186 |
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 | 189–229 |
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 | 232–264 |
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 | 267–297 |
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 | 300–335 |
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 | 338–373 |
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 | 376–411 |
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 | 429–431 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 434 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–888 |
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 | 545–553 |
CommentRequired | Public method and constructor comments are required | 587–616 |
CommentRequired | Public method and constructor comments are required | 847–868 |
CommentRequired | Public method and constructor comments are required | 871–887 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 69–250 |
CommentRequired | Public method and constructor comments are required | 110–153 |
CommentRequired | Public method and constructor comments are required | 156–190 |
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 | 193–225 |
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 | 228–249 |
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 | 240–242 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 245 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–782 |
TooManyMethods | This class has too many methods, consider refactoring it. | 94–782 |
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 ..; | 312–319 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 349–351 |
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 ..; | 420–427 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 480 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 490–497 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 501 |
CommentRequired | Public method and constructor comments are required | 502–523 |
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 | 533–587 |
CyclomaticComplexity | The method 'getConfirmRemoveComposite(HttpServletRequest)' has a cyclomatic complexity of 13. | 533–587 |
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. | 708–769 |
NPathComplexity | The method 'doMoveComposite(HttpServletRequest)' has an NPath complexity of 864 | 708–769 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 740 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–703 |
CommentRequired | Header comments are required | 41–703 |
TooManyMethods | This class has too many methods, consider refactoring it. | 42–703 |
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 | 96–177 |
CyclomaticComplexity | The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 13. | 96–177 |
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 | 396–410 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 419 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 420–440 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 449 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 450–482 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 467–475 |
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 | 600–610 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 647–661 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–624 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 250 |
CommentRequired | Public method and constructor comments are required | 555–583 |
CommentRequired | Public method and constructor comments are required | 586–606 |
CommentRequired | Public method and constructor comments are required | 609–623 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–629 |
TooManyMethods | This class has too many methods, consider refactoring it. | 75–629 |
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 ..; | 212–219 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 248–255 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 456–470 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 60–147 |
CommentRequired | Public method and constructor comments are required | 85–111 |
CommentRequired | Public method and constructor comments are required | 114–146 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 142 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–686 |
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. | 327–390 |
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 ..; | 353–387 |
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. | 504–549 |
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 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–685 |
TooManyMethods | This class has too many methods, consider refactoring it. | 103–685 |
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 ..; | 472–482 |
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 ..; | 637–651 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 640 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 49 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–687 |
TooManyMethods | This class has too many methods, consider refactoring it. | 107–687 |
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. | 171–250 |
NPathComplexity | The method 'getMultiviewFormsView(HttpServletRequest)' has an NPath complexity of 216 | 171–250 |
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 | 437–440 |
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 ..; | 612–619 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 633–637 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 94 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 49–79 |
CommentRequired | Public method and constructor comments are required | 55–58 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 68 |
Rule | Violation | Ligne |
---|---|---|
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 | 86–92 |
Rule | Violation | Ligne |
---|---|---|
ImmutableField | Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. | 66 |
Rule | Violation | Ligne |
---|---|---|
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 | 79–84 |
Rule | Violation | Ligne |
---|---|---|
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 | 95–101 |
Rule | Violation | Ligne |
---|---|---|
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 | 79–84 |
Rule | Violation | Ligne |
---|---|---|
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 | 87–98 |
EmptyCatchBlock | Avoid empty catch blocks | 117–120 |
Rule | Violation | Ligne |
---|---|---|
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 | 82–88 |
Rule | Violation | Ligne |
---|---|---|
CallSuperInConstructor | It is a good practice to call super() in a constructor | 44–47 |
CommentRequired | Public method and constructor comments are required | 44–47 |
Rule | Violation | Ligne |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 122 |
Rule | Violation | Ligne |
---|---|---|
AccessorClassGeneration | Avoid instantiation through private constructors from outside of the constructors class. | 172 |
Rule | Violation | Ligne |
---|---|---|
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 191–195 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 278–297 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 284–296 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 204 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 91 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 | 71–74 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 71–74 |
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 |
Rule | Violation | Ligne |
---|---|---|
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 ..; | 128–144 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 139 |
Rule | Violation | Ligne |
---|---|---|
GodClass | Possible God Class (WMC=53, ATFD=42, TCC=0.735%) | 69–522 |
TooManyMethods | This class has too many methods, consider refactoring it. | 70–522 |
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 ..; | 270–277 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 282 |
Rule | Violation | Ligne |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 219 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–55 |
CommentRequired | Protected method constructor comments are required | 54 |
Rule | Violation | Ligne |
---|---|---|
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. | 72–75 |
MethodReturnsInternalArray | Returning '_strIterationParameterName' may expose an internal array. | 74 |
MissingOverride | The method 'getParameter(String)' is missing an @Override annotation. | 80–83 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–98 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_allParameters' | 46 |
Rule | Violation | Ligne |
---|---|---|
ShortClassName | Avoid short class names like Form | 55–813 |
Rule | Violation | Ligne |
---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 90–93 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
ShortClassName | Avoid short class names like Step | 43–184 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.OutputStream' | 38 |
UnusedImports | Avoid unused imports such as 'java.nio.file.Files' | 39 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeGeolocation' | 41 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.EntryTypeServiceManager' | 45 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.time.LocalDateTime' | 37 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.image.ImageResourceManager' | 77 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.forms.business.StepHome' | 43 |
Rule | Violation | Ligne |
---|---|---|
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 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Arrays' | 36 |
UnusedImports | Avoid unused imports such as 'java.util.List' | 38 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 3–45 |
CommentRequired | Public method and constructor comments are required | 3 | 11–12 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 11–12 |
CommentRequired | Public method and constructor comments are required | 3 | 14–19 |
CommentRequired | Public method and constructor comments are required | 3 | 21–23 |
CommentRequired | Public method and constructor comments are required | 3 | 25–27 |
CommentRequired | Public method and constructor comments are required | 3 | 29–31 |
CommentRequired | Public method and constructor comments are required | 3 | 33–35 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 187–189 |
CommentRequired | Public method and constructor comments are required | 3 | 191–193 |
CloneThrowsCloneNotSupportedException | clone() method should throw CloneNotSupportedException | 3 | 201–224 |
ProperCloneImplementation | Object clone() should be implemented with super.clone() | 2 | 201 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 50–431 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 224–226 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 246 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 81–86 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'ControlMapping' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 36–93 |
CommentRequired | Header comments are required | 3 | 36–93 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 3 | 34–813 |
TooManyFields | Too many fields | 3 | 55–813 |
GodClass | Possible God Class (WMC=79, ATFD=10, TCC=1.798%) | 3 | 55–813 |
ShortClassName | Avoid short class names like Form | 4 | 55–813 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the Form constructor if you want a default access modifier | 3 | 149–178 |
SimplifyBooleanReturns | Avoid unnecessary if..then..else statements when returning booleans | 3 | 808–810 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–393 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 98–105 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 182–189 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'strSqlQuery' | 2 | 243 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–320 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 90–93 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–724 |
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 | 225–226 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 231 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 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 | 428–431 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 444–445 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 47–300 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 143–147 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 50–402 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–386 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 46–227 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 46–241 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 107 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–68 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–197 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 43–185 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–201 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–160 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–175 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 3–18 |
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 | 14–16 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 39–173 |
CommentRequired | Header comments are required | 3 | 39–173 |
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 | 76–79 |
CommentRequired | Public method and constructor comments are required | 3 | 138–141 |
CommentRequired | Public method and constructor comments are required | 3 | 143–146 |
CommentRequired | Public method and constructor comments are required | 3 | 148–150 |
CommentRequired | Public method and constructor comments are required | 3 | 152–154 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyFields | Too many fields | 3 | 48–532 |
ProperCloneImplementation | Object clone() should be implemented with super.clone() | 2 | 331 |
CommentRequired | Public method and constructor comments are required | 3 | 507–509 |
CommentRequired | Public method and constructor comments are required | 3 | 511–513 |
ShortVariable | Avoid variables with short names like o | 3 | 516 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–474 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ShortClassName | Avoid short class names like Step | 4 | 43–184 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–294 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–313 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 47–92 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–129 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–144 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–108 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 42–108 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–91 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 48 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_listFormColumnCell' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 48 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'LuceneQueryBuilder' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 49–96 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 47 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_strSortKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 53 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–53 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 103–106 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 76–83 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 65 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–61 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 49 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–61 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 49 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–62 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 50 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 53 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'FormFilter' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 42–79 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 46–62 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 49 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 72–75 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 47–50 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 50–54 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–68 |
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 61–75 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 126–133 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 56–90 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 3 | 69 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 57–74 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 61 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 59–72 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_formListDAO' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 55 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_listFormPanelConfiguration' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 50 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'RESOURCE_TYPE': the field is declared in an interface type | 3 | 48 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormPanelInitializerQueryBuilder' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 47–83 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 345 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 60–75 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 16–90 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 3–41 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 57–122 |
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 | 99–113 |
CommentRequired | Protected method constructor comments are required | 3 | 115–120 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 117 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 118 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 132–152 |
CommentRequired | Public method and constructor comments are required | 3 | 154–178 |
CommentRequired | Public method and constructor comments are required | 3 | 180–213 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 93–118 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 97 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 110–113 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 127 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 133 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 118–133 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 103–109 |
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 | 103–109 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 64–67 |
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 | 85–90 |
CommentRequired | Public method and constructor comments are required | 3 | 99–111 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–406 |
CommentRequired | Header comments are required | 3 | 62–406 |
GodClass | Possible God Class (WMC=51, ATFD=47, TCC=1.515%) | 3 | 62–406 |
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 | 78–82 |
SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 3 | 84 |
CommentRequired | Protected method constructor comments are required | 3 | 84–92 |
CommentRequired | Protected method constructor comments are required | 3 | 94–105 |
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 | 239–248 |
CyclomaticComplexity | The method 'getResponseValue(FormQuestionResponse, int)' has a cyclomatic complexity of 19. | 3 | 310–386 |
NPathComplexity | The method 'getResponseValue(FormQuestionResponse, int)' has an NPath complexity of 2166 | 3 | 310–386 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 349–365 |
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 | 388–404 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–251 |
CommentRequired | Header comments are required | 3 | 73–251 |
CommentRequired | Public method and constructor comments are required | 3 | 78–104 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 191–195 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 191 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 194 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–127 |
DataClass | The class 'PdfCell' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) | 3 | 38–127 |
CommentRequired | Public method and constructor comments are required | 3 | 123–126 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 61–187 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_hasMultipleFiles' | 3 | 65 |
CommentRequired | Protected method constructor comments are required | 3 | 67–71 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 47–163 |
ShortVariable | Avoid variables with short names like y | 3 | 64 |
CommentRequired | Public method and constructor comments are required | 3 | 150–162 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 47–95 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–230 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_hasMultipleFiles' | 3 | 69 |
CommentRequired | Protected method constructor comments are required | 3 | 71–75 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 50–251 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_formDatabaseService' | 3 | 55 |
CommentRequired | Protected method constructor comments are required | 3 | 250 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 48–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 55–226 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 56–226 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingOverride | The method 'deleteDisplayAndDescendants(int)' is missing an @Override annotation. | 3 | 66–119 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 92–94 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–116 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 56–130 |
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 | 67–75 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 69–72 |
CommentRequired | Public method and constructor comments are required | 3 | 77–81 |
CommentRequired | Public method and constructor comments are required | 3 | 83–87 |
CommentRequired | Public method and constructor comments are required | 3 | 101–129 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 122 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–681 |
GodClass | Possible God Class (WMC=64, ATFD=84, TCC=0.308%) | 3 | 100–681 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 101–681 |
CyclomaticComplexity | The method 'saveForm(Form, FormResponse)' has a cyclomatic complexity of 12. | 3 | 118–158 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'FormsResourceIdService' is suspected to be a Data Class (WOC=0.000%, NOPA=13, NOAM=0, WMC=1) | 3 | 52–183 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 47–265 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–265 |
CommentRequired | Public method and constructor comments are required | 3 | 264 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–128 |
CommentRequired | Public method and constructor comments are required | 3 | 93 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–384 |
CommentRequired | Public method and constructor comments are required | 3 | 124–129 |
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 | 228–273 |
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 | 291–305 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 174–177 |
CommentRequired | Public method and constructor comments are required | 3 | 179–186 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–162 |
CommentRequired | Public method and constructor comments are required | 3 | 61–64 |
CommentRequired | Public method and constructor comments are required | 3 | 66–69 |
CommentRequired | Public method and constructor comments are required | 3 | 71–74 |
CommentRequired | Public method and constructor comments are required | 3 | 76–79 |
CommentRequired | Public method and constructor comments are required | 3 | 81–84 |
CommentRequired | Public method and constructor comments are required | 3 | 86–90 |
CommentRequired | Public method and constructor comments are required | 3 | 92–96 |
CommentRequired | Public method and constructor comments are required | 3 | 98–101 |
CommentRequired | Public method and constructor comments are required | 3 | 103–106 |
CommentRequired | Public method and constructor comments are required | 3 | 108–112 |
CommentRequired | Public method and constructor comments are required | 3 | 114–117 |
CommentRequired | Public method and constructor comments are required | 3 | 119–122 |
CommentRequired | Public method and constructor comments are required | 3 | 124–127 |
CommentRequired | Public method and constructor comments are required | 3 | 129–132 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–131 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–81 |
ShortVariable | Avoid variables with short names like bo | 3 | 57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 312 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–99 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeGeolocation' | 4 | 41 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CyclomaticComplexity | The method 'isResponseChanged(List, List)' has a cyclomatic complexity of 11. | 3 | 107–151 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 114 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CyclomaticComplexity | The method 'getResponseValueForExport(Entry, HttpServletRequest, Response, Locale)' has a cyclomatic complexity of 10. | 3 | 136–171 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 153–162 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 211 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 9–84 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–407 |
CommentRequired | Header comments are required | 3 | 74–407 |
GodClass | Possible God Class (WMC=49, ATFD=55, TCC=10.458%) | 3 | 74–407 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 75–407 |
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 | 81–89 |
CommentRequired | Public method and constructor comments are required | 3 | 159–183 |
CommentRequired | Protected method constructor comments are required | 3 | 185–207 |
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 | 209–242 |
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 | 244–258 |
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 | 260–283 |
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 | 285–302 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 50–234 |
DataClass | The class 'FormJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=20, WMC=20) | 3 | 50–234 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–237 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 78–237 |
CommentRequired | Public method and constructor comments are required | 3 | 89–92 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 208 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–157 |
DataClass | The class 'StepJsonData' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 3 | 46–157 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–58 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–59 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–105 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–271 |
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 | 72–271 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 72–271 |
CyclomaticComplexity | The method 'getValuesModel(FormResponse, HttpServletRequest)' has a cyclomatic complexity of 16. | 3 | 112–196 |
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 | 126–144 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 131–141 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 134–140 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 208 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–86 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–61 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–78 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–51 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'provideFields': the method is declared in an interface type | 3 | 50 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–254 |
CommentRequired | Header comments are required | 3 | 72–254 |
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 | 135–140 |
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 | 194–201 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 65 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'bCreateIndex' | 2 | 89 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–796 |
GodClass | Possible God Class (WMC=54, ATFD=112, TCC=6.884%) | 3 | 100–796 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 101–796 |
CommentRequired | Public method and constructor comments are required | 3 | 119–122 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 207–253 |
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 | 291–348 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 406–415 |
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 | 570–713 |
NcssCount | The method 'getDocument(FormResponse, Form, State)' has a NCSS line count of 76. | 3 | 570–713 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 570–713 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 650–705 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 60–63 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormEntryNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–62 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewFormResponseDateCreationNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewFormsNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormMultiviewWorkflowStateNameConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–54 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'FormsConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 44–265 |
AvoidDuplicateLiterals | The String literal "id_parent" appears 4 times in this file; the first occurrence is on line 57 | 3 | 57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–545 |
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 | 62–545 |
CommentRequired | Header comments are required | 3 | 62–545 |
GodClass | Possible God Class (WMC=68, ATFD=106, TCC=0.526%) | 3 | 62–545 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 63–545 |
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 | 209–212 |
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 | 293–380 |
NPathComplexity | The method 'fillResponseManagerWithResponses(HttpServletRequest, boolean, FormResponseManager, List, boolean)' has an NPath complexity of 1098 | 3 | 293–380 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 302–315 |
CommentRequired | Public method and constructor comments are required | 3 | 382–386 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 382–386 |
CommentRequired | Public method and constructor comments are required | 3 | 470–473 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 539 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 42–65 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 18 characters appended. | 3 | 60 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIterationNumber' | 2 | 55 |
ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 61–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 63–73 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 77–84 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 53–130 |
CommentRequired | Public method and constructor comments are required | 3 | 62–65 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 15–77 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 56–128 |
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 | 65–68 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–168 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'ControlListenerManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 44–96 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–70 |
CommentRequired | Public method and constructor comments are required | 3 | 42–45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–70 |
CommentRequired | Public method and constructor comments are required | 3 | 42–45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 75 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 88 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 75 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–94 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 71–74 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 105–108 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 144 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 6–38 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 7–41 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 70–557 |
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 | 262–300 |
CyclomaticComplexity | The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. | 3 | 262–300 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 469 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–625 |
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 | 193–285 |
NcssCount | The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has a NCSS line count of 60. | 3 | 193–285 |
NPathComplexity | The method 'getCompositeHtml(HttpServletRequest, List, Locale, DisplayType)' has an NPath complexity of 1076 | 3 | 193–285 |
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 | 239–241 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 248–259 |
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 | 380–420 |
NPathComplexity | The method 'findTemplateFor(DisplayType)' has an NPath complexity of 384 | 3 | 380–420 |
CyclomaticComplexity | The method 'setQuestionVisibility(List, DisplayType)' has a cyclomatic complexity of 11. | 3 | 455–499 |
NPathComplexity | The method 'setQuestionVisibility(List, DisplayType)' has an NPath complexity of 576 | 3 | 455–499 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 560 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–112 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.time.LocalDateTime' | 4 | 37 |
GodClass | Possible God Class (WMC=49, ATFD=34, TCC=26.667%) | 3 | 54–429 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–429 |
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 | 157–161 |
CommentRequired | Public method and constructor comments are required | 3 | 171–173 |
CommentRequired | Public method and constructor comments are required | 3 | 182–184 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–305 |
CommentRequired | Public method and constructor comments are required | 3 | 119–139 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 141 |
CommentRequired | Public method and constructor comments are required | 3 | 142–193 |
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 | 285–292 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–1345 |
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 | 98–1345 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 99–1345 |
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 | 224–253 |
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 | 267–370 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 267–370 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 267–370 |
CyclomaticComplexity | The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 25. | 3 | 267–370 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 303–305 |
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 | 423–439 |
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 | 452–492 |
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 | 505–542 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 509 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 530–533 |
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 | 555–582 |
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 | 650–682 |
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 | 697–729 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 798–812 |
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 | 889–941 |
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 | 965–1019 |
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 | 1035–1065 |
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 | 1079–1109 |
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 | 1123–1153 |
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 | 1167–1250 |
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 | 1216–1246 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–127 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 153 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 264–277 |
NPathComplexity | The method 'findTemplateFor(DisplayType)' has an NPath complexity of 512 | 3 | 297–341 |
CyclomaticComplexity | The method 'findTemplateFor(DisplayType)' has a cyclomatic complexity of 10. | 3 | 297–341 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 191 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–922 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.image.ImageResourceManager' | 4 | 77 |
CommentRequired | Header comments are required | 3 | 82–922 |
CyclomaticComplexity | The class 'AbstractFormQuestionJspBean' has a total cyclomatic complexity of 111 (highest 21). | 3 | 82–922 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 83–922 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nIdParentSelected' | 3 | 171 |
CyclomaticComplexity | The method 'processQuestionCreation(HttpServletRequest, String)' has a cyclomatic complexity of 12. | 3 | 182–260 |
NPathComplexity | The method 'processQuestionCreation(HttpServletRequest, String)' has an NPath complexity of 576 | 3 | 182–260 |
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 | 269–332 |
NPathComplexity | The method 'processQuestionUpdate(HttpServletRequest)' has an NPath complexity of 288 | 3 | 269–332 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 310–319 |
CommentRequired | Protected method constructor comments are required | 3 | 334–379 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 344 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 356–375 |
CommentRequired | Protected method constructor comments are required | 3 | 381–410 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 390 |
CommentRequired | Protected method constructor comments are required | 3 | 412–437 |
CommentRequired | Protected method constructor comments are required | 3 | 439–464 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 442 |
CommentRequired | Protected method constructor comments are required | 3 | 466–517 |
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 | 519–599 |
CommentRequired | Protected method constructor comments are required | 3 | 519–599 |
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 | 601–714 |
NPathComplexity | The method 'initMoveCompositeModel(HttpServletRequest)' has an NPath complexity of 103680 | 3 | 601–714 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 601–714 |
CyclomaticComplexity | The method 'initMoveCompositeModel(HttpServletRequest)' has a cyclomatic complexity of 21. | 3 | 601–714 |
NcssCount | The method 'initMoveCompositeModel(HttpServletRequest)' has a NCSS line count of 62. | 3 | 601–714 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Protected method constructor comments are required | 3 | 89–95 |
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 | 247–255 |
CommentRequired | Protected method constructor comments are required | 3 | 257–263 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ImmutableField | Private field '_uploadHandler' could be made final; it is only initialized in the declaration or constructor. | 3 | 109 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–823 |
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 | 342–349 |
CommentRequired | Public method and constructor comments are required | 3 | 362–394 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 383–390 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 424–431 |
NPathComplexity | The method 'buildControlModel(HttpServletRequest, Map)' has an NPath complexity of 161280 | 3 | 444–568 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 444–568 |
NcssCount | The method 'buildControlModel(HttpServletRequest, Map)' has a NCSS line count of 74. | 3 | 444–568 |
CyclomaticComplexity | The method 'buildControlModel(HttpServletRequest, Map)' has a cyclomatic complexity of 28. | 3 | 444–568 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 491–498 |
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 | 655–669 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 64–440 |
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_ID_QUESTION'. | 3 | 100 |
CommentRequired | Public method and constructor comments are required | 3 | 108–149 |
CommentRequired | Public method and constructor comments are required | 3 | 152–186 |
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 | 189–229 |
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 | 232–264 |
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 | 267–297 |
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 | 300–335 |
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 | 338–373 |
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 | 376–411 |
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 | 429–431 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 434 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–888 |
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 | 545–553 |
CommentRequired | Public method and constructor comments are required | 3 | 587–616 |
CommentRequired | Public method and constructor comments are required | 3 | 847–868 |
CommentRequired | Public method and constructor comments are required | 3 | 871–887 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 69–250 |
CommentRequired | Public method and constructor comments are required | 3 | 110–153 |
CommentRequired | Public method and constructor comments are required | 3 | 156–190 |
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 | 193–225 |
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 | 228–249 |
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 | 240–242 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 245 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–782 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 94–782 |
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 | 312–319 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 349–351 |
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 | 420–427 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 480 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 490–497 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 501 |
CommentRequired | Public method and constructor comments are required | 3 | 502–523 |
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 | 533–587 |
CyclomaticComplexity | The method 'getConfirmRemoveComposite(HttpServletRequest)' has a cyclomatic complexity of 13. | 3 | 533–587 |
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 | 708–769 |
NPathComplexity | The method 'doMoveComposite(HttpServletRequest)' has an NPath complexity of 864 | 3 | 708–769 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 740 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–703 |
CommentRequired | Header comments are required | 3 | 41–703 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 42–703 |
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 | 96–177 |
CyclomaticComplexity | The method 'getStepView(HttpServletRequest)' has a cyclomatic complexity of 13. | 3 | 96–177 |
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 | 396–410 |
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 | 420–440 |
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 | 450–482 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 467–475 |
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 | 600–610 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 647–661 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–624 |
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 | 555–583 |
CommentRequired | Public method and constructor comments are required | 3 | 586–606 |
CommentRequired | Public method and constructor comments are required | 3 | 609–623 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–629 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 75–629 |
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 | 212–219 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 248–255 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 456–470 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 60–147 |
CommentRequired | Public method and constructor comments are required | 3 | 85–111 |
CommentRequired | Public method and constructor comments are required | 3 | 114–146 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 142 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–686 |
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 | 327–390 |
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 | 353–387 |
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 | 504–549 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–685 |
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 | 103–685 |
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 | 472–482 |
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 | 637–651 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 640 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–687 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 107–687 |
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 | 171–250 |
NPathComplexity | The method 'getMultiviewFormsView(HttpServletRequest)' has an NPath complexity of 216 | 3 | 171–250 |
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 | 437–440 |
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 | 612–619 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 633–637 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'BreadcrumbManager' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 42–67 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–79 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 68 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 86–92 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ImmutableField | Private field '_strEntryServiceName' could be made final; it is only initialized in the declaration or constructor. | 3 | 66 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 79–84 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 95–101 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 79–84 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 87–98 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 117–120 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 82–88 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 44–47 |
CommentRequired | Public method and constructor comments are required | 3 | 44–47 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 122 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 65–302 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 191–195 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 278–297 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 284–296 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 204 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 91 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 71–74 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 71–74 |
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 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 128–144 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 139 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
GodClass | Possible God Class (WMC=53, ATFD=42, TCC=0.735%) | 3 | 69–522 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 70–522 |
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 | 270–277 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 282 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 219 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–55 |
CommentRequired | Protected method constructor comments are required | 3 | 54 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The final field name '_listFormResponseViewModelProcessor' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 | 72–75 |
MethodReturnsInternalArray | Returning '_strIterationParameterName' may expose an internal array. | 3 | 74 |
MissingOverride | The method 'getParameter(String)' is missing an @Override annotation. | 3 | 80–83 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–98 |
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 |