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
28 0 0 149

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 4
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 9
fr/paris/lutece/plugins/mydashboard/modules/favorites/service/FavoritesSubscriptionProviderService.java 0 0 12
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 2
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoriteJspBean.java 0 0 20
fr/paris/lutece/plugins/mydashboard/modules/favorites/web/FavoritesXPage.java 0 0 18
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 ExplicitInitialization 4
 Error
design FinalClass 2
 Error
HideUtilityClassConstructor 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
26
 Error
imports AvoidStarImport 2
 Error
UnusedImports 3
 Error
javadoc JavadocMethod 32
 Error
JavadocType 12
 Error
modifier RedundantModifier 6
 Error
naming ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
2
 Error
whitespace ParenPad
  • option: "space"
36
 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 Expected @param tag for 'request'. 72
 Error
whitespace ParenPad ')' is not preceded with whitespace. 78
 Error
whitespace ParenPad ')' is not preceded with whitespace. 83

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. 55
 Error
blocks LeftCurly '{' at column 30 should be on a new line. 55
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 63
 Error
javadoc JavadocMethod Missing a Javadoc comment. 65
 Error
javadoc JavadocMethod Expected @param tag for 'strCode'. 119
 Error
javadoc JavadocMethod Expected @param tag for 'categoryCode'. 155
 Error
javadoc JavadocMethod Expected @param tag for 'strGuid'. 176
 Error
javadoc JavadocMethod Expected @param tag for 'nNbFavoriteToShow'. 176

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/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
whitespace ParenPad ')' is not preceded with whitespace. 225

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 preceded with whitespace. 190
 Error
blocks LeftCurly '{' at column 17 should be on a new line. 233
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 235
 Error
whitespace ParenPad '(' is not followed by whitespace. 235
 Error
whitespace ParenPad ')' is not preceded with whitespace. 235
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 235
 Error
whitespace ParenPad '(' is not followed by whitespace. 236
 Error
whitespace ParenPad ')' is not preceded with whitespace. 236
 Error
whitespace ParenPad ')' is not preceded with whitespace. 258
 Error
javadoc JavadocMethod Missing a Javadoc comment. 382
 Error
javadoc JavadocMethod Missing a Javadoc comment. 396
 Error
blocks NeedBraces 'if' construct must use '{}'s. 405
 Error
blocks LeftCurly '{' at column 17 should be on a new line. 410
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 414
 Error
whitespace ParenPad '(' is not followed by whitespace. 414
 Error
whitespace ParenPad ')' is not preceded with whitespace. 414
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 414
 Error
whitespace ParenPad '(' is not followed by whitespace. 415
 Error
whitespace ParenPad ')' is not preceded with whitespace. 415

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. 57
 Error
javadoc JavadocMethod Missing a Javadoc comment. 80
 Error
javadoc JavadocMethod Missing a Javadoc comment. 110
 Error
whitespace ParenPad '(' is not followed by whitespace. 129
 Error
whitespace ParenPad ')' is not preceded with whitespace. 129
 Error
whitespace ParenPad ')' is not preceded with whitespace. 131
 Error
javadoc JavadocMethod Missing a Javadoc comment. 137
 Error
javadoc JavadocMethod Missing a Javadoc comment. 167
 Error
javadoc JavadocMethod Expected @param tag for 'listSubscriptionFavorites'. 187
 Error
javadoc JavadocMethod Expected @param tag for 'strNewOrder'. 187
 Error
javadoc JavadocMethod Expected @param tag for 'subToSet'. 187
 Error
whitespace ParenPad ')' is not preceded with whitespace. 202
 Error
whitespace ParenPad ')' is not preceded with whitespace. 207
 Error
javadoc JavadocMethod Expected @return tag. 229
 Error
javadoc JavadocMethod Expected @param tag for 'strIdFavorite'. 229
 Error
javadoc JavadocMethod Expected @param tag for 'listSubscriptionFavorites'. 229
 Error
whitespace ParenPad ')' is not preceded with whitespace. 231

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