Fork me on GitHub

Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
39 0 1 40

Files

File
 I
 W
 E
fr/paris/lutece/plugins/directories/business/DirectoryEntity.java 0 0 2
fr/paris/lutece/plugins/directories/business/DirectoryEntityHome.java 0 0 4
fr/paris/lutece/plugins/directories/service/DirectoriesService.java 0 0 2
fr/paris/lutece/plugins/directories/service/EntryService.java 0 0 10
fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeImage.java 0 0 1
fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeMyLuteceAttribute.java 0 0 3
fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeMyLuteceUserPicker.java 0 1 4
fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeRadioButton.java 0 0 1
fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeSelect.java 0 0 9
fr/paris/lutece/plugins/directories/web/AbstractDirectoriesManagerJspBean.java 0 0 2
fr/paris/lutece/plugins/directories/web/DirectoryEntriesJspBean.java 0 0 1
fr/paris/lutece/plugins/directories/web/DirectoryFieldsJspBean.java 0 0 1

Rules

Category Rule Violations Severity
coding ArrayTrailingComma 6
 Error
DeclarationOrder 2
 Error
ReturnCount
  • max: "5"
1
 Warning
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
1
 Error
imports UnusedImports 9
 Error
javadoc JavadocMethod 22
 Error

Details

fr/paris/lutece/plugins/directories/business/DirectoryEntity.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Error
javadoc JavadocMethod Expected @return tag. 249

fr/paris/lutece/plugins/directories/business/DirectoryEntityHome.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for 'nKey'. 114
 Error
javadoc JavadocMethod Expected @param tag for 'listEntity'. 153
 Error
javadoc JavadocMethod Expected @param tag for 'searchValue'. 175
 Error
javadoc JavadocMethod Expected @param tag for 'listEntity'. 175

fr/paris/lutece/plugins/directories/service/DirectoriesService.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Unused @param tag for 'strEntityTitle'. 228
 Error
javadoc JavadocMethod Expected @param tag for 'listResponse'. 231

fr/paris/lutece/plugins/directories/service/EntryService.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Unused @param tag for 'stringBuffer'. 92
 Error
javadoc JavadocMethod Expected @param tag for 'model'. 97
 Error
javadoc JavadocMethod Expected @param tag for 'strBuilder'. 97
 Error
javadoc JavadocMethod Expected @param tag for 'locale'. 97
 Error
javadoc JavadocMethod Expected @param tag for 'bDisplayFront'. 97
 Error
javadoc JavadocMethod Unused @param tag for 'StringBuilder'. 125
 Error
javadoc JavadocMethod Expected @param tag for 'model'. 130
 Error
javadoc JavadocMethod Expected @param tag for 'strBuilder'. 130
 Error
javadoc JavadocMethod Expected @param tag for 'locale'. 130
 Error
javadoc JavadocMethod Expected @param tag for 'bDisplayFront'. 130

fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeImage.java

Severity Category Rule Message Line
 Error
coding DeclarationOrder Variable access definition in wrong order. 72

fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeMyLuteceAttribute.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Unused @param tag for 'strLangage'. 178
 Error
javadoc JavadocMethod Expected @param tag for 'strIdEntryType'. 182
 Error
javadoc JavadocMethod Expected @param tag for 'strIdDirectory'. 182

fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeMyLuteceUserPicker.java

Severity Category Rule Message Line
 Error
coding ArrayTrailingComma Array should contain trailing comma. 149
 Error
coding ArrayTrailingComma Array should contain trailing comma. 179
 Error
javadoc JavadocMethod Invalid use of the {@inheritDoc} tag. 270
 Warning
coding ReturnCount Return count is 6 (max allowed for non-void methods/lambdas is 5). 270
 Error
coding ArrayTrailingComma Array should contain trailing comma. 322

fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeRadioButton.java

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

fr/paris/lutece/plugins/directories/service/entrytype/EntryTypeSelect.java

Severity Category Rule Message Line
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.directories.util.DirectoriesConstants. 36
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError. 41
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.genericattributes.business.MandatoryError. 42
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.genericattributes.util.GenericAttributesUtils. 44
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.i18n.I18nService. 45
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.AdminMessage. 46
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. 47
 Error
imports UnusedImports Unused import - org.apache.commons.lang.StringUtils. 49
 Error
imports UnusedImports Unused import - java.util.List. 51

fr/paris/lutece/plugins/directories/web/AbstractDirectoriesManagerJspBean.java

Severity Category Rule Message Line
 Error
coding DeclarationOrder Variable access definition in wrong order. 55
 Error
javadoc JavadocMethod Expected @param tag for '<T>'. 85

fr/paris/lutece/plugins/directories/web/DirectoryEntriesJspBean.java

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

fr/paris/lutece/plugins/directories/web/DirectoryFieldsJspBean.java

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