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 0 41

Files

File
 I
 W
 E
fr/paris/lutece/plugins/html2pdf/service/IPdfBuilder.java 0 0 11
fr/paris/lutece/plugins/html2pdf/service/PdfConverterService.java 0 0 4
fr/paris/lutece/plugins/html2pdf/service/PdfConverterServiceException.java 0 0 2
fr/paris/lutece/plugins/html2pdf/service/impl/OpenHtmlToPdfBuilder.java 0 0 7
fr/paris/lutece/plugins/html2pdf/utils/FontBuilder.java 0 0 6
fr/paris/lutece/plugins/html2pdf/utils/PDDocumentUtils.java 0 0 11

Rules

Category Rule Violations Severity
blocks NeedBraces 1
 Error
coding DeclarationOrder 2
 Error
ExplicitInitialization 1
 Error
design FinalClass 1
 Error
HideUtilityClassConstructor 2
 Error
VisibilityModifier 2
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
6
 Error
imports UnusedImports 5
 Error
javadoc JavadocMethod 10
 Error
JavadocType 5
 Error
misc ArrayTypeStyle
  • javaStyle: "true"
1
 Error
modifier RedundantModifier 5
 Error

Details

fr/paris/lutece/plugins/html2pdf/service/IPdfBuilder.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. 41
 Error
modifier RedundantModifier Redundant 'public' modifier. 56
 Error
modifier RedundantModifier Redundant 'public' modifier. 64
 Error
javadoc JavadocMethod Expected @param tag for 'strHtml'. 64
 Error
modifier RedundantModifier Redundant 'public' modifier. 71
 Error
modifier RedundantModifier Redundant 'public' modifier. 79
 Error
javadoc JavadocMethod Expected @param tag for 'mapOptions'. 79
 Error
modifier RedundantModifier Redundant 'public' modifier. 87
 Error
javadoc JavadocMethod Expected @param tag for 'out'. 87
 Error
javadoc JavadocMethod Expected @throws tag for 'PdfConverterServiceException'. 87

fr/paris/lutece/plugins/html2pdf/service/PdfConverterService.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 FinalClass Class PdfConverterService should be declared as final. 42
 Error
javadoc JavadocType Missing a Javadoc comment. 42
 Error
coding DeclarationOrder Static variable definition in wrong order. 48

fr/paris/lutece/plugins/html2pdf/service/PdfConverterServiceException.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. 36

fr/paris/lutece/plugins/html2pdf/service/impl/OpenHtmlToPdfBuilder.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. 38
 Error
javadoc JavadocType Missing a Javadoc comment. 50
 Error
design VisibilityModifier Variable '_isEditable' must be private and have accessor methods. 57
 Error
design VisibilityModifier Variable '_strHtml' must be private and have accessor methods. 58
 Error
coding ExplicitInitialization Variable '_doc' explicitly initialized to 'null' (default value for its type). 59
 Error
coding DeclarationOrder Static variable definition in wrong order. 61

fr/paris/lutece/plugins/html2pdf/utils/FontBuilder.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. 46
 Error
javadoc JavadocMethod Expected @param tag for 'pathFont'. 52
 Error
misc ArrayTypeStyle Array brackets at illegal position. 56
 Error
javadoc JavadocMethod Expected @param tag for 'builder'. 74
 Error
javadoc JavadocMethod Expected @param tag for 'pathFont'. 74

fr/paris/lutece/plugins/html2pdf/utils/PDDocumentUtils.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.awt.image.BufferedImage. 36
 Error
imports UnusedImports Unused import - java.nio.charset.StandardCharsets. 38
 Error
imports UnusedImports Unused import - java.util.HashMap. 39
 Error
imports UnusedImports Unused import - java.util.Map. 40
 Error
javadoc JavadocType Missing a Javadoc comment. 49
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 49
 Error
javadoc JavadocMethod Expected @param tag for 'builder'. 59
 Error
javadoc JavadocMethod Expected @throws tag for 'IOException'. 59
 Error
javadoc JavadocMethod Expected @param tag for 'document'. 79
 Error
blocks NeedBraces 'if' construct must use '{}'s. 83