Fork me on GitHub

Rapport SpotBugs de détection des bugs

Le document suivant contient les résultats du SpotBugs

La version de SpotBugs est 4.5.3

La limite est medium

L'effort est default

Résumé

Classes Bugs Erreurs Classes Manquantes
3 7 0 0

Fichiers

Classe 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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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