Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.5.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
3 7 0 0

Files

Class Bugs
fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService 1
fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer 6

fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService

Bug Category Details Line Priority
Useless object stored in variable mapXslParams of method fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService.buildPage(HttpServletRequest, String, String, String, int) STYLE UC_USELESS_OBJECT 249 Medium

fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getContentToIndex(Document, SolrItem) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 368 High
Primitive boxed just to call toString in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 259 High
Found reliance on default encoding in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getDocument(Document, String, String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 547 High
Found reliance on default encoding in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document): String.getBytes() I18N DM_DEFAULT_ENCODING 311 High
fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getResourcesName() may expose internal representation by returning SolrDocIndexer.LIST_RESSOURCES_NAME MALICIOUS_CODE EI_EXPOSE_REP 618 Medium
Possible null pointer dereference of portlet in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document) CORRECTNESS NP_NULL_ON_SOME_PATH 277 Medium