Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
6 0 0 68

Files

File
 I
 W
 E
fr/paris/lutece/plugins/adminauthenticationldap/AdminLdapAuthentication.java 0 0 16
fr/paris/lutece/plugins/adminauthenticationldap/business/AdminLdapUser.java 0 0 1
fr/paris/lutece/plugins/adminauthenticationldap/service/LdapService.java 0 0 45
fr/paris/lutece/plugins/adminauthenticationldap/service/daemon/ImportLdapAdminUsersDaemon.java 0 0 6

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
2
 Error
coding DeclarationOrder 1
 Error
design FinalClass 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
4
 Error
imports AvoidStarImport 3
 Error
UnusedImports 15
 Error
javadoc JavadocMethod 21
 Error
JavadocType 2
 Error
naming MethodName
  • format: "^[a-z][a-zA-Z0-9]*$"
1
 Error
whitespace ParenPad
  • option: "space"
18
 Error

Details

fr/paris/lutece/plugins/adminauthenticationldap/AdminLdapAuthentication.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 - fr.paris.lutece.plugins.adminauthenticationldap.business.AdminLdapUser. 36
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.user.AdminUserDAO. 39
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.admin.AdminAuthenticationService. 44
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppLogService. 46
 Error
imports UnusedImports Unused import - fr.paris.lutece.util.ldap.LdapUtil. 49
 Error
imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 50
 Error
imports UnusedImports Unused import - java.text.MessageFormat. 52
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 53
 Error
imports UnusedImports Unused import - javax.naming.CommunicationException. 55
 Error
imports UnusedImports Unused import - javax.naming.NamingEnumeration. 56
 Error
imports UnusedImports Unused import - javax.naming.NamingException. 57
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - javax.naming.directory.*. 58
 Error
coding DeclarationOrder Variable access definition in wrong order. 89
 Error
blocks LeftCurly '{' at column 85 should be on a new line. 89
 Error
javadoc JavadocMethod Missing a Javadoc comment. 105

fr/paris/lutece/plugins/adminauthenticationldap/business/AdminLdapUser.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/adminauthenticationldap/service/LdapService.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 - fr.paris.lutece.plugins.adminauthenticationldap.business.AdminLdapUser. 37
 Error
imports UnusedImports Unused import - javax.naming.CommunicationException. 46
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - javax.naming.directory.*. 49
 Error
imports UnusedImports Unused import - java.util.Collections. 54
 Error
imports UnusedImports Unused import - java.util.Map. 56
 Error
design FinalClass Class LdapService should be declared as final. 58
 Error
javadoc JavadocType Missing a Javadoc comment. 58
 Error
javadoc JavadocMethod Missing a Javadoc comment. 101
 Error
javadoc JavadocMethod Missing a Javadoc comment. 105
 Error
whitespace ParenPad ')' is not preceded with whitespace. 107
 Error
javadoc JavadocMethod Missing a Javadoc comment. 110
 Error
blocks LeftCurly '{' at column 45 should be on a new line. 110
 Error
whitespace ParenPad '(' is not followed by whitespace. 117
 Error
whitespace ParenPad ')' is not preceded with whitespace. 117
 Error
whitespace ParenPad '(' is not followed by whitespace. 123
 Error
whitespace ParenPad ')' is not preceded with whitespace. 123
 Error
whitespace ParenPad '(' is not followed by whitespace. 131
 Error
whitespace ParenPad ')' is not preceded with whitespace. 131
 Error
whitespace ParenPad '(' is not followed by whitespace. 133
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
whitespace ParenPad '(' is not followed by whitespace. 134
 Error
whitespace ParenPad '(' is not followed by whitespace. 138
 Error
whitespace ParenPad '(' is not followed by whitespace. 138
 Error
whitespace ParenPad ')' is not preceded with whitespace. 138
 Error
whitespace ParenPad ')' is not preceded with whitespace. 138
 Error
whitespace ParenPad '(' is not followed by whitespace. 141
 Error
whitespace ParenPad ')' is not preceded with whitespace. 141
 Error
whitespace ParenPad '(' is not followed by whitespace. 143
 Error
whitespace ParenPad ')' is not preceded with whitespace. 143
 Error
javadoc JavadocMethod Missing a Javadoc comment. 151
 Error
javadoc JavadocMethod Missing a Javadoc comment. 164
 Error
javadoc JavadocMethod Missing a Javadoc comment. 179
 Error
javadoc JavadocMethod Missing a Javadoc comment. 194
 Error
javadoc JavadocMethod Missing a Javadoc comment. 204
 Error
javadoc JavadocMethod Missing a Javadoc comment. 209
 Error
javadoc JavadocMethod Missing a Javadoc comment. 232
 Error
javadoc JavadocMethod Missing a Javadoc comment. 238
 Error
javadoc JavadocMethod Missing a Javadoc comment. 253
 Error
javadoc JavadocMethod Missing a Javadoc comment. 294
 Error
javadoc JavadocMethod Missing a Javadoc comment. 307
 Error
javadoc JavadocMethod Missing a Javadoc comment. 318
 Error
javadoc JavadocMethod Missing a Javadoc comment. 323
 Error
javadoc JavadocMethod Missing a Javadoc comment. 342
 Error
javadoc JavadocMethod Missing a Javadoc comment. 351

fr/paris/lutece/plugins/adminauthenticationldap/service/daemon/ImportLdapAdminUsersDaemon.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.Locale. 44
 Error
javadoc JavadocType Missing a Javadoc comment. 46
 Error
javadoc JavadocMethod Missing a Javadoc comment. 58
 Error
naming MethodName Name 'UpdateAdminUsers' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
 Error
javadoc JavadocMethod Missing a Javadoc comment. 86