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 2 55

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
2  Error
NeedBraces 8  Error
coding ArrayTrailingComma 2  Error
DeclarationOrder 1  Error
ReturnCount
  • max: "5"
2  Warning
imports UnusedImports 2  Error
javadoc JavadocMethod 13  Error
misc Translation 4  Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
1  Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
1  Error
whitespace ParenPad
  • option: "space"
20  Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
1  Error

Details

fr/paris/lutece/plugins/files2docs/resources/files2docs_messages.properties

Severity Category Rule Message Line
 Error misc Translation Key 'degradedMode.buttonCancel' missing.
 Error misc Translation Key 'degradedMode.buttonSubmit' missing.
 Error misc Translation Key 'degradedMode.labelSpace' missing.
 Error misc Translation Key 'selectFiles.buttonStart' missing.

fr/paris/lutece/plugins/files2docs/service/Files2DocsLinkDocument.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Expected @param tag for 'bIsForCreate'. 105

fr/paris/lutece/plugins/files2docs/web/Files2DocsJspBean.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.time.LocalDate. 108
 Error imports UnusedImports Unused import - org.apache.commons.lang.time.DateFormatUtils. 113
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 199
 Error coding ArrayTrailingComma Array should contain trailing comma. 235
 Error coding DeclarationOrder Static variable definition in wrong order. 274
 Error javadoc JavadocMethod Unused @param tag for 'file'. 377
 Error javadoc JavadocMethod Expected @param tag for 'strFileName'. 381
 Error whitespace ParenPad '(' is not followed by whitespace. 593
 Error whitespace ParenPad ')' is not preceded with whitespace. 593
 Error whitespace ParenPad '(' is not followed by whitespace. 594
 Error whitespace ParenPad ')' is not preceded with whitespace. 594
 Error whitespace ParenPad '(' is not followed by whitespace. 600
 Error blocks NeedBraces 'if' construct must use '{}'s. 637
 Error whitespace ParenPad '(' is not followed by whitespace. 637
 Error whitespace ParenPad ')' is not preceded with whitespace. 637
 Error blocks NeedBraces 'if' construct must use '{}'s. 638
 Error whitespace ParenPad '(' is not followed by whitespace. 638
 Error whitespace ParenPad ')' is not preceded with whitespace. 638
 Error blocks NeedBraces 'if' construct must use '{}'s. 787
 Error whitespace ParenPad '(' is not followed by whitespace. 805
 Error blocks NeedBraces 'if' construct must use '{}'s. 853
 Error whitespace ParenPad '(' is not followed by whitespace. 853
 Error javadoc JavadocMethod Expected an @return tag. 865
 Error javadoc JavadocMethod Expected @param tag for 'request'. 865
 Error javadoc JavadocMethod Expected @param tag for 'space'. 865
 Warning coding ReturnCount Return count is 7 (max allowed is 5). 909
 Error blocks NeedBraces 'if' construct must use '{}'s. 1050
 Error whitespace ParenPad '(' is not followed by whitespace. 1050
 Error javadoc JavadocMethod Unused @param tag for 'String'. 1168
 Error javadoc JavadocMethod Unused @param tag for 'long'. 1170
 Error javadoc JavadocMethod Expected @param tag for 'fileName'. 1173
 Error javadoc JavadocMethod Expected @param tag for 'fileLength'. 1173
 Warning coding ReturnCount Return count is 8 (max allowed is 5). 1409
 Error whitespace ParenPad '(' is not followed by whitespace. 1657
 Error blocks LeftCurly '{' at column 41 should be on a new line. 1657
 Error coding ArrayTrailingComma Array should contain trailing comma. 1804
 Error javadoc JavadocMethod Expected @param tag for 'url'. 1815
 Error javadoc JavadocMethod Expected @param tag for 'param'. 1815
 Error javadoc JavadocMethod Expected @param tag for 'new_value'. 1815
 Error naming ParameterName Name 'new_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1815
 Error blocks LeftCurly '{' at column 87 should be on a new line. 1815
 Error blocks NeedBraces 'if' construct must use '{}'s. 1817
 Error whitespace ParenPad '(' is not followed by whitespace. 1817
 Error whitespace ParenPad ')' is not preceded with whitespace. 1817
 Error blocks NeedBraces 'if' construct must use '{}'s. 1818
 Error whitespace ParenPad '(' is not followed by whitespace. 1818
 Error whitespace ParenPad ')' is not preceded with whitespace. 1818
 Error naming LocalVariableName Name 'new_url' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1821
 Error whitespace ParenPad ')' is not preceded with whitespace. 1821
 Error blocks NeedBraces 'if' construct must use '{}'s. 1822
 Error whitespace ParenPad '(' is not followed by whitespace. 1822
 Error whitespace ParenPad ')' is not preceded with whitespace. 1822