Checkstyle Results
The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset.
Summary
Files |
Info |
Warnings |
Errors |
28 |
0 |
0 |
88 |
Details
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClient.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 |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
132 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
132 |
Error |
whitespace |
WhitespaceAround |
'=' is not followed by whitespace. |
135 |
Error |
whitespace |
WhitespaceAround |
'=' is not preceded with whitespace. |
135 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
135 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
135 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
137 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
137 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
137 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
137 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
140 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
140 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
148 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
148 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClientJson.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/mylutece/modules/oauth2/authentication/Oauth2Authentication.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.ArrayList. |
38 |
Error |
imports |
UnusedImports |
Unused import - java.util.stream.Collectors. |
42 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.plugins.mylutece.business.LuteceUserRoleDescription. |
49 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.plugins.mylutece.business.attribute.AttributeHome. |
50 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.plugins.mylutece.service.MyLutecePlugin. |
52 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.business.role.RoleHome. |
56 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.service.plugin.Plugin. |
57 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.service.plugin.PluginService. |
58 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
236 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
236 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
239 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
239 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/Oauth2User.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/mylutece/modules/oauth2/listener/Oauth2LuteceUserSessionListener.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/mylutece/modules/oauth2/listener/SessionTrackingModeSetter.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/mylutece/modules/oauth2/service/IOauth2LuteceUserSessionService.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 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
38 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
40 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
42 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
44 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/MyluteceOauth2Plugin.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/mylutece/modules/oauth2/service/Oauth2LuteceUserSession.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 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
42 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
49 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
54 |
Error |
coding |
HiddenField |
'_strIdSession' hides a field. |
54 |
Error |
naming |
ParameterName |
Name '_strIdSession' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
54 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
59 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
64 |
Error |
coding |
HiddenField |
'_strLuteceUserName' hides a field. |
64 |
Error |
naming |
ParameterName |
Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
64 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
69 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
74 |
Error |
coding |
HiddenField |
'_bUpToDate' hides a field. |
74 |
Error |
naming |
ParameterName |
Name '_bUpToDate' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
74 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2LuteceUserSessionService.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. |
43 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
50 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
62 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
74 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
85 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
104 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2Service.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 |
StaticVariableName |
Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. |
96 |
Error |
naming |
StaticVariableName |
Name 'ATTRIBUTE_USER_KEY_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. |
99 |
Error |
coding |
NestedIfDepth |
Nested if-else depth is 4 (max allowed is 3). |
152 |
Error |
coding |
NestedIfDepth |
Nested if-else depth is 4 (max allowed is 3). |
163 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
304 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'locale'. |
304 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
304 |
Error |
whitespace |
WhitespaceAround |
'=' is not preceded with whitespace. |
307 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
320 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
320 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
320 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Constants.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/mylutece/modules/oauth2/web/MyluteceOauth2Filter.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.HashSet. |
40 |
Error |
imports |
UnusedImports |
Unused import - org.apache.commons.collections.map.HashedMap. |
54 |
Error |
whitespace |
WhitespaceAround |
'=' is not followed by whitespace. |
133 |
Error |
whitespace |
WhitespaceAround |
'=' is not preceded with whitespace. |
133 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
133 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
133 |
Error |
whitespace |
WhitespaceAround |
'=' is not followed by whitespace. |
134 |
Error |
whitespace |
WhitespaceAround |
'=' is not preceded with whitespace. |
134 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
136 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
210 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/NotifyLuteceUserFilter.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 |
ModifierOrder |
'static' modifier out of order with the JLS suggestions. |
57 |
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Oauth2App.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 |