The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is
Effort is max
Class | Bugs |
---|---|
fr.paris.lutece.plugins.ocra2ia.service.OcrService | 4 |
fr.paris.lutece.plugins.ocra2ia.service.OcrService$ImageBean | 1 |
fr.paris.lutece.plugins.ocra2ia.util.OcrResultUtils | 2 |
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 |
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 |
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 |