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
13 0 0 37

Files

File
 I
 W
 E
fr/paris/lutece/plugins/example/business/ExtendedProject.java 0 0 4
fr/paris/lutece/plugins/example/business/IProjectDAO.java 0 0 1
fr/paris/lutece/plugins/example/business/Project.java 0 0 5
fr/paris/lutece/plugins/example/business/ProjectDAO.java 0 0 1
fr/paris/lutece/plugins/example/business/ProjectHome.java 0 0 1
fr/paris/lutece/plugins/example/service/ProjectCacheService.java 0 0 5
fr/paris/lutece/plugins/example/service/ProjectExtendableResourceService.java 0 0 3
fr/paris/lutece/plugins/example/web/ManageProjectJspBean.java 0 0 1
fr/paris/lutece/plugins/example/web/ProjectJspBean.java 0 0 1
fr/paris/lutece/plugins/example/web/ProjectXPage.java 0 0 4
fr/paris/lutece/plugins/example/web/rs/ProjectRest.java 0 0 11

Rules

Category Rule Violations Severity
coding DeclarationOrder 3
 Error
design VisibilityModifier 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
11
 Error
imports AvoidStarImport 1
 Error
UnusedImports 4
 Error
javadoc JavadocMethod 14
 Error
JavadocType 2
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1
 Error

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