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
8 0 1 22

Files

File
 I
 W
 E
fr/paris/lutece/plugins/childpages/business/portlet/ChildPagesPortlet.java 0 0 2
fr/paris/lutece/plugins/childpages/business/portlet/ChildPagesPortletDAO.java 0 0 1
fr/paris/lutece/plugins/childpages/business/portlet/ChildPagesPortletHome.java 0 0 3
fr/paris/lutece/plugins/childpages/business/portlet/EventListener.java 0 1 5
fr/paris/lutece/plugins/childpages/business/portlet/IChildPagesPortletDAO.java 0 0 8
fr/paris/lutece/plugins/childpages/web/portlet/ChildPagesPortletJspBean.java 0 0 3

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
2
 Error
RightCurly
  • option: "alone"
2
 Error
coding ExplicitInitialization 1
 Error
ReturnCount
  • max: "5"
1
 Warning
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
6
 Error
javadoc JavadocMethod 2
 Error
modifier RedundantModifier 7
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1
 Error
whitespace ParenPad
  • option: "space"
1
 Error

Details

fr/paris/lutece/plugins/childpages/business/portlet/ChildPagesPortlet.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 RightCurly '}' at column 9 should be alone on a line. 108

fr/paris/lutece/plugins/childpages/business/portlet/ChildPagesPortletDAO.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/childpages/business/portlet/ChildPagesPortletHome.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
coding ExplicitInitialization Variable '_singleton' explicitly initialized to 'null' (default value for its type). 56
 Error
whitespace ParenPad ')' is not preceded with whitespace. 151

fr/paris/lutece/plugins/childpages/business/portlet/EventListener.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
naming MemberName Name 'secondaryEvent' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 55
 Error
blocks LeftCurly '{' at column 54 should be on a new line. 62
 Warning
coding ReturnCount Return count is 2 (max allowed for void methods/constructors/lambdas is 1). 78
 Error
blocks LeftCurly '{' at column 13 should be on a new line. 90
 Error
blocks RightCurly '}' at column 9 should be alone on a line. 127

fr/paris/lutece/plugins/childpages/business/portlet/IChildPagesPortletDAO.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. 55
 Error
modifier RedundantModifier Redundant 'public' modifier. 63
 Error
modifier RedundantModifier Redundant 'public' modifier. 72
 Error
modifier RedundantModifier Redundant 'public' modifier. 81
 Error
modifier RedundantModifier Redundant 'public' modifier. 89
 Error
modifier RedundantModifier Redundant 'public' modifier. 96
 Error
modifier RedundantModifier Redundant 'public' modifier. 104

fr/paris/lutece/plugins/childpages/web/portlet/ChildPagesPortletJspBean.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 Missing a Javadoc comment. 105
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 255