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
14 0 0 198

Rules

Category Rule Violations Severity
blocks EmptyBlock 1  Error
LeftCurly
  • option: "nl"
11  Error
NeedBraces 3  Error
RightCurly
  • option: "alone"
1  Error
coding DeclarationOrder 20  Error
ExplicitInitialization 5  Error
HiddenField 9  Error
design HideUtilityClassConstructor 1  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/tech-plugin-gis-doc-QA/workspace/target/checkstyle-header.txt"
12  Error
imports UnusedImports 3  Error
javadoc JavadocMethod 56  Error
JavadocType 2  Error
modifier RedundantModifier 6  Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
4  Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
7  Error
StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
3  Error
whitespace ParenPad
  • option: "space"
54  Error

Details

fr/paris/lutece/plugins/gis/business/IViewDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error modifier RedundantModifier Redundant 'public' modifier. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 46
 Error modifier RedundantModifier Redundant 'public' modifier. 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error modifier RedundantModifier Redundant 'public' modifier. 48

fr/paris/lutece/plugins/gis/business/LonLat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of '/*'. 1
 Error naming MemberName Name 'longitude' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 9
 Error coding ExplicitInitialization Variable 'longitude' explicitly initialized to '0' (default value for its type). 9
 Error naming MemberName Name 'latitude' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 11
 Error coding ExplicitInitialization Variable 'latitude' explicitly initialized to '0' (default value for its type). 11
 Error whitespace ParenPad '(' is not followed by whitespace. 19
 Error coding HiddenField 'longitude' hides a field. 19
 Error javadoc JavadocMethod Expected @param tag for 'longitude'. 19
 Error coding HiddenField 'latitude' hides a field. 19
 Error javadoc JavadocMethod Expected @param tag for 'latitude'. 19
 Error whitespace ParenPad ')' is not preceded with whitespace. 19

fr/paris/lutece/plugins/gis/business/View.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocType Missing a Javadoc comment. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 76
 Error javadoc JavadocMethod Missing a Javadoc comment. 81
 Error coding HiddenField '_strJsFile' hides a field. 81
 Error naming ParameterName Name '_strJsFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. 81
 Error javadoc JavadocMethod Missing a Javadoc comment. 86
 Error javadoc JavadocMethod Missing a Javadoc comment. 91
 Error coding HiddenField '_strServerName' hides a field. 91
 Error naming ParameterName Name '_strServerName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91
 Error javadoc JavadocMethod Missing a Javadoc comment. 96
 Error javadoc JavadocMethod Missing a Javadoc comment. 101
 Error javadoc JavadocMethod Missing a Javadoc comment. 106
 Error javadoc JavadocMethod Missing a Javadoc comment. 111
 Error javadoc JavadocMethod Missing a Javadoc comment. 116
 Error javadoc JavadocMethod Missing a Javadoc comment. 121
 Error coding HiddenField '_strFeatureNS' hides a field. 121
 Error naming ParameterName Name '_strFeatureNS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 121
 Error javadoc JavadocMethod Missing a Javadoc comment. 126
 Error javadoc JavadocMethod Missing a Javadoc comment. 131
 Error coding HiddenField '_strAvailableParameters' hides a field. 131
 Error naming ParameterName Name '_strAvailableParameters' must match pattern '^[a-z][a-zA-Z0-9]*$'. 131
 Error javadoc JavadocMethod Missing a Javadoc comment. 136
 Error javadoc JavadocMethod Missing a Javadoc comment. 141
 Error coding HiddenField '_strAvailableParametersLayers' hides a field. 141
 Error naming ParameterName Name '_strAvailableParametersLayers' must match pattern '^[a-z][a-zA-Z0-9]*$'. 141
 Error javadoc JavadocMethod Missing a Javadoc comment. 146
 Error javadoc JavadocMethod Missing a Javadoc comment. 151
 Error coding HiddenField '_strAvailableParametersStyles' hides a field. 151
 Error naming ParameterName Name '_strAvailableParametersStyles' must match pattern '^[a-z][a-zA-Z0-9]*$'. 151
 Error javadoc JavadocMethod Missing a Javadoc comment. 156
 Error javadoc JavadocMethod Missing a Javadoc comment. 161
 Error coding HiddenField '_strAvailableParametersStyleRules' hides a field. 161
 Error naming ParameterName Name '_strAvailableParametersStyleRules' must match pattern '^[a-z][a-zA-Z0-9]*$'. 161
 Error javadoc JavadocMethod Missing a Javadoc comment. 166

fr/paris/lutece/plugins/gis/business/ViewDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error coding DeclarationOrder Variable access definition in wrong order. 49
 Error coding DeclarationOrder Variable access definition in wrong order. 50
 Error coding DeclarationOrder Variable access definition in wrong order. 51
 Error coding DeclarationOrder Variable access definition in wrong order. 52
 Error coding DeclarationOrder Variable access definition in wrong order. 53
 Error coding DeclarationOrder Variable access definition in wrong order. 54
 Error coding DeclarationOrder Variable access definition in wrong order. 55
 Error coding DeclarationOrder Variable access definition in wrong order. 56
 Error coding DeclarationOrder Variable access definition in wrong order. 57
 Error coding DeclarationOrder Variable access definition in wrong order. 58
 Error coding DeclarationOrder Variable access definition in wrong order. 59
 Error coding DeclarationOrder Variable access definition in wrong order. 60
 Error coding DeclarationOrder Variable access definition in wrong order. 61
 Error coding DeclarationOrder Variable access definition in wrong order. 62
 Error coding DeclarationOrder Variable access definition in wrong order. 63
 Error coding DeclarationOrder Variable access definition in wrong order. 64
 Error coding DeclarationOrder Variable access definition in wrong order. 65
 Error coding DeclarationOrder Variable access definition in wrong order. 66
 Error coding DeclarationOrder Variable access definition in wrong order. 67
 Error coding DeclarationOrder Variable access definition in wrong order. 68
 Error javadoc JavadocMethod Missing a Javadoc comment. 70
 Error javadoc JavadocMethod Missing a Javadoc comment. 75
 Error javadoc JavadocMethod Missing a Javadoc comment. 193
 Error javadoc JavadocMethod Missing a Javadoc comment. 207

fr/paris/lutece/plugins/gis/business/ViewHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 61

fr/paris/lutece/plugins/gis/service/GisPlugin.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/gis/service/GisService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.util.html.HtmlTemplate. 40
 Error javadoc JavadocMethod Expected @param tag for 'strGisCode'. 90
 Error javadoc JavadocMethod Expected @param tag for 'strXpageViewName'. 90
 Error javadoc JavadocMethod Expected @param tag for 'request'. 90
 Error blocks LeftCurly '{' at column 28 should be on a new line. 94
 Error whitespace ParenPad ')' is not preceded with whitespace. 97
 Error javadoc JavadocMethod Expected an @return tag. 111
 Error javadoc JavadocMethod Expected @param tag for 'strGisCode'. 111
 Error javadoc JavadocMethod Expected @param tag for 'parameters'. 111
 Error javadoc JavadocMethod Expected @param tag for 'request'. 111
 Error blocks LeftCurly '{' at column 29 should be on a new line. 115
 Error whitespace ParenPad '(' is not followed by whitespace. 116
 Error whitespace ParenPad '(' is not followed by whitespace. 116
 Error whitespace ParenPad ')' is not preceded with whitespace. 116
 Error whitespace ParenPad ')' is not preceded with whitespace. 116
 Error whitespace ParenPad '(' is not followed by whitespace. 128
 Error javadoc JavadocMethod Expected @param tag for 'view'. 128
 Error javadoc JavadocMethod Expected @param tag for 'request'. 128
 Error whitespace ParenPad ')' is not preceded with whitespace. 128
 Error javadoc JavadocMethod Expected @param tag for 'templateFile'. 145
 Error javadoc JavadocMethod Expected @param tag for 'model'. 146
 Error javadoc JavadocMethod Expected @param tag for 'request'. 146

fr/paris/lutece/plugins/gis/service/IAddressServiceFacade.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of '/*'. 1
 Error blocks LeftCurly '{' at column 40 should be on a new line. 14
 Error modifier RedundantModifier Redundant 'public' modifier. 26
 Error whitespace ParenPad '(' is not followed by whitespace. 26
 Error whitespace ParenPad ')' is not preceded with whitespace. 26
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 27
 Error modifier RedundantModifier Redundant 'public' modifier. 40
 Error whitespace ParenPad '(' is not followed by whitespace. 40
 Error whitespace ParenPad ')' is not preceded with whitespace. 40
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 41

fr/paris/lutece/plugins/gis/web/GisAddressJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of '/*'. 1
 Error naming StaticVariableName Name 'addressServiceFacade' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 34
 Error coding ExplicitInitialization Variable 'addressServiceFacade' explicitly initialized to 'null' (default value for its type). 34
 Error naming StaticVariableName Name 'logger' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 35
 Error coding ExplicitInitialization Variable 'logger' explicitly initialized to 'null' (default value for its type). 35
 Error blocks LeftCurly '{' at column 9 should be on a new line. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 43
 Error blocks LeftCurly '{' at column 58 should be on a new line. 43
 Error blocks NeedBraces 'if' construct must use '{}'s. 45
 Error whitespace ParenPad ')' is not preceded with whitespace. 45
 Error blocks LeftCurly '{' at column 7 should be on a new line. 48
 Error blocks RightCurly '}' at column 3 should be alone on a line. 51
 Error blocks LeftCurly '{' at column 47 should be on a new line. 51
 Error whitespace ParenPad '(' is not followed by whitespace. 52
 Error whitespace ParenPad '(' is not followed by whitespace. 52
 Error whitespace ParenPad ')' is not preceded with whitespace. 52
 Error whitespace ParenPad ')' is not preceded with whitespace. 52
 Error whitespace ParenPad '(' is not followed by whitespace. 64
 Error whitespace ParenPad ')' is not preceded with whitespace. 64
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 65
 Error whitespace ParenPad '(' is not followed by whitespace. 68
 Error whitespace ParenPad ')' is not preceded with whitespace. 68
 Error whitespace ParenPad '(' is not followed by whitespace. 69
 Error whitespace ParenPad ')' is not preceded with whitespace. 69
 Error whitespace ParenPad '(' is not followed by whitespace. 72
 Error whitespace ParenPad ')' is not preceded with whitespace. 72
 Error whitespace ParenPad '(' is not followed by whitespace. 84
 Error whitespace ParenPad ')' is not preceded with whitespace. 84
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 85
 Error whitespace ParenPad '(' is not followed by whitespace. 88
 Error whitespace ParenPad ')' is not preceded with whitespace. 88
 Error whitespace ParenPad '(' is not followed by whitespace. 89
 Error whitespace ParenPad ')' is not preceded with whitespace. 89
 Error whitespace ParenPad '(' is not followed by whitespace. 90
 Error whitespace ParenPad ')' is not preceded with whitespace. 90
 Error blocks LeftCurly '{' at column 4 should be on a new line. 96
 Error whitespace ParenPad '(' is not followed by whitespace. 97
 Error whitespace ParenPad '(' is not followed by whitespace. 97
 Error whitespace ParenPad ')' is not preceded with whitespace. 97
 Error whitespace ParenPad '(' is not followed by whitespace. 97
 Error whitespace ParenPad ')' is not preceded with whitespace. 97
 Error whitespace ParenPad ')' is not preceded with whitespace. 97
 Error whitespace ParenPad '(' is not followed by whitespace. 99
 Error whitespace ParenPad ')' is not preceded with whitespace. 99

fr/paris/lutece/plugins/gis/web/GisJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.SiteMessageException. 37
 Error imports UnusedImports Unused import - fr.paris.lutece.portal.service.security.UserNotSignedException. 38
 Error javadoc JavadocType Missing a Javadoc comment. 48
 Error javadoc JavadocMethod Unused @param tag for 'nMode'. 70
 Error javadoc JavadocMethod Expected an @return tag. 75
 Error javadoc JavadocMethod Unused @param tag for 'nMode'. 86
 Error javadoc JavadocMethod Expected an @return tag. 91

fr/paris/lutece/plugins/gis/web/ProxyGeoServer.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error naming MemberName Name 'servletContext' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 70
 Error naming MemberName Name 'log' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 79
 Error javadoc JavadocMethod Missing a Javadoc comment. 101
 Error javadoc JavadocMethod Missing a Javadoc comment. 107
 Error blocks NeedBraces 'while' construct must use '{}'s. 160
 Error blocks NeedBraces 'while' construct must use '{}'s. 185
 Error blocks EmptyBlock Must have at least one statement. 199

fr/paris/lutece/plugins/gis/web/xpage/GisXPageApplication.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of '/*'. 1
 Error blocks LeftCurly '{' at column 61 should be on a new line. 18
 Error naming StaticVariableName Name 'gisService' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 34
 Error coding ExplicitInitialization Variable 'gisService' explicitly initialized to 'null' (default value for its type). 34
 Error blocks LeftCurly '{' at column 9 should be on a new line. 39
 Error whitespace ParenPad '(' is not followed by whitespace. 48
 Error whitespace ParenPad ')' is not preceded with whitespace. 48
 Error blocks LeftCurly '{' at column 56 should be on a new line. 49
 Error modifier RedundantModifier Redundant 'final' modifier. 71
 Error whitespace ParenPad '(' is not followed by whitespace. 71
 Error whitespace ParenPad ')' is not preceded with whitespace. 71
 Error whitespace ParenPad '(' is not followed by whitespace. 74
 Error whitespace ParenPad ')' is not preceded with whitespace. 74
 Error whitespace ParenPad '(' is not followed by whitespace. 75
 Error whitespace ParenPad ')' is not preceded with whitespace. 75
 Error whitespace ParenPad '(' is not followed by whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 76
 Error whitespace ParenPad '(' is not followed by whitespace. 77
 Error whitespace ParenPad ')' is not preceded with whitespace. 77