FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
854800

org.apache.maven.doxia.document.DocumentCover

BugCategoryDetailsLinePriority
La méthode org.apache.maven.doxia.document.DocumentCover.getCoverDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.document.DocumentCover.coverDateMALICIOUS_CODEEI_EXPOSE_REP237Medium
La méthode org.apache.maven.doxia.document.DocumentCover.setCoverDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.document.DocumentCover.coverDateMALICIOUS_CODEEI_EXPOSE_REP2398Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentCover.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE166Medium
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
La méthode org.apache.maven.doxia.document.DocumentMeta.getCreationDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.document.DocumentMeta.creationDateMALICIOUS_CODEEI_EXPOSE_REP376Medium
La méthode org.apache.maven.doxia.document.DocumentMeta.getDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.document.DocumentMeta.dateMALICIOUS_CODEEI_EXPOSE_REP398Medium
La méthode org.apache.maven.doxia.document.DocumentMeta.getPrintDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.document.DocumentMeta.printDateMALICIOUS_CODEEI_EXPOSE_REP544Medium
La méthode org.apache.maven.doxia.document.DocumentMeta.setCreationDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.document.DocumentMeta.creationDateMALICIOUS_CODEEI_EXPOSE_REP2715Medium
La méthode org.apache.maven.doxia.document.DocumentMeta.setDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.document.DocumentMeta.dateMALICIOUS_CODEEI_EXPOSE_REP2751Medium
La méthode org.apache.maven.doxia.document.DocumentMeta.setPrintDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.document.DocumentMeta.printDateMALICIOUS_CODEEI_EXPOSE_REP2919Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentMeta.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE310Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentMeta.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE313Medium
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.DocumentTOC

BugCategoryDetailsLinePriority
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentTOC.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE89Medium

org.apache.maven.doxia.document.DocumentTOCItem

BugCategoryDetailsLinePriority
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentTOCItem.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE94Medium

org.apache.maven.doxia.document.DocumentTemplate

BugCategoryDetailsLinePriority
La méthode org.apache.maven.doxia.document.DocumentTemplate.getDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.document.DocumentTemplate.dateMALICIOUS_CODEEI_EXPOSE_REP104Medium
La méthode org.apache.maven.doxia.document.DocumentTemplate.setDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.document.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
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentHyperlinkBehaviour(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1016High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentStatistic(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1337High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1381High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1442High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTemplate(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE1508High
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE1387Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE1448Medium
La méthode privée org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getBooleanValue(String, String, XmlPullParser) n'est jamais appeléePERFORMANCEUPM_UNCALLED_PRIVATE_METHOD159Medium
La méthode privée org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getDateValue(String, String, XmlPullParser) n'est jamais appeléePERFORMANCEUPM_UNCALLED_PRIVATE_METHOD247Medium

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

BugCategoryDetailsLinePriority
Champ inutilisé : org.apache.maven.doxia.macro.snippet.SnippetMacro.ignoreDownloadErrorPERFORMANCEURF_UNREAD_FIELD97Medium

org.apache.maven.doxia.macro.snippet.SnippetReader

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.doxia.macro.snippet.SnippetReader.readLines(String): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING123High

org.apache.maven.doxia.parser.AbstractXmlParser

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.doxia.parser.AbstractXmlParser.parseXml(XmlPullParser, Sink): new String(byte[])I18NDM_DEFAULT_ENCODING283High

org.apache.maven.doxia.sink.AbstractBinarySinkFactory

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

org.apache.maven.doxia.sink.AbstractTextSinkFactory

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

org.apache.maven.doxia.sink.SinkEventAttributeSet

BugCategoryDetailsLinePriority
La méthode clone() org.apache.maven.doxia.sink.SinkEventAttributeSet.clone() n'appelle pas 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 devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT49Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_BR_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT58Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_HR_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT148Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_IMG_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT142Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_LINK_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT149Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_SECTION_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT143Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TABLE_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT150Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TD_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT154Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TR_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT151Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_VERBATIM_ATTRIBUTES devrait être package protectedMALICIOUS_CODEMS_PKGPROTECT145Medium

org.apache.maven.doxia.util.DoxiaUtils

BugCategoryDetailsLinePriority
Call to method of static java.text.DateFormat in org.apache.maven.doxia.util.DoxiaUtils.parseDate(String)MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE372Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.util.DoxiaUtils.parseDate(String)MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE374Medium