Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
9 15 0 30

Files

Class Bugs
fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider 5
fr.paris.lutece.plugins.cartography.modules.solr.service.CartoSolrAppAddon 1
fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService 1
fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage 4
fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean 4

fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider

Bug Category Details Line Priority
Dead store to listMarkers in fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider.valueMarker(String, String, String) STYLE DLS_DEAD_LOCAL_STORE 164 High
Dead store to searchResults in fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider.provideMarkerDescriptions(String, HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 84 Medium
Dead store to listResults in fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider.provideMarkerValues(String, String) STYLE DLS_DEAD_LOCAL_STORE 143 Medium
Dead store to lstfield in fr.paris.lutece.plugins.cartography.modules.solr.provider.CartoSolrMarkerProvider.valueMarker(String, String, String) STYLE DLS_DEAD_LOCAL_STORE 172 Medium
Return value of fr.paris.lutece.plugins.search.solr.business.SolrSearchResult.getDynamicFields() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 103 Medium

fr.paris.lutece.plugins.cartography.modules.solr.service.CartoSolrAppAddon

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.cartography.modules.solr.service.CartoSolrAppAddon.buildPageAddOn(Map, HttpServletRequest) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 58 High

fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService.loadMapAndPoints(MapTemplate, Map) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 312 High

fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage

Bug Category Details Line Priority
Dead store to iconKeysCache in fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage.getGeolocModel(List, DataLayer, DataLayerMapTemplate) STYLE DLS_DEAD_LOCAL_STORE 252 High
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage.doCreateCoordonnee(HttpServletRequest) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 321 High
Write to static field fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage._idMap from instance method fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage.doLoadMap(HttpServletRequest) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 430 Medium
Write to static field fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage._idMap from instance method fr.paris.lutece.plugins.cartography.modules.solr.web.CoordinateXPage.getManageCoordonnees(HttpServletRequest) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 163 Medium

fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean

Bug Category Details Line Priority
Dead store to h in fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean.getGeolocModel(List, DataLayer) STYLE DLS_DEAD_LOCAL_STORE 314 Medium
Dead store to lstGeoJSONCoordinates in fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean.getLayerSolr(DataLayer) STYLE DLS_DEAD_LOCAL_STORE 224 Medium
Found reliance on default encoding in fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean.getLayerSolr(DataLayer): new java.io.FileWriter(String) I18N DM_DEFAULT_ENCODING 234 High
fr.paris.lutece.plugins.cartography.modules.solr.web.ExportDataLayerJspBean.getManageBasemaps(HttpServletRequest) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 144 Medium