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
35 0 0 131

Files

File
 I
 W
 E
fr/paris/lutece/plugins/menus/business/CustomMenu.java 0 0 7
fr/paris/lutece/plugins/menus/business/CustomMenuDAO.java 0 0 7
fr/paris/lutece/plugins/menus/business/CustomMenuHome.java 0 0 3
fr/paris/lutece/plugins/menus/business/CustomMenuItem.java 0 0 5
fr/paris/lutece/plugins/menus/business/CustomMenuItemDAO.java 0 0 2
fr/paris/lutece/plugins/menus/business/CustomMenuItemHome.java 0 0 1
fr/paris/lutece/plugins/menus/business/ICustomMenuDAO.java 0 0 10
fr/paris/lutece/plugins/menus/business/ICustomMenuItemDAO.java 0 0 6
fr/paris/lutece/plugins/menus/business/IMenusDAO.java 0 0 1
fr/paris/lutece/plugins/menus/business/MenuItem.java 0 0 1
fr/paris/lutece/plugins/menus/business/Menus.java 0 0 5
fr/paris/lutece/plugins/menus/business/MenusDAO.java 0 0 1
fr/paris/lutece/plugins/menus/business/MenusHome.java 0 0 1
fr/paris/lutece/plugins/menus/business/PageInfo.java 0 0 1
fr/paris/lutece/plugins/menus/service/CustomMenuService.java 0 0 14
fr/paris/lutece/plugins/menus/service/MainTreeMenuAllPagesService.java 0 0 1
fr/paris/lutece/plugins/menus/service/MainTreeMenuService.java 0 0 7
fr/paris/lutece/plugins/menus/service/MenusPlugin.java 0 0 1
fr/paris/lutece/plugins/menus/service/MenusService.java 0 0 1
fr/paris/lutece/plugins/menus/service/cache/MainTreeMenuAllPagesCacheService.java 0 0 1
fr/paris/lutece/plugins/menus/service/cache/MainTreeMenuCacheService.java 0 0 1
fr/paris/lutece/plugins/menus/web/AccessibilityAnchorMenuInclude.java 0 0 1
fr/paris/lutece/plugins/menus/web/CustomMenuInclude.java 0 0 6
fr/paris/lutece/plugins/menus/web/CustomMenusJspBean.java 0 0 11
fr/paris/lutece/plugins/menus/web/MainTreeMenuInclude.java 0 0 1
fr/paris/lutece/plugins/menus/web/MainTreeMenuIncludeAllPages.java 0 0 1
fr/paris/lutece/plugins/menus/web/MenusAdminJspBean.java 0 0 1
fr/paris/lutece/plugins/menus/web/MenusJspBean.java 0 0 1
fr/paris/lutece/plugins/menus/web/PaginatedJspBean.java 0 0 13
fr/paris/lutece/plugins/menus/web/TreeMenuPageInclude.java 0 0 1
fr/paris/lutece/plugins/menus/web/XPageMenuInclude.java 0 0 1
fr/paris/lutece/plugins/menus/web/rs/TreeMenuPagesRest.java 0 0 3
fr/paris/lutece/plugins/menus/web/validator/ValidatorCustomItemForm.java 0 0 14

Rules

Category Rule Violations Severity
blocks NeedBraces 3
 Error
coding DeclarationOrder 12
 Error
HiddenField 1
 Error
design VisibilityModifier 5
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/var/jenkins_home/jobs/admin-github-build/workspace@2/target/checkstyle-header.txt"
33
 Error
imports UnusedImports 2
 Error
javadoc JavadocMethod 47
 Error
JavadocType 3
 Error
modifier RedundantModifier 2
 Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
2
 Error
MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
9
 Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
4
 Error
whitespace ParenPad
  • option: "space"
1
 Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
7
 Error

Details

fr/paris/lutece/plugins/menus/business/CustomMenu.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
coding DeclarationOrder Static variable definition in wrong order. 68
 Error
coding DeclarationOrder Static variable definition in wrong order. 69
 Error
coding DeclarationOrder Static variable definition in wrong order. 70
 Error
coding DeclarationOrder Static variable definition in wrong order. 71
 Error
javadoc JavadocMethod Unused @param tag for 'string'. 179
 Error
javadoc JavadocMethod Expected @param tag for 'strDescription'. 182

fr/paris/lutece/plugins/menus/business/CustomMenuDAO.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
naming LocalVariableName Name 'MenusList' must match pattern '^[a-z][a-zA-Z0-9]*$'. 182
 Error
modifier RedundantModifier Redundant 'final' modifier. 196
 Error
javadoc JavadocMethod Expected @param tag for 'daoUtil'. 220
 Error
naming LocalVariableName Name 'MenusList' must match pattern '^[a-z][a-zA-Z0-9]*$'. 262
 Error
modifier RedundantModifier Redundant 'final' modifier. 268
 Error
javadoc JavadocMethod Missing a Javadoc comment. 289

fr/paris/lutece/plugins/menus/business/CustomMenuHome.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 Unused @param tag for 'nKey'. 150
 Error
javadoc JavadocMethod Expected @param tag for 'listIds'. 154

fr/paris/lutece/plugins/menus/business/CustomMenuItem.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
coding DeclarationOrder Static variable definition in wrong order. 68
 Error
coding DeclarationOrder Static variable definition in wrong order. 69
 Error
coding DeclarationOrder Static variable definition in wrong order. 70
 Error
coding DeclarationOrder Static variable definition in wrong order. 71

fr/paris/lutece/plugins/menus/business/CustomMenuItemDAO.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 Missing a Javadoc comment. 88

fr/paris/lutece/plugins/menus/business/CustomMenuItemHome.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

fr/paris/lutece/plugins/menus/business/ICustomMenuDAO.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 Unused @param tag for 'plugin'. 99
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 105
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 110
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 114
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 120
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 126
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 126

fr/paris/lutece/plugins/menus/business/ICustomMenuItemDAO.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 Unused @param tag for 'nMenuId'. 88
 Error
javadoc JavadocMethod Expected @param tag for 'nMenuSourceId'. 93
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 136
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 141
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 141

fr/paris/lutece/plugins/menus/business/IMenusDAO.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

fr/paris/lutece/plugins/menus/business/MenuItem.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

fr/paris/lutece/plugins/menus/business/Menus.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
naming MemberName Name 'isActive' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 47
 Error
javadoc JavadocMethod Missing a Javadoc comment. 162
 Error
javadoc JavadocMethod Missing a Javadoc comment. 168
 Error
coding HiddenField 'isActive' hides a field. 168

fr/paris/lutece/plugins/menus/business/MenusDAO.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

fr/paris/lutece/plugins/menus/business/MenusHome.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

fr/paris/lutece/plugins/menus/business/PageInfo.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

fr/paris/lutece/plugins/menus/service/CustomMenuService.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 JavadocType Missing a Javadoc comment. 49
 Error
javadoc JavadocMethod Expected @param tag for 'strFilterCriteria'. 94
 Error
javadoc JavadocMethod Expected @param tag for 'currentCustomMenu'. 123
 Error
javadoc JavadocMethod Expected @param tag for 'strFilterCriteria'. 123
 Error
javadoc JavadocMethod Expected @param tag for 'strFilterCriteria'. 144
 Error
javadoc JavadocMethod Expected @param tag for 'strFilterCriteria'. 166
 Error
javadoc JavadocMethod Unused @param tag for 'MenuItem'. 183
 Error
javadoc JavadocMethod Unused @param tag for 'ReferenceList'. 184
 Error
javadoc JavadocMethod Expected @param tag for 'item'. 186
 Error
javadoc JavadocMethod Expected @param tag for 'referenceList'. 186
 Error
javadoc JavadocMethod Expected @param tag for 'strFilterCriteria'. 186
 Error
javadoc JavadocMethod Missing a Javadoc comment. 212
 Error
whitespace ParenPad ')' is not preceded with whitespace. 217

fr/paris/lutece/plugins/menus/service/MainTreeMenuAllPagesService.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

fr/paris/lutece/plugins/menus/service/MainTreeMenuService.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 Unused @param tag for 'nRootParentTree'. 102
 Error
javadoc JavadocMethod Expected @param tag for 'nParentCurrentPageId'. 106
 Error
whitespace WhitespaceAround '==' is not followed by whitespace. 129
 Error
whitespace WhitespaceAround '==' is not preceded with whitespace. 129
 Error
whitespace WhitespaceAround '==' is not followed by whitespace. 129
 Error
whitespace WhitespaceAround '==' is not preceded with whitespace. 129

fr/paris/lutece/plugins/menus/service/MenusPlugin.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

fr/paris/lutece/plugins/menus/service/MenusService.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

fr/paris/lutece/plugins/menus/service/cache/MainTreeMenuAllPagesCacheService.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

fr/paris/lutece/plugins/menus/service/cache/MainTreeMenuCacheService.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

fr/paris/lutece/plugins/menus/web/AccessibilityAnchorMenuInclude.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

fr/paris/lutece/plugins/menus/web/CustomMenuInclude.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 @param tag for 'cm'. 196
 Error
javadoc JavadocMethod Expected @param tag for 'strTypeMenu'. 197
 Error
javadoc JavadocMethod Missing a Javadoc comment. 217
 Error
javadoc JavadocMethod Expected @param tag for 'currentDepth'. 237
 Error
javadoc JavadocMethod Expected @param tag for 'maxDepth'. 237

fr/paris/lutece/plugins/menus/web/CustomMenusJspBean.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
coding DeclarationOrder Variable access definition in wrong order. 75
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 191
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 192
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 192
 Error
javadoc JavadocMethod Unused Javadoc tag. 777
 Error
javadoc JavadocMethod Unused Javadoc tag. 794
 Error
javadoc JavadocMethod Expected @param tag for 'menuType'. 986
 Error
blocks NeedBraces 'if' construct must use '{}'s. 988
 Error
blocks NeedBraces 'if' construct must use '{}'s. 990
 Error
blocks NeedBraces 'if' construct must use '{}'s. 992

fr/paris/lutece/plugins/menus/web/MainTreeMenuInclude.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

fr/paris/lutece/plugins/menus/web/MainTreeMenuIncludeAllPages.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

fr/paris/lutece/plugins/menus/web/MenusAdminJspBean.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

fr/paris/lutece/plugins/menus/web/MenusJspBean.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

fr/paris/lutece/plugins/menus/web/PaginatedJspBean.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 JavadocType Type Javadoc comment is missing @param <S> tag. 52
 Error
javadoc JavadocType Type Javadoc comment is missing @param <T> tag. 52
 Error
naming MemberName Name 'PROPERTY_SUFFIX_DEFAULT_LIST_ITEM_PER_PAGE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 57
 Error
design VisibilityModifier Variable 'PROPERTY_SUFFIX_DEFAULT_LIST_ITEM_PER_PAGE' must be private and have accessor methods. 57
 Error
coding DeclarationOrder Static variable definition in wrong order. 60
 Error
coding DeclarationOrder Static variable definition in wrong order. 63
 Error
coding DeclarationOrder Static variable definition in wrong order. 64
 Error
design VisibilityModifier Variable '_strCurrentPageIndexForCustomMenu' must be private and have accessor methods. 67
 Error
design VisibilityModifier Variable '_nItemsPerPageForCustomMenu' must be private and have accessor methods. 68
 Error
design VisibilityModifier Variable '_strCurrentPageIndexForCustomMenuItem' must be private and have accessor methods. 69
 Error
design VisibilityModifier Variable '_nItemsPerPageForCustomMenuItem' must be private and have accessor methods. 70
 Error
javadoc JavadocMethod Expected @param tag for 'listIds'. 164

fr/paris/lutece/plugins/menus/web/TreeMenuPageInclude.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

fr/paris/lutece/plugins/menus/web/XPageMenuInclude.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

fr/paris/lutece/plugins/menus/web/rs/TreeMenuPagesRest.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
imports UnusedImports Unused import - java.util.Collection. 36
 Error
imports UnusedImports Unused import - java.util.List. 37

fr/paris/lutece/plugins/menus/web/validator/ValidatorCustomItemForm.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
naming MemberName Name 'MESSAGE_TYPE_NOT_EMPTY' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 60
 Error
naming MemberName Name 'MESSAGE_TYPE_NOT_VALID' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 61
 Error
naming MemberName Name 'MESSAGE_PARENT_MENU_NOT_VALID' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 62
 Error
naming MemberName Name 'MESSAGE_SUBMENU_NOT_EMPTY' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 63
 Error
naming MemberName Name 'MESSAGE_URL_NOT_EMPTY' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 64
 Error
naming MemberName Name 'MESSAGE_LABEL_NOT_EMPTY' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 65
 Error
naming MemberName Name 'MESSAGE_DYNAMIC_PAGE_LABEL_NOT_EMPTY' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 66
 Error
javadoc JavadocMethod Expected @return tag. 91
 Error
javadoc JavadocMethod Missing a Javadoc comment. 157
 Error
javadoc JavadocMethod Missing a Javadoc comment. 162
 Error
javadoc JavadocMethod Missing a Javadoc comment. 167
 Error
javadoc JavadocMethod Missing a Javadoc comment. 172
 Error
javadoc JavadocMethod Missing a Javadoc comment. 187