Checkstyle Results
The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset.
Summary
Files |
Info |
Warnings |
Errors |
26 |
0 |
4 |
165 |
Details
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. |
39 |
Error |
design |
HideUtilityClassConstructor |
Utility classes should not have a public or default constructor. |
39 |
Error |
design |
VisibilityModifier |
Variable '_allPositions' must be private and have accessor methods. |
42 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
45 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
47 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
49 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
51 |
Error |
coding |
DeclarationOrder |
Variable access definition in wrong order. |
53 |
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 |
coding |
HiddenField |
'_strLuteceUserName' hides a field. |
456 |
Error |
naming |
ParameterName |
Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
456 |
Error |
coding |
HiddenField |
'_nCommentOrder' hides a field. |
495 |
Error |
naming |
ParameterName |
Name '_nCommentOrder' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
495 |
Error |
coding |
HiddenField |
'_bIsImportant' hides a field. |
514 |
Error |
naming |
ParameterName |
Name '_bIsImportant' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
514 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'listWorkflowActions'. |
534 |
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.sql.ResultSet. |
50 |
Error |
imports |
UnusedImports |
Unused import - java.sql.SQLException. |
51 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
349 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
349 |
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 |
coding |
HiddenField |
'_strSortedAttributeName' hides a field. |
86 |
Error |
naming |
ParameterName |
Name '_strSortedAttributeName' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
86 |
Error |
coding |
HiddenField |
'_bAscSort' hides a field. |
105 |
Error |
naming |
ParameterName |
Name '_bAscSort' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
105 |
Error |
coding |
HiddenField |
'_bPinned' hides a field. |
125 |
Error |
naming |
ParameterName |
Name '_bPinned' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
125 |
Error |
coding |
HiddenField |
'_bImportant' hides a field. |
144 |
Error |
naming |
ParameterName |
Name '_bImportant' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
144 |
Error |
coding |
HiddenField |
'_strLuteceUserName' hides a field. |
164 |
Error |
naming |
ParameterName |
Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
164 |
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.Collection. |
38 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'strIdExtendableResource'. |
151 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'listIdExtendableResource'. |
159 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'CommentFilter'. |
168 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'commentFilter'. |
178 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'nItemsOffset'. |
245 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'nMaxItemsNumber'. |
247 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
253 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
253 |
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 |
JavadocMethod |
Expected @return tag. |
201 |
Error |
javadoc |
JavadocMethod |
Unused Javadoc tag. |
209 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'nPosition'. |
211 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
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 |
MemberName |
Name 'strIdComponent' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. |
55 |
Error |
coding |
DeclarationOrder |
Static variable definition in wrong order. |
56 |
Error |
coding |
DeclarationOrder |
Static variable definition in wrong order. |
57 |
Error |
blocks |
LeftCurly |
'{' at column 57 should be on a new line. |
60 |
Error |
blocks |
LeftCurly |
'{' at column 34 should be on a new line. |
65 |
Error |
naming |
ParameterName |
Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
76 |
Error |
naming |
ParameterName |
Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
90 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
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 CommentListenerService should be declared as final. |
52 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
255 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
255 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strExtendableResourceType'. |
255 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'uidUser'. |
255 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
299 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
299 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strExtendableResourceType'. |
299 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strResourceId'. |
299 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'uidUser'. |
299 |
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 |
WhitespaceAround |
'=' is not preceded with whitespace. |
73 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
80 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
80 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
80 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
80 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
80 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
80 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
82 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
82 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
82 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
83 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
83 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
83 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
Warning |
sizes |
ParameterNumber |
More than 7 parameters (found 8). |
256 |
Error |
coding |
ParameterAssignment |
Assignment of parameter 'nNbComments' is not allowed. |
272 |
Warning |
sizes |
ParameterNumber |
More than 7 parameters (found 8). |
299 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
499 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
522 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
534 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
534 |
Error |
blocks |
LeftCurly |
'{' at column 115 should be on a new line. |
534 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
536 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
540 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
540 |
Error |
blocks |
LeftCurly |
'{' at column 74 should be on a new line. |
540 |
Error |
whitespace |
ParenPad |
'(' is not followed by whitespace. |
541 |
Error |
whitespace |
ParenPad |
')' is not preceded with whitespace. |
541 |
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 |
JavadocMethod |
Expected @param tag for 'comment'. |
51 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
58 |
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.Set. |
37 |
Error |
imports |
UnusedImports |
Unused import - javax.validation.ConstraintViolation. |
40 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.plugins.extend.modules.comment.business.Comment. |
42 |
Error |
javadoc |
JavadocType |
Unused @param tag for '<A>'. |
48 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'request'. |
70 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
98 |
Error |
modifier |
RedundantModifier |
Redundant 'public' modifier. |
98 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
98 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'uidUser'. |
98 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
109 |
Error |
modifier |
RedundantModifier |
Redundant 'public' modifier. |
109 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
109 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'uidUser'. |
109 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strResourceType'. |
109 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strResourceId'. |
109 |
Error |
modifier |
RedundantModifier |
Redundant 'public' modifier. |
122 |
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.Collection. |
36 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.service.plugin.Plugin. |
46 |
Warning |
sizes |
ParameterNumber |
More than 7 parameters (found 8). |
209 |
Warning |
sizes |
ParameterNumber |
More than 7 parameters (found 8). |
233 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'bPublishedOnly'. |
291 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'add'. |
297 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'nCommentState'. |
301 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strFilterUserName'. |
302 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'strIdExtendableResource'. |
332 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'listIdExtendableResource'. |
338 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
374 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'extendableResourceType'. |
374 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'nItemsOffset'. |
381 |
Error |
javadoc |
JavadocMethod |
Unused @param tag for 'nMaxItemsNumber'. |
383 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
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 |
JavadocMethod |
Expected @return tag. |
59 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
64 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
69 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
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 - fr.paris.lutece.portal.service.message.AdminMessage. |
74 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. |
75 |
Error |
imports |
UnusedImports |
Unused import - fr.paris.lutece.portal.util.mvc.commons.annotations.Action. |
90 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'UserNotSignedException'. |
381 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'UserNotSignedException'. |
474 |
Error |
coding |
ArrayTrailingComma |
Array should contain trailing comma. |
522 |
Error |
coding |
ArrayTrailingComma |
Array should contain trailing comma. |
540 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
645 |
Error |
coding |
ArrayTrailingComma |
Array should contain trailing comma. |
713 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
814 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'request'. |
814 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strIdExtendableResource'. |
814 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'strExtendableResourceType'. |
814 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'SiteMessageException'. |
815 |
Error |
javadoc |
JavadocMethod |
Expected @throws tag for 'UserNotSignedException'. |
815 |
Error |
coding |
ArrayTrailingComma |
Array should contain trailing comma. |
845 |
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 - fr.paris.lutece.plugins.extend.service.extender.config.IResourceExtenderConfigService. |
56 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
391 |
Error |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
405 |
Error |
javadoc |
JavadocMethod |
Expected @return tag. |
469 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'request'. |
469 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'request'. |
501 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
546 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'request'. |
564 |
Error |
javadoc |
JavadocMethod |
Expected @param tag for 'comment'. |
564 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |
Severity |
Category |
Rule |
Message |
Line |
Error |
header |
Header |
Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. |
2 |