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
26 7 0 0

Files

Class Bugs
fr.paris.lutece.plugins.dansmarue.modules.rest.service.ManageSignalementService 1
fr.paris.lutece.plugins.dansmarue.modules.rest.service.SignalementRestService 3
fr.paris.lutece.plugins.dansmarue.modules.rest.xpage.signalement.ManageSignalementApp 3

fr.paris.lutece.plugins.dansmarue.modules.rest.service.ManageSignalementService

Bug Category Details Line Priority
Dead store to signalement in fr.paris.lutece.plugins.dansmarue.modules.rest.service.ManageSignalementService.manageStatusWithWorkflow(HttpServletRequest, JSONObject, JSONObject, int, String, String, String[], String, String, long, String, String) STYLE DLS_DEAD_LOCAL_STORE 389 Medium

fr.paris.lutece.plugins.dansmarue.modules.rest.service.SignalementRestService

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.dansmarue.modules.rest.service.SignalementRestService.congratulateAnomalie(JSONObject) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 2276 High
Found reliance on default encoding in fr.paris.lutece.plugins.dansmarue.modules.rest.service.SignalementRestService.getImageBase64(ImageResource): new String(byte[]) I18N DM_DEFAULT_ENCODING 3082 High
Useless object stored in variable listSignalementRest of method fr.paris.lutece.plugins.dansmarue.modules.rest.service.SignalementRestService.getAnomalieByNumber(String, String) STYLE UC_USELESS_OBJECT 1825 Medium

fr.paris.lutece.plugins.dansmarue.modules.rest.xpage.signalement.ManageSignalementApp

Bug Category Details Line Priority
Class fr.paris.lutece.plugins.dansmarue.modules.rest.xpage.signalement.ManageSignalementApp defines non-transient non-serializable instance field _actionService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.dansmarue.modules.rest.xpage.signalement.ManageSignalementApp defines non-transient non-serializable instance field _stateService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.dansmarue.modules.rest.xpage.signalement.ManageSignalementApp defines non-transient non-serializable instance field _taskService BAD_PRACTICE SE_BAD_FIELD Not available Medium