FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
855300

org.apache.maven.doxia.DefaultDoxia

BugCategoryDetailsLinePriority
Read of unwritten field parserManager in org.apache.maven.doxia.DefaultDoxia.getParser(String)CORRECTNESSNP_UNWRITTEN_FIELD70Medium
Read of unwritten field parserManager in org.apache.maven.doxia.DefaultDoxia.parse(Reader, String, Sink)CORRECTNESSNP_UNWRITTEN_FIELD59Medium
Unwritten field: org.apache.maven.doxia.DefaultDoxia.parserManagerCORRECTNESSUWF_UNWRITTEN_FIELD59Medium

org.apache.maven.doxia.document.DocumentCover

BugCategoryDetailsLinePriority
org.apache.maven.doxia.document.DocumentCover.getCoverDate() may expose internal representation by returning DocumentCover.coverDateMALICIOUS_CODEEI_EXPOSE_REP237Medium
org.apache.maven.doxia.document.DocumentCover.setCoverDate(Date) may expose internal representation by storing an externally mutable object into DocumentCover.coverDateMALICIOUS_CODEEI_EXPOSE_REP2398Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentCover.getCoverdate()MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE590Medium

org.apache.maven.doxia.document.DocumentMeta

BugCategoryDetailsLinePriority
org.apache.maven.doxia.document.DocumentMeta.getCreationDate() may expose internal representation by returning DocumentMeta.creationDateMALICIOUS_CODEEI_EXPOSE_REP376Medium
org.apache.maven.doxia.document.DocumentMeta.getDate() may expose internal representation by returning DocumentMeta.dateMALICIOUS_CODEEI_EXPOSE_REP398Medium
org.apache.maven.doxia.document.DocumentMeta.getPrintDate() may expose internal representation by returning DocumentMeta.printDateMALICIOUS_CODEEI_EXPOSE_REP544Medium
org.apache.maven.doxia.document.DocumentMeta.setCreationDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.creationDateMALICIOUS_CODEEI_EXPOSE_REP2715Medium
org.apache.maven.doxia.document.DocumentMeta.setDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.dateMALICIOUS_CODEEI_EXPOSE_REP2751Medium
org.apache.maven.doxia.document.DocumentMeta.setPrintDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.printDateMALICIOUS_CODEEI_EXPOSE_REP2919Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getCreationdate()MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE1201Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getModifydate()MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE1219Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getPrintdate()MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE1237Medium

org.apache.maven.doxia.document.DocumentTemplate

BugCategoryDetailsLinePriority
org.apache.maven.doxia.document.DocumentTemplate.getDate() may expose internal representation by returning DocumentTemplate.dateMALICIOUS_CODEEI_EXPOSE_REP104Medium
org.apache.maven.doxia.document.DocumentTemplate.setDate(Date) may expose internal representation by storing an externally mutable object into DocumentTemplate.dateMALICIOUS_CODEEI_EXPOSE_REP2155Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentTemplate.getModifydate()MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE236Medium

org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader

BugCategoryDetailsLinePriority
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentHyperlinkBehaviour(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1016High
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentStatistic(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1337High
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1381High
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1442High
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTemplate(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1508High
Private method org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD159Medium
Private method org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getDateValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD247Medium

org.apache.maven.doxia.index.IndexEntry

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.index.IndexEntry.toString(int) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION299Medium

org.apache.maven.doxia.macro.manager.DefaultMacroManager

BugCategoryDetailsLinePriority
Read of unwritten field macros in org.apache.maven.doxia.macro.manager.DefaultMacroManager.getMacro(String)CORRECTNESSNP_UNWRITTEN_FIELD44Medium
Unwritten field: org.apache.maven.doxia.macro.manager.DefaultMacroManager.macrosCORRECTNESSUWF_UNWRITTEN_FIELD44Medium

org.apache.maven.doxia.macro.snippet.SnippetMacro

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.macro.snippet.SnippetMacro.cacheSnippet(URL, String, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR277Medium

org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager

BugCategoryDetailsLinePriority
Read of unwritten field siteModules in org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager.getSiteModule(String)CORRECTNESSNP_UNWRITTEN_FIELD66Medium
Read of unwritten field siteModules in org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager.getSiteModules()CORRECTNESSNP_UNWRITTEN_FIELD52Medium
Unwritten field: org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager.siteModulesCORRECTNESSUWF_UNWRITTEN_FIELD52Medium

org.apache.maven.doxia.parser.AbstractXmlParser

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.parser.AbstractXmlParser.handleUnknown(XmlPullParser, Sink, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR410Medium

org.apache.maven.doxia.parser.XhtmlBaseParser

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.parser.XhtmlBaseParser.handleCdsect(XmlPullParser, Sink) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR510Medium

org.apache.maven.doxia.parser.manager.DefaultParserManager

BugCategoryDetailsLinePriority
Read of unwritten field parsers in org.apache.maven.doxia.parser.manager.DefaultParserManager.getParser(String)CORRECTNESSNP_UNWRITTEN_FIELD46Medium
Unwritten field: org.apache.maven.doxia.parser.manager.DefaultParserManager.parsersCORRECTNESSUWF_UNWRITTEN_FIELD46Medium

org.apache.maven.doxia.sink.AbstractBinarySinkFactory

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.sink.AbstractBinarySinkFactory.createSink(File, String, String) may fail to clean up java.io.OutputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION67Medium
org.apache.maven.doxia.sink.AbstractBinarySinkFactory.createSink(File, String, String) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE57Medium

org.apache.maven.doxia.sink.AbstractTextSinkFactory

BugCategoryDetailsLinePriority
org.apache.maven.doxia.sink.AbstractTextSinkFactory.createSink(File, String, String) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE69Medium

org.apache.maven.doxia.sink.SinkEventAttributeSet

BugCategoryDetailsLinePriority
org.apache.maven.doxia.sink.SinkEventAttributeSet.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL362-370Medium

org.apache.maven.doxia.sink.SinkUtils

BugCategoryDetailsLinePriority
org.apache.maven.doxia.sink.SinkUtils.SINK_BASE_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT49Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_BR_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT58Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_HR_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT148Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_IMG_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT142Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_LINK_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT149Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_SECTION_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT143Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TABLE_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT150Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TD_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT154Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TR_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT151Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_VERBATIM_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT145Medium

org.apache.maven.doxia.sink.XhtmlBaseSink

BugCategoryDetailsLinePriority
Method org.apache.maven.doxia.sink.XhtmlBaseSink.tableCell_(boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1478Medium
Method org.apache.maven.doxia.sink.XhtmlBaseSink.tableRow(SinkEventAttributes) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1364Medium
Method org.apache.maven.doxia.sink.XhtmlBaseSink.tableRows(int[], boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1297Medium