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
45 9 0 40

Files

Class Bugs
fr.paris.lutece.plugins.knowledge.business.BotSession 2
fr.paris.lutece.plugins.knowledge.rs.RequestData 2
fr.paris.lutece.plugins.knowledge.service.ChatService 1
fr.paris.lutece.plugins.knowledge.web.BotXPage 4

fr.paris.lutece.plugins.knowledge.business.BotSession

Bug Category Details Line Priority
fr.paris.lutece.plugins.knowledge.business.BotSession.getCreationDate() may expose internal representation by returning BotSession._dateCreationDate MALICIOUS_CODE EI_EXPOSE_REP 110 Medium
fr.paris.lutece.plugins.knowledge.business.BotSession.setCreationDate(Date) may expose internal representation by storing an externally mutable object into BotSession._dateCreationDate MALICIOUS_CODE EI_EXPOSE_REP2 121 Medium

fr.paris.lutece.plugins.knowledge.rs.RequestData

Bug Category Details Line Priority
fr.paris.lutece.plugins.knowledge.rs.RequestData.getAudioFile() may expose internal representation by returning RequestData.audioFile MALICIOUS_CODE EI_EXPOSE_REP 43 Medium
fr.paris.lutece.plugins.knowledge.rs.RequestData.setAudioFile(byte[]) may expose internal representation by storing an externally mutable object into RequestData.audioFile MALICIOUS_CODE EI_EXPOSE_REP2 48 Medium

fr.paris.lutece.plugins.knowledge.service.ChatService

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.knowledge.service.ChatService.buildChatLanguageModel(Bot) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 74 High

fr.paris.lutece.plugins.knowledge.web.BotXPage

Bug Category Details Line Priority
Dead store to user in fr.paris.lutece.plugins.knowledge.web.BotXPage.doCreateBot(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 171 Medium
Dead store to user in fr.paris.lutece.plugins.knowledge.web.BotXPage.doModifyBot(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 280 Medium
Dead store to user in fr.paris.lutece.plugins.knowledge.web.BotXPage.doRemoveBot(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 225 Medium
Dead store to user in fr.paris.lutece.plugins.knowledge.web.BotXPage.getConfirmRemoveBot(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 204 Medium