Fork me on GitHub

Résultats Checkstyle

Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml. 

rss feed

Résumé

Fichiers
 Infos
 Avertissements
 Erreurs
24 0 4 165

Fichiers

Fichier
 I
 A
 E
fr/paris/lutece/plugins/extend/modules/comment/business/AddCommentPosition.java 0 0 9
fr/paris/lutece/plugins/extend/modules/comment/business/Comment.java 0 0 8
fr/paris/lutece/plugins/extend/modules/comment/business/CommentDAO.java 0 0 5
fr/paris/lutece/plugins/extend/modules/comment/business/CommentFilter.java 0 0 11
fr/paris/lutece/plugins/extend/modules/comment/business/ICommentDAO.java 0 0 10
fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfig.java 0 0 4
fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfigDAO.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/dashboard/PublicDashboardComment.java 0 0 8
fr/paris/lutece/plugins/extend/modules/comment/service/CommentAddOnService.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/service/CommentAvatarService.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/service/CommentListenerService.java 0 0 11
fr/paris/lutece/plugins/extend/modules/comment/service/CommentPlugin.java 0 0 14
fr/paris/lutece/plugins/extend/modules/comment/service/CommentService.java 0 2 13
fr/paris/lutece/plugins/extend/modules/comment/service/ICommentAvatarService.java 0 0 3
fr/paris/lutece/plugins/extend/modules/comment/service/ICommentListener.java 0 0 17
fr/paris/lutece/plugins/extend/modules/comment/service/ICommentService.java 0 2 13
fr/paris/lutece/plugins/extend/modules/comment/service/extender/CommentResourceExtender.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/util/annotation/Email.java 0 0 4
fr/paris/lutece/plugins/extend/modules/comment/util/constants/CommentConstants.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/util/validator/EmailValidator.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/web/CommentApp.java 0 0 17
fr/paris/lutece/plugins/extend/modules/comment/web/CommentJspBean.java 0 0 10
fr/paris/lutece/plugins/extend/modules/comment/web/action/ManageCommentsPluginAction.java 0 0 1
fr/paris/lutece/plugins/extend/modules/comment/web/component/CommentResourceExtenderComponent.java 0 0 1

Règles

Catégorie Règle Violations Sévérité
blocks LeftCurly
  • option: "nl"
4
 Erreur
coding ArrayTrailingComma 4
 Erreur
DeclarationOrder 7
 Erreur
HiddenField 8
 Erreur
ParameterAssignment 1
 Erreur
design FinalClass 1
 Erreur
HideUtilityClassConstructor 1
 Erreur
VisibilityModifier 1
 Erreur
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
24
 Erreur
imports UnusedImports 12
 Erreur
javadoc JavadocMethod 62
 Erreur
JavadocType 2
 Erreur
modifier RedundantModifier 3
 Erreur
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1
 Erreur
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
10
 Erreur
sizes ParameterNumber 4
 Avertissement
whitespace ParenPad
  • option: "space"
23
 Erreur
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
1
 Erreur

Détails

fr/paris/lutece/plugins/extend/modules/comment/business/AddCommentPosition.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 39
 Erreur
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 39
 Erreur
design VisibilityModifier Variable '_allPositions' must be private and have accessor methods. 42
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 45
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 47
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 49
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 51
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 53

fr/paris/lutece/plugins/extend/modules/comment/business/Comment.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
coding HiddenField '_strLuteceUserName' hides a field. 456
 Erreur
naming ParameterName Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 456
 Erreur
coding HiddenField '_nCommentOrder' hides a field. 495
 Erreur
naming ParameterName Name '_nCommentOrder' must match pattern '^[a-z][a-zA-Z0-9]*$'. 495
 Erreur
coding HiddenField '_bIsImportant' hides a field. 514
 Erreur
naming ParameterName Name '_bIsImportant' must match pattern '^[a-z][a-zA-Z0-9]*$'. 514
 Erreur
javadoc JavadocMethod Expected @param tag for 'listWorkflowActions'. 534

fr/paris/lutece/plugins/extend/modules/comment/business/CommentDAO.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - java.sql.ResultSet. 50
 Erreur
imports UnusedImports Unused import - java.sql.SQLException. 51
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 349
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 349

fr/paris/lutece/plugins/extend/modules/comment/business/CommentFilter.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
coding HiddenField '_strSortedAttributeName' hides a field. 86
 Erreur
naming ParameterName Name '_strSortedAttributeName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 86
 Erreur
coding HiddenField '_bAscSort' hides a field. 105
 Erreur
naming ParameterName Name '_bAscSort' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
 Erreur
coding HiddenField '_bPinned' hides a field. 125
 Erreur
naming ParameterName Name '_bPinned' must match pattern '^[a-z][a-zA-Z0-9]*$'. 125
 Erreur
coding HiddenField '_bImportant' hides a field. 144
 Erreur
naming ParameterName Name '_bImportant' must match pattern '^[a-z][a-zA-Z0-9]*$'. 144
 Erreur
coding HiddenField '_strLuteceUserName' hides a field. 164
 Erreur
naming ParameterName Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 164

fr/paris/lutece/plugins/extend/modules/comment/business/ICommentDAO.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - java.util.Collection. 38
 Erreur
javadoc JavadocMethod Unused @param tag for 'strIdExtendableResource'. 151
 Erreur
javadoc JavadocMethod Expected @param tag for 'listIdExtendableResource'. 159
 Erreur
javadoc JavadocMethod Unused @param tag for 'CommentFilter'. 168
 Erreur
javadoc JavadocMethod Expected @param tag for 'commentFilter'. 178
 Erreur
javadoc JavadocMethod Unused @param tag for 'nItemsOffset'. 245
 Erreur
javadoc JavadocMethod Unused @param tag for 'nMaxItemsNumber'. 247
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 253
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 253

fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfig.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocMethod Expected @return tag. 201
 Erreur
javadoc JavadocMethod Unused Javadoc tag. 209
 Erreur
javadoc JavadocMethod Expected @param tag for 'nPosition'. 211

fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfigDAO.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/dashboard/PublicDashboardComment.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
naming MemberName Name 'strIdComponent' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 55
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 56
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 57
 Erreur
blocks LeftCurly '{' at column 57 should be on a new line. 60
 Erreur
blocks LeftCurly '{' at column 34 should be on a new line. 65
 Erreur
naming ParameterName Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 76
 Erreur
naming ParameterName Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 90

fr/paris/lutece/plugins/extend/modules/comment/service/CommentAddOnService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/service/CommentAvatarService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/service/CommentListenerService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
design FinalClass Class CommentListenerService should be declared as final. 52
 Erreur
javadoc JavadocMethod Expected @return tag. 255
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 255
 Erreur
javadoc JavadocMethod Expected @param tag for 'strExtendableResourceType'. 255
 Erreur
javadoc JavadocMethod Expected @param tag for 'uidUser'. 255
 Erreur
javadoc JavadocMethod Expected @return tag. 299
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 299
 Erreur
javadoc JavadocMethod Expected @param tag for 'strExtendableResourceType'. 299
 Erreur
javadoc JavadocMethod Expected @param tag for 'strResourceId'. 299
 Erreur
javadoc JavadocMethod Expected @param tag for 'uidUser'. 299

fr/paris/lutece/plugins/extend/modules/comment/service/CommentPlugin.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
whitespace WhitespaceAround '=' is not preceded with whitespace. 73
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 80
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 80
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 80
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 80
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 80
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 80
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 82
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 82
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 82
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 83
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 83
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 83

fr/paris/lutece/plugins/extend/modules/comment/service/CommentService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Avertissement
sizes ParameterNumber More than 7 parameters (found 8). 256
 Erreur
coding ParameterAssignment Assignment of parameter 'nNbComments' is not allowed. 272
 Avertissement
sizes ParameterNumber More than 7 parameters (found 8). 299
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 499
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 522
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 534
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 534
 Erreur
blocks LeftCurly '{' at column 115 should be on a new line. 534
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 536
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 540
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 540
 Erreur
blocks LeftCurly '{' at column 74 should be on a new line. 540
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 541
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 541

fr/paris/lutece/plugins/extend/modules/comment/service/ICommentAvatarService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 51
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 58

fr/paris/lutece/plugins/extend/modules/comment/service/ICommentListener.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - java.util.Set. 37
 Erreur
imports UnusedImports Unused import - javax.validation.ConstraintViolation. 40
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.plugins.extend.modules.comment.business.Comment. 42
 Erreur
javadoc JavadocType Unused @param tag for '<A>'. 48
 Erreur
javadoc JavadocMethod Expected @param tag for 'request'. 70
 Erreur
javadoc JavadocMethod Expected @return tag. 98
 Erreur
modifier RedundantModifier Redundant 'public' modifier. 98
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 98
 Erreur
javadoc JavadocMethod Expected @param tag for 'uidUser'. 98
 Erreur
javadoc JavadocMethod Expected @return tag. 109
 Erreur
modifier RedundantModifier Redundant 'public' modifier. 109
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 109
 Erreur
javadoc JavadocMethod Expected @param tag for 'uidUser'. 109
 Erreur
javadoc JavadocMethod Expected @param tag for 'strResourceType'. 109
 Erreur
javadoc JavadocMethod Expected @param tag for 'strResourceId'. 109
 Erreur
modifier RedundantModifier Redundant 'public' modifier. 122

fr/paris/lutece/plugins/extend/modules/comment/service/ICommentService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - java.util.Collection. 36
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.portal.service.plugin.Plugin. 46
 Avertissement
sizes ParameterNumber More than 7 parameters (found 8). 209
 Avertissement
sizes ParameterNumber More than 7 parameters (found 8). 233
 Erreur
javadoc JavadocMethod Unused @param tag for 'bPublishedOnly'. 291
 Erreur
javadoc JavadocMethod Unused @param tag for 'add'. 297
 Erreur
javadoc JavadocMethod Expected @param tag for 'nCommentState'. 301
 Erreur
javadoc JavadocMethod Expected @param tag for 'strFilterUserName'. 302
 Erreur
javadoc JavadocMethod Unused @param tag for 'strIdExtendableResource'. 332
 Erreur
javadoc JavadocMethod Expected @param tag for 'listIdExtendableResource'. 338
 Erreur
javadoc JavadocMethod Expected @return tag. 374
 Erreur
javadoc JavadocMethod Expected @param tag for 'extendableResourceType'. 374
 Erreur
javadoc JavadocMethod Unused @param tag for 'nItemsOffset'. 381
 Erreur
javadoc JavadocMethod Unused @param tag for 'nMaxItemsNumber'. 383

fr/paris/lutece/plugins/extend/modules/comment/service/extender/CommentResourceExtender.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/util/annotation/Email.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocMethod Expected @return tag. 59
 Erreur
javadoc JavadocMethod Expected @return tag. 64
 Erreur
javadoc JavadocMethod Expected @return tag. 69

fr/paris/lutece/plugins/extend/modules/comment/util/constants/CommentConstants.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/util/validator/EmailValidator.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/web/CommentApp.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.AdminMessage. 74
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. 75
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.portal.util.mvc.commons.annotations.Action. 90
 Erreur
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 381
 Erreur
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 474
 Erreur
coding ArrayTrailingComma Array should contain trailing comma. 522
 Erreur
coding ArrayTrailingComma Array should contain trailing comma. 540
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 645
 Erreur
coding ArrayTrailingComma Array should contain trailing comma. 713
 Erreur
javadoc JavadocMethod Expected @return tag. 814
 Erreur
javadoc JavadocMethod Expected @param tag for 'request'. 814
 Erreur
javadoc JavadocMethod Expected @param tag for 'strIdExtendableResource'. 814
 Erreur
javadoc JavadocMethod Expected @param tag for 'strExtendableResourceType'. 814
 Erreur
javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 815
 Erreur
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 815
 Erreur
coding ArrayTrailingComma Array should contain trailing comma. 845

fr/paris/lutece/plugins/extend/modules/comment/web/CommentJspBean.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
imports UnusedImports Unused import - fr.paris.lutece.plugins.extend.service.extender.config.IResourceExtenderConfigService. 56
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 391
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 405
 Erreur
javadoc JavadocMethod Expected @return tag. 469
 Erreur
javadoc JavadocMethod Expected @param tag for 'request'. 469
 Erreur
javadoc JavadocMethod Expected @param tag for 'request'. 501
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 546
 Erreur
javadoc JavadocMethod Expected @param tag for 'request'. 564
 Erreur
javadoc JavadocMethod Expected @param tag for 'comment'. 564

fr/paris/lutece/plugins/extend/modules/comment/web/action/ManageCommentsPluginAction.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/extend/modules/comment/web/component/CommentResourceExtenderComponent.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2