The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset. 
| Files | |||
|---|---|---|---|
| 39 | 0 | 1 | 40 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | ArrayTrailingComma | 6 | |
| DeclarationOrder | 2 | ||
ReturnCount
|
1 | ||
| header | Header
|
1 | |
| imports | UnusedImports | 9 | |
| javadoc | JavadocMethod | 22 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocMethod | Expected @return tag. | 249 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Expected @param tag for 'nKey'. | 114 | |
| javadoc | JavadocMethod | Expected @param tag for 'listEntity'. | 153 | |
| javadoc | JavadocMethod | Expected @param tag for 'searchValue'. | 175 | |
| javadoc | JavadocMethod | Expected @param tag for 'listEntity'. | 175 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Unused @param tag for 'strEntityTitle'. | 228 | |
| javadoc | JavadocMethod | Expected @param tag for 'listResponse'. | 231 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Unused @param tag for 'stringBuffer'. | 92 | |
| javadoc | JavadocMethod | Expected @param tag for 'model'. | 97 | |
| javadoc | JavadocMethod | Expected @param tag for 'strBuilder'. | 97 | |
| javadoc | JavadocMethod | Expected @param tag for 'locale'. | 97 | |
| javadoc | JavadocMethod | Expected @param tag for 'bDisplayFront'. | 97 | |
| javadoc | JavadocMethod | Unused @param tag for 'StringBuilder'. | 125 | |
| javadoc | JavadocMethod | Expected @param tag for 'model'. | 130 | |
| javadoc | JavadocMethod | Expected @param tag for 'strBuilder'. | 130 | |
| javadoc | JavadocMethod | Expected @param tag for 'locale'. | 130 | |
| javadoc | JavadocMethod | Expected @param tag for 'bDisplayFront'. | 130 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | DeclarationOrder | Variable access definition in wrong order. | 72 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Unused @param tag for 'strLangage'. | 178 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdEntryType'. | 182 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdDirectory'. | 182 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | ArrayTrailingComma | Array should contain trailing comma. | 149 | |
| coding | ArrayTrailingComma | Array should contain trailing comma. | 179 | |
| javadoc | JavadocMethod | Invalid use of the {@inheritDoc} tag. | 270 | |
| coding | ReturnCount | Return count is 6 (max allowed for non-void methods/lambdas is 5). | 270 | |
| coding | ArrayTrailingComma | Array should contain trailing comma. | 322 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | ArrayTrailingComma | Array should contain trailing comma. | 129 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.directories.util.DirectoriesConstants. | 36 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError. | 41 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.MandatoryError. | 42 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.util.GenericAttributesUtils. | 44 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.i18n.I18nService. | 45 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.message.AdminMessage. | 46 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. | 47 | |
| imports | UnusedImports | Unused import - org.apache.commons.lang.StringUtils. | 49 | |
| imports | UnusedImports | Unused import - java.util.List. | 51 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | DeclarationOrder | Variable access definition in wrong order. | 55 | |
| javadoc | JavadocMethod | Expected @param tag for '<T>'. | 85 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | ArrayTrailingComma | Array should contain trailing comma. | 417 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | ArrayTrailingComma | Array should contain trailing comma. | 306 |