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

fr.paris.lutece.plugins.ocra2ia.service.OcrService

Bug Category Details Line Priority
Dead store to mapOcrServiceResults in fr.paris.lutece.plugins.ocra2ia.service.OcrService.performOcr(Dispatch, OcrService$ImageBean, String, String) STYLE DLS_DEAD_LOCAL_STORE 202 Medium
fr.paris.lutece.plugins.ocra2ia.service.OcrService.openChannelA2ia(Dispatch) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 268 Medium
fr.paris.lutece.plugins.ocra2ia.service.OcrService.openRequestA2ia(OcrService$ImageBean, String, Long, Dispatch, String) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 303 Medium
fr.paris.lutece.plugins.ocra2ia.service.OcrService.performOcr(Dispatch, OcrService$ImageBean, String, String) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 209 Medium

fr.paris.lutece.plugins.ocra2ia.service.OcrService$ImageBean

Bug Category Details Line Priority
Should fr.paris.lutece.plugins.ocra2ia.service.OcrService$ImageBean be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 639-673 Medium

fr.paris.lutece.plugins.ocra2ia.util.OcrResultUtils

Bug Category Details Line Priority
Useless object stored in variable listA2iaOutputIdentity of method fr.paris.lutece.plugins.ocra2ia.util.OcrResultUtils.getIdentityResult(Dispatch, Variant) STYLE UC_USELESS_OBJECT 187 Medium
Useless object stored in variable listA2iaOutputRib of method fr.paris.lutece.plugins.ocra2ia.util.OcrResultUtils.getRIBResult(Dispatch, Variant) STYLE UC_USELESS_OBJECT 112 Medium