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
16 0 0 64

Files

File
 I
 W
 E
fr/paris/lutece/plugins/profanityfilter/business/Counter.java 0 0 7
fr/paris/lutece/plugins/profanityfilter/business/CounterDAO.java 0 0 1
fr/paris/lutece/plugins/profanityfilter/business/CounterHome.java 0 0 7
fr/paris/lutece/plugins/profanityfilter/business/ICounterDAO.java 0 0 5
fr/paris/lutece/plugins/profanityfilter/business/IWordDAO.java 0 0 1
fr/paris/lutece/plugins/profanityfilter/business/Word.java 0 0 3
fr/paris/lutece/plugins/profanityfilter/business/WordDAO.java 0 0 1
fr/paris/lutece/plugins/profanityfilter/business/WordHome.java 0 0 1
fr/paris/lutece/plugins/profanityfilter/service/IProfanityFilter.java 0 0 8
fr/paris/lutece/plugins/profanityfilter/service/ProfanityFilter.java 0 0 9
fr/paris/lutece/plugins/profanityfilter/utils/ProfanityResult.java 0 0 7
fr/paris/lutece/plugins/profanityfilter/web/FilterXPage.java 0 0 5
fr/paris/lutece/plugins/profanityfilter/web/ManageProfanityfilterJspBean.java 0 0 6
fr/paris/lutece/plugins/profanityfilter/web/WordJspBean.java 0 0 3

Rules

Category Rule Violations Severity
coding DeclarationOrder 2
 Error
ExplicitInitialization 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
14
 Error
imports AvoidStarImport 4
 Error
javadoc JavadocMethod 34
 Error
JavadocType 3
 Error
modifier RedundantModifier 3
 Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
3
 Error

Details

fr/paris/lutece/plugins/profanityfilter/business/Counter.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 - org.hibernate.validator.constraints.*. 36
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - javax.validation.constraints.*. 38
 Error
javadoc JavadocMethod Unused @param tag for 'strValue'. 84
 Error
javadoc JavadocMethod Expected @param tag for 'strResourceType'. 87
 Error
javadoc JavadocMethod Unused @param tag for 'nId'. 105
 Error
javadoc JavadocMethod Expected @param tag for 'ncounter'. 108

fr/paris/lutece/plugins/profanityfilter/business/CounterDAO.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/profanityfilter/business/CounterHome.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 Unused @param tag for 'word'. 61
 Error
javadoc JavadocMethod Expected @param tag for 'counter'. 65
 Error
javadoc JavadocMethod Unused @param tag for 'word'. 75
 Error
javadoc JavadocMethod Expected @param tag for 'counter'. 79
 Error
javadoc JavadocMethod Unused @param tag for 'nKey'. 103
 Error
javadoc JavadocMethod Expected @param tag for 'strReourceType'. 107

fr/paris/lutece/plugins/profanityfilter/business/ICounterDAO.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 Unused @param tag for 'word'. 48
 Error
javadoc JavadocMethod Expected @param tag for 'counter'. 53
 Error
javadoc JavadocMethod Unused @param tag for 'word'. 58
 Error
javadoc JavadocMethod Expected @param tag for 'counter'. 63

fr/paris/lutece/plugins/profanityfilter/business/IWordDAO.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/profanityfilter/business/Word.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 - org.hibernate.validator.constraints.*. 36
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - javax.validation.constraints.*. 38

fr/paris/lutece/plugins/profanityfilter/business/WordDAO.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/profanityfilter/business/WordHome.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/profanityfilter/service/IProfanityFilter.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
modifier RedundantModifier Redundant 'public' modifier. 48
 Error
modifier RedundantModifier Redundant 'public' modifier. 57
 Error
javadoc JavadocMethod Expected @param tag for 'sourceType'. 57
 Error
javadoc JavadocMethod Expected @return tag. 65
 Error
modifier RedundantModifier Redundant 'public' modifier. 65
 Error
javadoc JavadocMethod Expected @param tag for 'strResourceTyp'. 65

fr/paris/lutece/plugins/profanityfilter/service/ProfanityFilter.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. 50
 Error
coding DeclarationOrder Variable access definition in wrong order. 55
 Error
coding DeclarationOrder Variable access definition in wrong order. 56
 Error
naming LocalVariableName Name '_isSwearWords' must match pattern '^[a-z][a-zA-Z0-9]*$'. 85
 Error
naming LocalVariableName Name '_isSwearWords' must match pattern '^[a-z][a-zA-Z0-9]*$'. 131
 Error
javadoc JavadocMethod Expected @param tag for 'collection'. 170
 Error
javadoc JavadocMethod Expected @param tag for 'element'. 170
 Error
javadoc JavadocMethod Expected @param tag for 'source'. 195

fr/paris/lutece/plugins/profanityfilter/utils/ProfanityResult.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
coding ExplicitInitialization Variable '_bIsSwearWords' explicitly initialized to 'false' (default value for its type). 43
 Error
javadoc JavadocMethod Expected @param tag for 'strWord'. 51
 Error
javadoc JavadocMethod Expected @param tag for 'nNumberSwearWords'. 81
 Error
javadoc JavadocMethod Expected @param tag for 'bIsSwearWords'. 101
 Error
javadoc JavadocMethod Expected @param tag for 'nCounterSwearWord'. 121

fr/paris/lutece/plugins/profanityfilter/web/FilterXPage.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 @return tag. 112
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 113
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 113
 Error
naming LocalVariableName Name '_filterService' must match pattern '^[a-z][a-zA-Z0-9]*$'. 118

fr/paris/lutece/plugins/profanityfilter/web/ManageProfanityfilterJspBean.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 @return tag. 72
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 72
 Error
javadoc JavadocMethod Expected @param tag for 'strBookmark'. 72
 Error
javadoc JavadocMethod Expected @param tag for 'list'. 72
 Error
javadoc JavadocMethod Expected @param tag for 'strManageJsp'. 72

fr/paris/lutece/plugins/profanityfilter/web/WordJspBean.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 @return tag. 106
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 107