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
3 0 0 11

Files

File
 I
 W
 E
fr/paris/lutece/test/LuteceTestCase.java 0 0 7
fr/paris/lutece/test/MokeHttpServletRequest.java 0 0 1
fr/paris/lutece/test/Utils.java 0 0 3

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
1
 Error
coding ExplicitInitialization 1
 Error
design HideUtilityClassConstructor 1
 Error
VisibilityModifier 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
3
 Error
imports AvoidStarImport 1
 Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
3
 Error
RegexpSinglelineJava
  • format: "System\.out\.println"
3
 Error

Details

fr/paris/lutece/test/LuteceTestCase.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 - junit.framework.*. 39
 Error
coding ExplicitInitialization Variable '_bInit' explicitly initialized to 'false' (default value for its type). 50
 Error
design VisibilityModifier Variable '_bInit' must be private and have accessor methods. 50
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 102
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 107
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 110

fr/paris/lutece/test/MokeHttpServletRequest.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/test/Utils.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 HideUtilityClassConstructor Utility classes should not have a public or default constructor. 66
 Error
blocks LeftCurly '{' at column 42 should be on a new line. 221