Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
22 0 0 49

Files

File  I  W  E
fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabase.java 0 0 3
fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabaseDAO.java 0 0 1
fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabaseHome.java 0 0 2
fr/paris/lutece/plugins/folderlisting/business/FolderListingDirectory.java 0 0 1
fr/paris/lutece/plugins/folderlisting/business/FolderListingFile.java 0 0 1
fr/paris/lutece/plugins/folderlisting/business/FolderListingHome.java 0 0 4
fr/paris/lutece/plugins/folderlisting/business/IFolderListingDatabaseDAO.java 0 0 1
fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortlet.java 0 0 1
fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortletDAO.java 0 0 2
fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortletHome.java 0 0 2
fr/paris/lutece/plugins/folderlisting/business/portlet/IFolderListingPortletDAO.java 0 0 1
fr/paris/lutece/plugins/folderlisting/service/Folder.java 0 0 4
fr/paris/lutece/plugins/folderlisting/service/FolderListingPlugin.java 0 0 2
fr/paris/lutece/plugins/folderlisting/service/FolderLoaderDatabase.java 0 0 5
fr/paris/lutece/plugins/folderlisting/service/FolderLoaderProperties.java 0 0 2
fr/paris/lutece/plugins/folderlisting/service/FolderService.java 0 0 3
fr/paris/lutece/plugins/folderlisting/service/FolderWorkgroupRemovalListener.java 0 0 1
fr/paris/lutece/plugins/folderlisting/web/FolderListingDatabaseJspBean.java 0 0 6
fr/paris/lutece/plugins/folderlisting/web/FolderListingFileJspBean.java 0 0 4
fr/paris/lutece/plugins/folderlisting/web/portlet/FolderListingPortletJspBean.java 0 0 3

Rules

Category Rule Violations Severity
coding DeclarationOrder 2  Error
ExplicitInitialization 1  Error
ParameterAssignment 2  Error
design FinalClass 1  Error
HideUtilityClassConstructor 2  Error
VisibilityModifier 1  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/cms-plugin-folderlisting-doc-QA/workspace/target/checkstyle-header.txt"
20  Error
imports UnusedImports 1  Error
javadoc JavadocMethod 12  Error
JavadocType 5  Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
2  Error
RegexpSinglelineJava
  • format: "System\.out\.println"
2  Error

Details

fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabase.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocMethod Unused @param tag for 'strWorkgroup'. 122
 Error javadoc JavadocMethod Expected @param tag for 'strAdminWorkgroup'. 124

fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabaseDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/business/FolderListingDatabaseHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 45

fr/paris/lutece/plugins/folderlisting/business/FolderListingDirectory.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/business/FolderListingFile.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/business/FolderListingHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 54
 Error javadoc JavadocMethod Expected @throws tag for 'DirectoryNotFoundException'. 66
 Error javadoc JavadocMethod Expected @throws tag for 'DirectoryNotFoundException'. 108

fr/paris/lutece/plugins/folderlisting/business/IFolderListingDatabaseDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortlet.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortletDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO. 36

fr/paris/lutece/plugins/folderlisting/business/portlet/FolderListingPortletHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error coding ExplicitInitialization Variable '_singleton' explicitly initialized to 'null' (default value for its type). 52

fr/paris/lutece/plugins/folderlisting/business/portlet/IFolderListingPortletDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/service/Folder.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocType Missing a Javadoc comment. 41
 Error javadoc JavadocMethod Unused @param tag for 'strWorkgroup'. 135
 Error javadoc JavadocMethod Expected @param tag for 'strAdminWorkgroup'. 137

fr/paris/lutece/plugins/folderlisting/service/FolderListingPlugin.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocType Missing a Javadoc comment. 39

fr/paris/lutece/plugins/folderlisting/service/FolderLoaderDatabase.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocType Missing a Javadoc comment. 47
 Error design VisibilityModifier Variable '_plugin' must be private and have accessor methods. 50
 Error javadoc JavadocMethod Unused @param tag for 'int'. 93
 Error javadoc JavadocMethod Expected @param tag for 'nIdFolder'. 96

fr/paris/lutece/plugins/folderlisting/service/FolderLoaderProperties.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocType Missing a Javadoc comment. 53

fr/paris/lutece/plugins/folderlisting/service/FolderService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error design FinalClass Class FolderService should be declared as final. 44
 Error javadoc JavadocType Missing a Javadoc comment. 44

fr/paris/lutece/plugins/folderlisting/service/FolderWorkgroupRemovalListener.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/folderlisting/web/FolderListingDatabaseJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocMethod Missing a Javadoc comment. 104
 Error coding ParameterAssignment Assignment of parameter 'strFolderPath' is not allowed. 304
 Error javadoc JavadocMethod Expected an @return tag. 322
 Error javadoc JavadocMethod Expected @param tag for 'strPath'. 322
 Error coding ParameterAssignment Assignment of parameter 'strPath' is not allowed. 326

fr/paris/lutece/plugins/folderlisting/web/FolderListingFileJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error coding DeclarationOrder Variable access definition in wrong order. 73
 Error coding DeclarationOrder Variable access definition in wrong order. 74
 Error javadoc JavadocMethod Missing a Javadoc comment. 155

fr/paris/lutece/plugins/folderlisting/web/portlet/FolderListingPortletJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 93
 Error regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 96