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 |
35 |
11 |
0 |
0 |
fr.paris.lutece.plugins.easyrulesbot.service.bot.BotExecutor
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.easyrulesbot.service.bot.BotExecutor.traceData() makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
202 |
Medium |
fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.BotRule
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.BotRule defines compareTo(Object) and uses Object.equals() |
BAD_PRACTICE |
EQ_COMPARETO_USE_OBJECT_EQUALS |
345-347 |
Medium |
Class fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.BotRule defines non-transient non-serializable instance field _listButtons |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
High |
Class fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.BotRule defines non-transient non-serializable instance field _responseProcessor |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.conditions.ConditionsService
Bug |
Category |
Details |
Line |
Priority |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.conditions.ConditionsService._mapConditionFactories in fr.paris.lutece.plugins.easyrulesbot.service.bot.rules.conditions.ConditionsService.getCondition(String) |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
59-61 |
High |
fr.paris.lutece.plugins.easyrulesbot.service.response.filters.DebugFilter
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.easyrulesbot.service.response.filters.DebugFilter.filterResponse(String, Locale, Map) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
60 |
Medium |
fr.paris.lutece.plugins.easyrulesbot.service.response.filters.FiltersService
Bug |
Category |
Details |
Line |
Priority |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.easyrulesbot.service.response.filters.FiltersService._mapFilters in fr.paris.lutece.plugins.easyrulesbot.service.response.filters.FiltersService.getFilter(String) |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
58-60 |
High |
fr.paris.lutece.plugins.easyrulesbot.service.response.processors.MultipleValuesResponseProcessor
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.easyrulesbot.service.response.processors.MultipleValuesResponseProcessor.processResponse(String, Locale, Map) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
109 |
Medium |
fr.paris.lutece.plugins.easyrulesbot.service.response.processors.ProcessorsService
Bug |
Category |
Details |
Line |
Priority |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.easyrulesbot.service.response.processors.ProcessorsService._mapProcessors in fr.paris.lutece.plugins.easyrulesbot.service.response.processors.ProcessorsService.getProcessor(String) |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
58-60 |
High |
fr.paris.lutece.plugins.easyrulesbot.service.yaml.YamlBotLoader
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in fr.paris.lutece.plugins.easyrulesbot.service.yaml.YamlBotLoader.loadBots() due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
78 |
Medium |
fr.paris.lutece.plugins.easyrulesbot.util.FileUtils
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in fr.paris.lutece.plugins.easyrulesbot.util.FileUtils.loadTermsFromFile(String): new java.io.FileReader(String) |
I18N |
DM_DEFAULT_ENCODING |
79 |
High |