Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
165 0 2 119

Files

File  I  W  E
fr/paris/lutece/plugins/form/business/ConditionalEntriesFieldMapper.java 0 0 9
fr/paris/lutece/plugins/form/business/RecapResponse.java 0 0 1
fr/paris/lutece/plugins/form/business/iteration/IterationGroup.java 0 0 3
fr/paris/lutece/plugins/form/business/portlet/ListFormPortlet.java 0 0 2
fr/paris/lutece/plugins/form/modules/processornotifysender/business/ProcessorNotifySender.java 0 0 1
fr/paris/lutece/plugins/form/resources/form_messages.properties 0 0 9
fr/paris/lutece/plugins/form/resources/form_messages_fr.properties 0 0 1
fr/paris/lutece/plugins/form/service/OutputProcessorService.java 0 0 1
fr/paris/lutece/plugins/form/service/entrytype/EntryTypeCropImage.java 0 0 1
fr/paris/lutece/plugins/form/service/entrytype/EntryTypeGroup.java 0 0 4
fr/paris/lutece/plugins/form/service/validator/ValidatorService.java 0 0 1
fr/paris/lutece/plugins/form/utils/EntryTypeGroupUtils.java 0 0 13
fr/paris/lutece/plugins/form/utils/EntryTypeUploadEnum.java 0 0 2
fr/paris/lutece/plugins/form/utils/FormConstants.java 0 0 1
fr/paris/lutece/plugins/form/utils/FormUtils.java 0 1 8
fr/paris/lutece/plugins/form/web/CategoryJspBean.java 0 0 1
fr/paris/lutece/plugins/form/web/DefaultMessageJspBean.java 0 0 2
fr/paris/lutece/plugins/form/web/ExportFormatJspBean.java 0 0 2
fr/paris/lutece/plugins/form/web/FormAdvancedParametersJspBean.java 0 0 7
fr/paris/lutece/plugins/form/web/FormApp.java 0 0 26
fr/paris/lutece/plugins/form/web/FormEntryJspBean.java 0 0 4
fr/paris/lutece/plugins/form/web/FormJspBean.java 0 0 11
fr/paris/lutece/plugins/form/web/ModifyFormJspBean.java 0 0 2
fr/paris/lutece/plugins/form/web/TestFormJspBean.java 0 1 6
fr/paris/lutece/plugins/form/web/http/GroupMultipartHttpServletRequestWrapper.java 0 0 1

Rules

Category Rule Violations Severity
coding ArrayTrailingComma 18  Error
DeclarationOrder 20  Error
HiddenField 2  Error
NestedIfDepth
  • max: "3"
4  Error
ParameterAssignment 5  Error
ReturnCount
  • max: "5"
1  Warning
design FinalClass 2  Error
HideUtilityClassConstructor 2  Error
VisibilityModifier 2  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/form-plugin-form-doc-QA/workspace/target/checkstyle-header.txt"
1  Error
imports UnusedImports 4  Error
javadoc JavadocMethod 44  Error
JavadocType 2  Error
misc Translation 10  Error
modifier RedundantModifier 1  Error
naming ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
2  Error
sizes ParameterNumber 1  Warning

Details

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

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error coding HiddenField '_nIdField' hides a field. 58
 Error naming ParameterName Name '_nIdField' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
 Error javadoc JavadocMethod Missing a Javadoc comment. 63
 Error javadoc JavadocMethod Missing a Javadoc comment. 68
 Error coding HiddenField '_strConditionalEntries' hides a field. 68
 Error naming ParameterName Name '_strConditionalEntries' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68

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

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 56

fr/paris/lutece/plugins/form/business/iteration/IterationGroup.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 65
 Error javadoc JavadocMethod Expected @param tag for 'nIterationNumber'. 158
 Error javadoc JavadocMethod Expected @param tag for 'nIterationNumber'. 250

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

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error javadoc JavadocMethod Expected @param tag for 'nIdCategory'. 86

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

Severity Category Rule Message Line
 Error coding ArrayTrailingComma Array should contain trailing comma. 134

fr/paris/lutece/plugins/form/resources/form_messages.properties

Severity Category Rule Message Line
 Error misc Translation Key 'createForm.labelAnonymize' missing.
 Error misc Translation Key 'createForm.labelAutomaticCleaning' missing.
 Error misc Translation Key 'createForm.labelCategoryTitleList' missing.
 Error misc Translation Key 'createForm.labelCleaningMethod' missing.
 Error misc Translation Key 'createForm.labelRemove' missing.
 Error misc Translation Key 'createForm.titleDeleteCategory' missing.
 Error misc Translation Key 'manage_advanced_parameters.label_create_entry_default_values_tab' missing.
 Error misc Translation Key 'manage_advanced_parameters.label_create_form_default_values_tab' missing.
 Error misc Translation Key 'message.mandatory.entry' missing.

fr/paris/lutece/plugins/form/resources/form_messages_fr.properties

Severity Category Rule Message Line
 Error misc Translation Key 'message.mandatory.Entry' missing.

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

Severity Category Rule Message Line
 Error design FinalClass Class OutputProcessorService should be declared as final. 51

fr/paris/lutece/plugins/form/service/entrytype/EntryTypeCropImage.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 42

fr/paris/lutece/plugins/form/service/entrytype/EntryTypeGroup.java

Severity Category Rule Message Line
 Error coding DeclarationOrder Variable access definition in wrong order. 70
 Error coding DeclarationOrder Variable access definition in wrong order. 71
 Error coding DeclarationOrder Variable access definition in wrong order. 72
 Error coding ParameterAssignment Assignment of parameter 'field' is not allowed. 298

fr/paris/lutece/plugins/form/service/validator/ValidatorService.java

Severity Category Rule Message Line
 Error design FinalClass Class ValidatorService should be declared as final. 48

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

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 82
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 82
 Error javadoc JavadocMethod Unused @param tag for 'bErrorPresent'. 136
 Error javadoc JavadocMethod Unused @param tag for 'nNbIterationMax'. 168
 Error javadoc JavadocMethod Expected @param tag for 'nbIteration'. 262
 Error coding ParameterAssignment Assignment of parameter 'sbEntryGroup' is not allowed. 273
 Error coding ParameterAssignment Assignment of parameter 'listFormErrors' is not allowed. 302
 Error coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 458
 Error javadoc JavadocMethod Expected @param tag for 'nIterationNumber'. 512
 Error coding ParameterAssignment Assignment of parameter 'listResponses' is not allowed. 596
 Error javadoc JavadocMethod Expected @param tag for 'request'. 689
 Error javadoc JavadocMethod Unused @param tag for 'nParameterIdForm'. 1114
 Error javadoc JavadocMethod Expected @param tag for 'nIdForm'. 1118

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

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 54
 Error modifier RedundantModifier Redundant 'private' modifier. 54

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

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 43

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

Severity Category Rule Message Line
 Error coding DeclarationOrder Variable access definition in wrong order. 134
 Error coding DeclarationOrder Variable access definition in wrong order. 195
 Error coding DeclarationOrder Variable access definition in wrong order. 196
 Error coding DeclarationOrder Variable access definition in wrong order. 202
 Error coding DeclarationOrder Variable access definition in wrong order. 203
 Error coding DeclarationOrder Variable access definition in wrong order. 204
 Error coding DeclarationOrder Variable access definition in wrong order. 205
 Error coding DeclarationOrder Variable access definition in wrong order. 206
 Warning sizes ParameterNumber More than 7 parameters (found 8). 950

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

Severity Category Rule Message Line
 Error coding ArrayTrailingComma Array should contain trailing comma. 377

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.util.HashMap. 51
 Error coding ArrayTrailingComma Array should contain trailing comma. 207

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

Severity Category Rule Message Line
 Error coding ArrayTrailingComma Array should contain trailing comma. 412
 Error coding ArrayTrailingComma Array should contain trailing comma. 424

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

Severity Category Rule Message Line
 Error coding DeclarationOrder Variable access definition in wrong order. 96
 Error coding DeclarationOrder Variable access definition in wrong order. 97
 Error coding DeclarationOrder Variable access definition in wrong order. 98
 Error coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 240
 Error javadoc JavadocMethod Expected an @return tag. 339
 Error javadoc JavadocMethod Expected @param tag for 'request'. 564
 Error coding ArrayTrailingComma Array should contain trailing comma. 605

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

Severity Category Rule Message Line
 Error coding DeclarationOrder Variable access definition in wrong order. 121
 Error coding DeclarationOrder Variable access definition in wrong order. 122
 Error coding DeclarationOrder Variable access definition in wrong order. 123
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 208
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 208
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 243
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 243
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 282
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 282
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 306
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 306
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 330
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 330
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 356
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 356
 Error javadoc JavadocMethod Expected an @return tag. 385
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 386
 Error javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 386
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 417
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 436
 Error coding ParameterAssignment Assignment of parameter 'strSessionId' is not allowed. 470
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 503
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 533
 Error javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 595
 Error coding ArrayTrailingComma Array should contain trailing comma. 681
 Error javadoc JavadocMethod Expected an @return tag. 1336

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

Severity Category Rule Message Line
 Error coding ArrayTrailingComma Array should contain trailing comma. 577
 Error coding ArrayTrailingComma Array should contain trailing comma. 647
 Error javadoc JavadocMethod Expected @param tag for 'bIsForArray'. 1776
 Error coding ArrayTrailingComma Array should contain trailing comma. 1806

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.File. 37
 Error imports UnusedImports Unused import - java.io.FileInputStream. 38
 Error imports UnusedImports Unused import - java.io.FileOutputStream. 39
 Error design VisibilityModifier Variable '_nDefaultItemsPerPage' must be private and have accessor methods. 271
 Error coding ArrayTrailingComma Array should contain trailing comma. 599
 Error coding ArrayTrailingComma Array should contain trailing comma. 659
 Error coding ArrayTrailingComma Array should contain trailing comma. 769
 Error coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 1743
 Error coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 1753
 Error coding ArrayTrailingComma Array should contain trailing comma. 1892
 Error coding ArrayTrailingComma Array should contain trailing comma. 2011

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

Severity Category Rule Message Line
 Error design VisibilityModifier Variable '_nItemsPerPageEntry' must be private and have accessor methods. 180
 Error coding ArrayTrailingComma Array should contain trailing comma. 832

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

Severity Category Rule Message Line
 Error coding DeclarationOrder Variable access definition in wrong order. 96
 Error coding DeclarationOrder Variable access definition in wrong order. 97
 Error coding DeclarationOrder Variable access definition in wrong order. 98
 Warning coding ReturnCount Return count is 6 (max allowed is 5). 274
 Error coding ArrayTrailingComma Array should contain trailing comma. 367
 Error coding ArrayTrailingComma Array should contain trailing comma. 375
 Error javadoc JavadocMethod Unused @param tag for 'response'. 404

fr/paris/lutece/plugins/form/web/http/GroupMultipartHttpServletRequestWrapper.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 52