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 |
46 |
12 |
0 |
0 |
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 |
183 |
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 |
194 |
Medium |
fr.paris.lutece.plugins.wiki.business.TopicVersionDAO
Bug |
Category |
Details |
Line |
Priority |
Dead store to topicVersion in fr.paris.lutece.plugins.wiki.business.TopicVersionDAO.selectTopicVersionsList(Plugin) |
STYLE |
DLS_DEAD_LOCAL_STORE |
215 |
Medium |
fr.paris.lutece.plugins.wiki.search.WikiSearchEngine
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.wiki.search.WikiSearchEngine.getSearchResults(String, HttpServletRequest) |
STYLE |
REC_CATCH_EXCEPTION |
121 |
Medium |
fr.paris.lutece.plugins.wiki.service.DiffService
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in fr.paris.lutece.plugins.wiki.service.DiffService.getDiff(String, String): java.io.ByteArrayOutputStream.toString() |
I18N |
DM_DEFAULT_ENCODING |
134 |
High |
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 |
152-154 |
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 |
149-160 |
Medium |
fr.paris.lutece.plugins.wiki.service.parser.WikiCreoleToMarkdown
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.wiki.service.parser.WikiCreoleToMarkdown.wikiCreoleToMd(String, String, String, String) concatenates strings using + in a loop |
PERFORMANCE |
SBSC_USE_STRINGBUFFER_CONCATENATION |
200 |
Medium |
fr.paris.lutece.plugins.wiki.web.WikiApp
Bug |
Category |
Details |
Line |
Priority |
Dead store to nVersion in fr.paris.lutece.plugins.wiki.web.WikiApp.getModifyTopic(HttpServletRequest) |
STYLE |
DLS_DEAD_LOCAL_STORE |
432 |
Medium |
ys.wikiparser.WikiParser
Bug |
Category |
Details |
Line |
Priority |
Field only ever set to null: ys.wikiparser.WikiParser.HEADING_ID_PREFIX |
CORRECTNESS |
UWF_NULL_FIELD |
Not available |
Medium |