Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
16 0 0 106

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
4  Error
RightCurly
  • option: "alone"
1  Error
coding DeclarationOrder 3  Error
ParameterAssignment 1  Error
design FinalClass 1  Error
VisibilityModifier 4  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/myapps-module-myportal-rss-doc-QA/workspace/target/checkstyle-header.txt"
14  Error
imports AvoidStarImport 4  Error
UnusedImports 2  Error
javadoc JavadocMethod 6  Error
misc Translation 1  Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
4  Error
whitespace ParenPad
  • option: "space"
55  Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
6  Error

Details

fr/paris/lutece/plugins/myportal/modules/rss/business/Category.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de 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.*. 37

fr/paris/lutece/plugins/myportal/modules/rss/business/CategoryDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad ')' is not preceded with whitespace. 66

fr/paris/lutece/plugins/myportal/modules/rss/business/CategoryHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad ')' is not preceded with whitespace. 99
 Error whitespace ParenPad '(' is not followed by whitespace. 126
 Error whitespace ParenPad ')' is not preceded with whitespace. 135

fr/paris/lutece/plugins/myportal/modules/rss/business/ICategoryDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2

fr/paris/lutece/plugins/myportal/modules/rss/business/IRssConfDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error javadoc JavadocMethod Missing a Javadoc comment. 100

fr/paris/lutece/plugins/myportal/modules/rss/business/RssConf.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de 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.*. 37

fr/paris/lutece/plugins/myportal/modules/rss/business/RssConfDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad ')' is not preceded with whitespace. 64

fr/paris/lutece/plugins/myportal/modules/rss/business/RssConfHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad ')' is not preceded with whitespace. 99
 Error whitespace ParenPad '(' is not followed by whitespace. 126
 Error javadoc JavadocMethod Expected an @return tag. 134
 Error javadoc JavadocMethod Expected @param tag for 'nIdCategory'. 134
 Error whitespace ParenPad ')' is not preceded with whitespace. 134
 Error whitespace ParenPad '(' is not followed by whitespace. 136

fr/paris/lutece/plugins/myportal/modules/rss/resources/rss_messages.properties

Severity Category Rule Message Line
 Error misc Translation Key 'module.provider' missing.

fr/paris/lutece/plugins/myportal/modules/rss/service/RssAdvancedWidgetHandler.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - org.apache.commons.lang.StringUtils. 51
 Error naming MemberName Name 'NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 58
 Error design VisibilityModifier Variable 'NAME' must be private and have accessor methods. 58
 Error naming MemberName Name 'DESCRIPTION' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 59
 Error design VisibilityModifier Variable 'DESCRIPTION' must be private and have accessor methods. 59
 Error whitespace ParenPad ')' is not preceded with whitespace. 81
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 83
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 84
 Error coding ParameterAssignment Assignment of parameter 'user' is not allowed. 85
 Error whitespace ParenPad '(' is not followed by whitespace. 85
 Error whitespace ParenPad ')' is not preceded with whitespace. 85
 Error whitespace ParenPad ')' is not preceded with whitespace. 87
 Error blocks LeftCurly '{' at column 22 should be on a new line. 87
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 89
 Error whitespace ParenPad '(' is not followed by whitespace. 89
 Error whitespace ParenPad ')' is not preceded with whitespace. 89
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 90
 Error whitespace ParenPad '(' is not followed by whitespace. 90
 Error whitespace ParenPad ')' is not preceded with whitespace. 90
 Error whitespace ParenPad '(' is not followed by whitespace. 91
 Error whitespace ParenPad '(' is not followed by whitespace. 91
 Error whitespace ParenPad ')' is not preceded with whitespace. 91
 Error whitespace ParenPad ')' is not preceded with whitespace. 91
 Error whitespace ParenPad '(' is not followed by whitespace. 93
 Error whitespace ParenPad ')' is not preceded with whitespace. 93
 Error blocks LeftCurly '{' at column 39 should be on a new line. 93
 Error whitespace ParenPad '(' is not followed by whitespace. 95
 Error whitespace ParenPad '(' is not followed by whitespace. 95
 Error whitespace ParenPad ')' is not preceded with whitespace. 95
 Error whitespace ParenPad ')' is not preceded with whitespace. 95
 Error blocks LeftCurly '{' at column 102 should be on a new line. 95
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 97
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 98
 Error blocks LeftCurly '{' at column 48 should be on a new line. 104
 Error whitespace ParenPad '(' is not followed by whitespace. 106
 Error whitespace ParenPad ')' is not preceded with whitespace. 106
 Error whitespace ParenPad ')' is not preceded with whitespace. 107

fr/paris/lutece/plugins/myportal/modules/rss/service/RssWidgetHandler.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error naming MemberName Name 'NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 48
 Error design VisibilityModifier Variable 'NAME' must be private and have accessor methods. 48
 Error naming MemberName Name 'DESCRIPTION' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 49
 Error design VisibilityModifier Variable 'DESCRIPTION' must be private and have accessor methods. 49
 Error coding DeclarationOrder Static variable definition in wrong order. 50
 Error coding DeclarationOrder Static variable definition in wrong order. 51
 Error whitespace ParenPad ')' is not preceded with whitespace. 74

fr/paris/lutece/plugins/myportal/modules/rss/service/RssWidgetService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.portal.service.cache.AbstractCacheableService. 38
 Error design FinalClass Class RssWidgetService should be declared as final. 49
 Error coding DeclarationOrder Variable access definition in wrong order. 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 70
 Error javadoc JavadocMethod Missing a Javadoc comment. 75
 Error whitespace ParenPad '(' is not followed by whitespace. 75
 Error whitespace ParenPad '(' is not followed by whitespace. 80
 Error whitespace ParenPad ')' is not preceded with whitespace. 80
 Error whitespace ParenPad ')' is not preceded with whitespace. 81
 Error whitespace ParenPad '(' is not followed by whitespace. 93
 Error whitespace ParenPad ')' is not preceded with whitespace. 93
 Error whitespace ParenPad '(' is not followed by whitespace. 100
 Error whitespace ParenPad ')' is not preceded with whitespace. 100
 Error blocks RightCurly '}' at column 9 should be alone on a line. 101
 Error whitespace ParenPad '(' is not followed by whitespace. 101
 Error whitespace ParenPad ')' is not preceded with whitespace. 101
 Error javadoc JavadocMethod Missing a Javadoc comment. 107
 Error whitespace ParenPad '(' is not followed by whitespace. 112
 Error whitespace ParenPad ')' is not preceded with whitespace. 112

fr/paris/lutece/plugins/myportal/modules/rss/web/CategoryJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad ')' is not preceded with whitespace. 200

fr/paris/lutece/plugins/myportal/modules/rss/web/ManageRssJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2

fr/paris/lutece/plugins/myportal/modules/rss/web/RssConfJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 116
 Error whitespace ParenPad ')' is not preceded with whitespace. 116
 Error whitespace ParenPad '(' is not followed by whitespace. 133
 Error whitespace ParenPad ')' is not preceded with whitespace. 133
 Error whitespace ParenPad '(' is not followed by whitespace. 135
 Error whitespace ParenPad ')' is not preceded with whitespace. 135
 Error whitespace ParenPad ')' is not preceded with whitespace. 208
 Error whitespace ParenPad '(' is not followed by whitespace. 214
 Error whitespace ParenPad ')' is not preceded with whitespace. 214
 Error whitespace ParenPad '(' is not followed by whitespace. 216
 Error whitespace ParenPad ')' is not preceded with whitespace. 216