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
44 0 0 121

Files

File  I  W  E
fr/paris/lutece/plugins/phraseanet/business/account/Account.java 0 0 3
fr/paris/lutece/plugins/phraseanet/business/account/AccountDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/account/AccountHome.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/account/IAccountDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/databox/Collection.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/databox/Databox.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/embed/Embed.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/embed/EmbedItem.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/embed/Metadata.java 0 0 2
fr/paris/lutece/plugins/phraseanet/business/embed/Permalink.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/media/IMediaHandlerDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/media/MediaHandler.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/media/MediaHandlerDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/media/MediaHandlerHome.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/record/Metadata.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/record/MetadataValue.java 0 0 7
fr/paris/lutece/plugins/phraseanet/business/record/Record.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/record/TechnicalInformations.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/record/Thumbnail.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/response/Meta.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/search/SearchResults.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/template/ITemplateDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/template/Template.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/template/TemplateDAO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/business/template/TemplateHome.java 0 0 1
fr/paris/lutece/plugins/phraseanet/dto/recordtype/RecordTypeDTO.java 0 0 1
fr/paris/lutece/plugins/phraseanet/resources/phraseanet_messages.properties 0 0 1
fr/paris/lutece/plugins/phraseanet/service/Constants.java 0 0 1
fr/paris/lutece/plugins/phraseanet/service/MediaManagerService.java 0 0 1
fr/paris/lutece/plugins/phraseanet/service/PhraseanetService.java 0 0 9
fr/paris/lutece/plugins/phraseanet/service/SearchCriterias.java 0 0 1
fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiAuthentication.java 0 0 5
fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiCallException.java 0 0 1
fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiCallService.java 0 0 3
fr/paris/lutece/plugins/phraseanet/service/parsers/CollectionsJsonParser.java 0 0 2
fr/paris/lutece/plugins/phraseanet/service/parsers/DataboxesJsonParser.java 0 0 2
fr/paris/lutece/plugins/phraseanet/service/parsers/EmbedJsonParser.java 0 0 10
fr/paris/lutece/plugins/phraseanet/service/parsers/MetaJsonParser.java 0 0 1
fr/paris/lutece/plugins/phraseanet/service/parsers/MetadatasJsonParser.java 0 0 6
fr/paris/lutece/plugins/phraseanet/service/parsers/RecordJsonParser.java 0 0 12
fr/paris/lutece/plugins/phraseanet/service/parsers/SearchResultsJsonParser.java 0 0 13
fr/paris/lutece/plugins/phraseanet/web/PhraseanetJspBean.java 0 0 14
fr/paris/lutece/plugins/phraseanet/web/PhraseanetLinkService.java 0 0 4

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
2  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/multimedia-plugin-phraseanet-doc-QA/workspace/target/checkstyle-header.txt"
42  Error
imports UnusedImports 8  Error
javadoc JavadocMethod 7  Error
misc Translation 1  Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
5  Error
whitespace ParenPad
  • option: "space"
55  Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
1  Error

Details

fr/paris/lutece/plugins/phraseanet/business/account/Account.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error javadoc JavadocMethod Unused @param tag for 'strPassword'. 209
 Error javadoc JavadocMethod Expected @param tag for 'strToken'. 211

fr/paris/lutece/plugins/phraseanet/business/account/AccountDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/account/AccountHome.java

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

fr/paris/lutece/plugins/phraseanet/business/account/IAccountDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/databox/Collection.java

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

fr/paris/lutece/plugins/phraseanet/business/databox/Databox.java

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

fr/paris/lutece/plugins/phraseanet/business/embed/Embed.java

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

fr/paris/lutece/plugins/phraseanet/business/embed/EmbedItem.java

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

fr/paris/lutece/plugins/phraseanet/business/embed/Metadata.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1
 Error blocks LeftCurly '{' at column 23 should be on a new line. 11

fr/paris/lutece/plugins/phraseanet/business/embed/Permalink.java

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

fr/paris/lutece/plugins/phraseanet/business/media/IMediaHandlerDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/media/MediaHandler.java

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

fr/paris/lutece/plugins/phraseanet/business/media/MediaHandlerDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/media/MediaHandlerHome.java

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

fr/paris/lutece/plugins/phraseanet/business/record/Metadata.java

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

fr/paris/lutece/plugins/phraseanet/business/record/MetadataValue.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error blocks LeftCurly '{' at column 28 should be on a new line. 44
 Error javadoc JavadocMethod Unused @param tag for 'id'. 51
 Error javadoc JavadocMethod Unused @param tag for 'Metadata'. 52
 Error javadoc JavadocMethod Expected @param tag for 'name'. 54
 Error javadoc JavadocMethod Expected @param tag for 'value'. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 59

fr/paris/lutece/plugins/phraseanet/business/record/Record.java

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

fr/paris/lutece/plugins/phraseanet/business/record/TechnicalInformations.java

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

fr/paris/lutece/plugins/phraseanet/business/record/Thumbnail.java

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

fr/paris/lutece/plugins/phraseanet/business/response/Meta.java

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

fr/paris/lutece/plugins/phraseanet/business/search/SearchResults.java

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

fr/paris/lutece/plugins/phraseanet/business/template/ITemplateDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/template/Template.java

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

fr/paris/lutece/plugins/phraseanet/business/template/TemplateDAO.java

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

fr/paris/lutece/plugins/phraseanet/business/template/TemplateHome.java

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

fr/paris/lutece/plugins/phraseanet/dto/recordtype/RecordTypeDTO.java

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

fr/paris/lutece/plugins/phraseanet/resources/phraseanet_messages.properties

Severity Category Rule Message Line
 Error misc Translation Key 'manage_media_handlers.tabLabel' missing.

fr/paris/lutece/plugins/phraseanet/service/Constants.java

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

fr/paris/lutece/plugins/phraseanet/service/MediaManagerService.java

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

fr/paris/lutece/plugins/phraseanet/service/PhraseanetService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 131
 Error whitespace ParenPad '(' is not followed by whitespace. 133
 Error whitespace ParenPad '(' is not followed by whitespace. 170
 Error whitespace ParenPad ')' is not preceded with whitespace. 170
 Error whitespace ParenPad '(' is not followed by whitespace. 175
 Error whitespace ParenPad ')' is not preceded with whitespace. 175
 Error whitespace ParenPad '(' is not followed by whitespace. 229
 Error whitespace ParenPad ')' is not preceded with whitespace. 229

fr/paris/lutece/plugins/phraseanet/service/SearchCriterias.java

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

fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiAuthentication.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.util.httpaccess.HttpAccess. 38
 Error imports UnusedImports Unused import - fr.paris.lutece.util.httpaccess.HttpAccessException. 39
 Error imports UnusedImports Unused import - fr.paris.lutece.util.url.UrlItem. 40
 Error imports UnusedImports Unused import - org.apache.commons.lang.StringUtils. 41

fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiCallException.java

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

fr/paris/lutece/plugins/phraseanet/service/api/PhraseanetApiCallService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 65
 Error whitespace ParenPad ')' is not preceded with whitespace. 65

fr/paris/lutece/plugins/phraseanet/service/parsers/CollectionsJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.phraseanet.service.api.PhraseanetApiCallService. 38

fr/paris/lutece/plugins/phraseanet/service/parsers/DataboxesJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - net.sf.json.JSONArray. 41

fr/paris/lutece/plugins/phraseanet/service/parsers/EmbedJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 71
 Error whitespace ParenPad '(' is not followed by whitespace. 76
 Error whitespace ParenPad '(' is not followed by whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 78
 Error whitespace ParenPad '(' is not followed by whitespace. 108
 Error whitespace ParenPad ')' is not preceded with whitespace. 108
 Error whitespace ParenPad ')' is not preceded with whitespace. 130

fr/paris/lutece/plugins/phraseanet/service/parsers/MetaJsonParser.java

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

fr/paris/lutece/plugins/phraseanet/service/parsers/MetadatasJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.phraseanet.business.record.MetadataValue. 37
 Error whitespace ParenPad '(' is not followed by whitespace. 117
 Error whitespace ParenPad '(' is not followed by whitespace. 118
 Error whitespace ParenPad ')' is not preceded with whitespace. 118
 Error whitespace ParenPad '(' is not followed by whitespace. 119

fr/paris/lutece/plugins/phraseanet/service/parsers/RecordJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error naming LocalVariableName Name 'record_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 86
 Error whitespace ParenPad '(' is not followed by whitespace. 100
 Error whitespace ParenPad '(' is not followed by whitespace. 100
 Error whitespace ParenPad ')' is not preceded with whitespace. 100
 Error whitespace ParenPad ')' is not preceded with whitespace. 100
 Error whitespace ParenPad '(' is not followed by whitespace. 102
 Error whitespace ParenPad ')' is not preceded with whitespace. 102
 Error whitespace ParenPad '(' is not followed by whitespace. 105
 Error whitespace ParenPad ')' is not preceded with whitespace. 105
 Error whitespace ParenPad '(' is not followed by whitespace. 116
 Error whitespace ParenPad ')' is not preceded with whitespace. 116

fr/paris/lutece/plugins/phraseanet/service/parsers/SearchResultsJsonParser.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 62
 Error whitespace ParenPad ')' is not preceded with whitespace. 62
 Error naming LocalVariableName Name 'total_results' must match pattern '^[a-z][a-zA-Z0-9]*$'. 78
 Error naming LocalVariableName Name 'per_page' must match pattern '^[a-z][a-zA-Z0-9]*$'. 79
 Error naming LocalVariableName Name 'total_pages' must match pattern '^[a-z][a-zA-Z0-9]*$'. 80
 Error whitespace ParenPad '(' is not followed by whitespace. 80
 Error whitespace ParenPad ')' is not preceded with whitespace. 80
 Error naming LocalVariableName Name 'offset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 81
 Error whitespace ParenPad '(' is not followed by whitespace. 81
 Error whitespace ParenPad ')' is not preceded with whitespace. 81
 Error whitespace ParenPad '(' is not followed by whitespace. 101
 Error whitespace ParenPad ')' is not preceded with whitespace. 101

fr/paris/lutece/plugins/phraseanet/web/PhraseanetJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 173
 Error whitespace ParenPad '(' is not followed by whitespace. 626
 Error whitespace ParenPad ')' is not preceded with whitespace. 626
 Error whitespace ParenPad '(' is not followed by whitespace. 634
 Error whitespace ParenPad ')' is not preceded with whitespace. 634
 Error whitespace ParenPad '(' is not followed by whitespace. 642
 Error whitespace ParenPad ')' is not preceded with whitespace. 642
 Error whitespace ParenPad '(' is not followed by whitespace. 680
 Error whitespace ParenPad ')' is not preceded with whitespace. 680
 Error whitespace ParenPad '(' is not followed by whitespace. 1046
 Error whitespace ParenPad ')' is not preceded with whitespace. 1046
 Error whitespace ParenPad '(' is not followed by whitespace. 1049
 Error whitespace ParenPad ')' is not preceded with whitespace. 1049

fr/paris/lutece/plugins/phraseanet/web/PhraseanetLinkService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.phraseanet.business.record.MetadataValue. 42
 Error whitespace ParenPad '(' is not followed by whitespace. 247
 Error whitespace ParenPad ')' is not preceded with whitespace. 247