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
31 0 0 173

Files

File
 I
 W
 E
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/Category.java 0 0 2
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/CategoryDAO.java 0 0 2
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/CategoryHome.java 0 0 5
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/Favorite.java 0 0 7
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/FavoriteDAO.java 0 0 7
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/FavoriteHome.java 0 0 5
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/ICategoryDAO.java 0 0 3
fr/paris/lutece/plugins/mydashboard/modules/favorites/business/IFavoriteDAO.java 0 0 8
fr/paris/lutece/plugins/mydashboard/modules/favorites/rest/rs/Constants.java 0 0 1
fr/paris/lutece/plugins/mydashboard/modules/favorites/rest/rs/FavoritesRest.java 0 0 9
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/CategoriesSubscriptionProviderService.java 0 0 8
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/FavoriteService.java 0 0 10
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/FavoritesSubscriptionProviderService.java 0 0 12
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/DemandTypeService.java 0 0 5
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/IDemandTypeProvider.java 0 0 4
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/IFavoriteProvider.java 0 0 6
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/MokeFavoriteProvider.java 0 0 2
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/ProviderFavoriteService.java 0 0 6
fr/paris/lutece/plugins/mydashboard/modules/favorites/util/UrlUtil.java 0 0 4
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/CategoriesXPage.java 0 0 7
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/CategoryJspBean.java 0 0 6
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoriteJspBean.java 0 0 22
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoritesXPage.java 0 0 20
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/ManageCategoriesJspBean.java 0 0 1
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/ManageFavoritesJspBean.java 0 0 1
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/MyDashboardCategoriesComponent.java 0 0 4
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/MyDashboardFavoritesComponent.java 0 0 2
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/MyDashboardListFavoritesComponent.java 0 0 1
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/includes/FavoritesInclude.java 0 0 3

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
18
 Error
NeedBraces 3
 Error
RightCurly
  • option: "alone"
2
 Error
coding DeclarationOrder 2
 Error
ExplicitInitialization 4
 Error
design FinalClass 3
 Error
HideUtilityClassConstructor 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/var/jenkins_home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
29
 Error
imports AvoidStarImport 2
 Error
UnusedImports 3
 Error
javadoc JavadocMethod 45
 Error
JavadocType 12
 Error
modifier RedundantModifier 6
 Error
naming ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
2
 Error
whitespace ParenPad
  • option: "space"
41
 Error

Details

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/Category.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. 38

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/CategoryDAO.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
whitespace ParenPad ')' is not preceded with whitespace. 62

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/CategoryHome.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
whitespace ParenPad ')' is not preceded with whitespace. 97
 Error
javadoc JavadocMethod Unused @param tag for 'nKey'. 120
 Error
javadoc JavadocMethod Expected @param tag for 'code'. 123
 Error
whitespace ParenPad ')' is not preceded with whitespace. 125

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/Favorite.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 AvoidStarImport Using the '.*' form of import should be avoided - javax.validation.constraints.*. 36
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - org.hibernate.validator.constraints.*. 39
 Error
whitespace ParenPad '(' is not followed by whitespace. 55
 Error
whitespace ParenPad ')' is not preceded with whitespace. 55
 Error
javadoc JavadocMethod Unused @param tag for 'strPictogramme'. 259
 Error
javadoc JavadocMethod Expected @param tag for 'strCategoryCode'. 261

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/FavoriteDAO.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
whitespace ParenPad ')' is not preceded with whitespace. 69
 Error
whitespace ParenPad '(' is not followed by whitespace. 134
 Error
whitespace ParenPad '(' is not followed by whitespace. 321
 Error
whitespace ParenPad '(' is not followed by whitespace. 377
 Error
whitespace ParenPad '(' is not followed by whitespace. 412
 Error
whitespace ParenPad '(' is not followed by whitespace. 444

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/FavoriteHome.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
whitespace ParenPad ')' is not preceded with whitespace. 99
 Error
whitespace ParenPad '(' is not followed by whitespace. 135
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 142
 Error
javadoc JavadocMethod Missing a Javadoc comment. 169

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/ICategoryDAO.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. 40
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 87

fr/paris/lutece/plugins/mydashboard/modules/favorites/business/IFavoriteDAO.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
modifier RedundantModifier Redundant 'public' modifier. 104
 Error
modifier RedundantModifier Redundant 'public' modifier. 112
 Error
modifier RedundantModifier Redundant 'public' modifier. 121
 Error
modifier RedundantModifier Redundant 'public' modifier. 128
 Error
javadoc JavadocMethod Expected @param tag for 'plugin'. 128
 Error
javadoc JavadocMethod Missing a Javadoc comment. 138
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 138

fr/paris/lutece/plugins/mydashboard/modules/favorites/rest/rs/Constants.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/mydashboard/modules/favorites/rest/rs/FavoritesRest.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. 85
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 100
 Error
whitespace ParenPad ')' is not preceded with whitespace. 106
 Error
whitespace ParenPad ')' is not preceded with whitespace. 111
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 124
 Error
javadoc JavadocMethod Missing a Javadoc comment. 129
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
javadoc JavadocMethod Missing a Javadoc comment. 163

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/CategoriesSubscriptionProviderService.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. 41
 Error
blocks LeftCurly '{' at column 92 should be on a new line. 41
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 45
 Error
blocks LeftCurly '{' at column 72 should be on a new line. 51
 Error
blocks LeftCurly '{' at column 33 should be on a new line. 52
 Error
blocks NeedBraces 'else' construct must use '{}'s. 56
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 61

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/FavoriteService.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
design FinalClass Class FavoriteService should be declared as final. 57
 Error
blocks LeftCurly '{' at column 30 should be on a new line. 57
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 65
 Error
javadoc JavadocMethod Missing a Javadoc comment. 67
 Error
javadoc JavadocMethod Expected @param tag for 'favorite'. 114
 Error
javadoc JavadocMethod Expected @param tag for 'strCode'. 141
 Error
javadoc JavadocMethod Expected @param tag for 'categoryCode'. 177
 Error
javadoc JavadocMethod Expected @param tag for 'strGuid'. 198
 Error
javadoc JavadocMethod Expected @param tag for 'nNbFavoriteToShow'. 198

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/FavoritesSubscriptionProviderService.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
blocks LeftCurly '{' at column 91 should be on a new line. 45
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 49
 Error
blocks LeftCurly '{' at column 71 should be on a new line. 55
 Error
blocks LeftCurly '{' at column 33 should be on a new line. 56
 Error
blocks NeedBraces 'else' construct must use '{}'s. 60
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 65
 Error
blocks LeftCurly '{' at column 28 should be on a new line. 71
 Error
blocks LeftCurly '{' at column 44 should be on a new line. 77
 Error
blocks LeftCurly '{' at column 121 should be on a new line. 82
 Error
blocks LeftCurly '{' at column 121 should be on a new line. 87
 Error
blocks LeftCurly '{' at column 71 should be on a new line. 92

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/DemandTypeService.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
design FinalClass Class DemandTypeService should be declared as final. 46
 Error
coding DeclarationOrder Static variable definition in wrong order. 50
 Error
coding DeclarationOrder Static variable definition in wrong order. 53
 Error
javadoc JavadocMethod Expected @param tag for 'strDemandTypeServiceProviderName'. 94

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/IDemandTypeProvider.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 'strCodeCategory'. 69
 Error
javadoc JavadocMethod Expected @param tag for 'nId'. 82
 Error
javadoc JavadocMethod Expected @param tag for 'strCodeCategory'. 82

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/IFavoriteProvider.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. 39
 Error
javadoc JavadocMethod Missing a Javadoc comment. 41
 Error
modifier RedundantModifier Redundant 'public' modifier. 41
 Error
javadoc JavadocMethod Missing a Javadoc comment. 42
 Error
modifier RedundantModifier Redundant 'public' modifier. 42

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/MokeFavoriteProvider.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. 41

fr/paris/lutece/plugins/mydashboard/modules/favorites/service/provider/ProviderFavoriteService.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
design FinalClass Class ProviderFavoriteService should be declared as final. 44
 Error
javadoc JavadocType Missing a Javadoc comment. 44
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 46
 Error
javadoc JavadocMethod Missing a Javadoc comment. 48
 Error
whitespace ParenPad '(' is not followed by whitespace. 77

fr/paris/lutece/plugins/mydashboard/modules/favorites/util/UrlUtil.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. 38
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 38
 Error
javadoc JavadocMethod Missing a Javadoc comment. 47

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/CategoriesXPage.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. 53
 Error
javadoc JavadocMethod Missing a Javadoc comment. 71
 Error
javadoc JavadocMethod Missing a Javadoc comment. 104
 Error
whitespace ParenPad '(' is not followed by whitespace. 122
 Error
whitespace ParenPad ')' is not preceded with whitespace. 122
 Error
whitespace ParenPad ')' is not preceded with whitespace. 124

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/CategoryJspBean.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 'request'. 202
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 224
 Error
whitespace ParenPad ')' is not preceded with whitespace. 302
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 354
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 414

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoriteJspBean.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
whitespace ParenPad '(' is not followed by whitespace. 159
 Error
whitespace ParenPad ')' is not preceded with whitespace. 159
 Error
whitespace ParenPad ')' is not preceded with whitespace. 214
 Error
blocks LeftCurly '{' at column 17 should be on a new line. 257
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 259
 Error
whitespace ParenPad '(' is not followed by whitespace. 259
 Error
whitespace ParenPad ')' is not preceded with whitespace. 259
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 259
 Error
whitespace ParenPad '(' is not followed by whitespace. 260
 Error
whitespace ParenPad ')' is not preceded with whitespace. 260
 Error
whitespace ParenPad ')' is not preceded with whitespace. 282
 Error
javadoc JavadocMethod Missing a Javadoc comment. 406
 Error
javadoc JavadocMethod Missing a Javadoc comment. 423
 Error
blocks NeedBraces 'if' construct must use '{}'s. 432
 Error
blocks LeftCurly '{' at column 17 should be on a new line. 437
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 441
 Error
whitespace ParenPad '(' is not followed by whitespace. 441
 Error
whitespace ParenPad ')' is not preceded with whitespace. 441
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 441
 Error
whitespace ParenPad '(' is not followed by whitespace. 442
 Error
whitespace ParenPad ')' is not preceded with whitespace. 442

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoritesXPage.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. 59
 Error
javadoc JavadocMethod Missing a Javadoc comment. 82
 Error
javadoc JavadocMethod Missing a Javadoc comment. 112
 Error
whitespace ParenPad '(' is not followed by whitespace. 131
 Error
whitespace ParenPad ')' is not preceded with whitespace. 131
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
javadoc JavadocMethod Missing a Javadoc comment. 139
 Error
javadoc JavadocMethod Missing a Javadoc comment. 169
 Error
javadoc JavadocMethod Expected @param tag for 'listSubscriptionFavorites'. 189
 Error
javadoc JavadocMethod Expected @param tag for 'strNewOrder'. 189
 Error
javadoc JavadocMethod Expected @param tag for 'subToSet'. 189
 Error
whitespace ParenPad '(' is not followed by whitespace. 195
 Error
whitespace ParenPad '(' is not followed by whitespace. 195
 Error
whitespace ParenPad ')' is not preceded with whitespace. 195
 Error
whitespace ParenPad ')' is not preceded with whitespace. 195
 Error
javadoc JavadocMethod Expected @return tag. 221
 Error
javadoc JavadocMethod Expected @param tag for 'strIdFavorite'. 221
 Error
javadoc JavadocMethod Expected @param tag for 'listSubscriptionFavorites'. 221
 Error
whitespace ParenPad ')' is not preceded with whitespace. 223

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/ManageCategoriesJspBean.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/mydashboard/modules/favorites/web/ManageFavoritesJspBean.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/mydashboard/modules/favorites/web/MyDashboardCategoriesComponent.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 - fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Favorite. 46
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.mydashboard.modules.favorites.service.FavoritesSubscriptionProviderService. 49
 Error
javadoc JavadocType Missing a Javadoc comment. 64

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/MyDashboardFavoritesComponent.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. 58

fr/paris/lutece/plugins/mydashboard/modules/favorites/web/MyDashboardListFavoritesComponent.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/mydashboard/modules/favorites/web/includes/FavoritesInclude.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.mydashboard.modules.favorites.service.FavoriteService. 12
 Error
javadoc JavadocType Missing a Javadoc comment. 22