Checkstyle Results
The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset.
Summary
Files |
Info |
Warnings |
Errors |
13 |
0 |
0 |
37 |
Details
fr/paris/lutece/plugins/example/business/ExtendedProject.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 |
VisibilityModifier |
Variable '_hit' must be private and have accessor methods. |
47 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
49 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
54 |
fr/paris/lutece/plugins/example/business/IProjectDAO.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/example/business/Project.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.*. |
38 |
Error |
imports |
UnusedImports |
Unused import - java.io.Serializable. |
42 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
53 |
Error |
coding |
DeclarationOrder |
Static variable definition in wrong order. |
75 |
fr/paris/lutece/plugins/example/business/ProjectDAO.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/example/business/ProjectHome.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/example/service/ProjectCacheService.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 'strId'. |
87 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'user'. |
87 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strId'. |
109 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'user'. |
109 |
fr/paris/lutece/plugins/example/service/ProjectExtendableResourceService.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. |
46 |
Error |
naming |
MemberName |
Name 'MESSAGE_KEY_PROJECT_RESOURCE_TYPE_DESCRIPTION' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. |
48 |
fr/paris/lutece/plugins/example/web/ManageProjectJspBean.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/example/web/ProjectJspBean.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/example/web/ProjectXPage.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.portal.web.resource.ExtendableResourcePluginActionManager. |
48 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
100 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'SiteMessageException'. |
161 |
fr/paris/lutece/plugins/example/web/rs/ProjectRest.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.HashMap. |
37 |
Error |
imports |
UnusedImports |
Unused import - java.util.Map. |
38 |
Error |
javadoc |
JavadocType |
Missing a Javadoc comment. |
62 |
Error |
coding |
DeclarationOrder |
Static variable definition in wrong order. |
67 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'JsonProcessingException'. |
78 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'nId'. |
95 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'SiteMessageException'. |
95 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'nId'. |
118 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'SiteMessageException'. |
118 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'project'. |
144 |