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 |
32 |
10 |
612 |
33 |
fr.paris.lutece.plugins.wiki.business.Image
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.wiki.business.Image.getValue() may expose internal representation by returning Image._byValue |
MALICIOUS_CODE |
EI_EXPOSE_REP |
99 |
Medium |
fr.paris.lutece.plugins.wiki.business.Image.setValue(byte[]) may expose internal representation by storing an externally mutable object into Image._byValue |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
110 |
Medium |
fr.paris.lutece.plugins.wiki.business.TopicVersion
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.wiki.business.TopicVersion.getDateEdition() may expose internal representation by returning TopicVersion._strDateEdition |
MALICIOUS_CODE |
EI_EXPOSE_REP |
184 |
Medium |
fr.paris.lutece.plugins.wiki.business.TopicVersion.setDateEdition(Timestamp) may expose internal representation by storing an externally mutable object into TopicVersion._strDateEdition |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
195 |
Medium |
fr.paris.lutece.plugins.wiki.service.parser.LuteceWikiParser
Bug |
Category |
Details |
Line |
Priority |
Switch statement found in fr.paris.lutece.plugins.wiki.service.parser.LuteceWikiParser.appendImage(String) where one case falls through to the next case |
STYLE |
SF_SWITCH_FALLTHROUGH |
205-207 |
Medium |
Switch statement found in fr.paris.lutece.plugins.wiki.service.parser.LuteceWikiParser.appendImage(String) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
202-213 |
Medium |
ys.wikiparser.MarkdownCustomInputs
Bug |
Category |
Details |
Line |
Priority |
ys.wikiparser.MarkdownCustomInputs.fillTemplate(String, Map) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
65 |
Medium |
ys.wikiparser.WikiParser
Bug |
Category |
Details |
Line |
Priority |
ys.wikiparser.WikiParser.CUSTOM_INPUTS_TO_REEMPLACE isn't final but should be |
MALICIOUS_CODE |
MS_SHOULD_BE_FINAL |
69 |
High |
ys.wikiparser.WikiParser.extractCustomInputs() concatenates strings using + in a loop |
PERFORMANCE |
SBSC_USE_STRINGBUFFER_CONCATENATION |
642 |
Medium |
Field only ever set to null: ys.wikiparser.WikiParser.HEADING_ID_PREFIX |
CORRECTNESS |
UWF_NULL_FIELD |
Not available |
Medium |