FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
89 48 0 0

org.apache.maven.doxia.document.DocumentCover

Bug Category Details Line Priority
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.coverDate MALICIOUS_CODE EI_EXPOSE_REP 235 Medium
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.coverDate MALICIOUS_CODE EI_EXPOSE_REP2 396 Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentCover.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 164 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentCover.getCoverdate() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 588 Medium

org.apache.maven.doxia.document.DocumentMeta

Bug Category Details Line Priority
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.creationDate MALICIOUS_CODE EI_EXPOSE_REP 374 Medium
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.date MALICIOUS_CODE EI_EXPOSE_REP 396 Medium
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.printDate MALICIOUS_CODE EI_EXPOSE_REP 542 Medium
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.creationDate MALICIOUS_CODE EI_EXPOSE_REP2 713 Medium
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.date MALICIOUS_CODE EI_EXPOSE_REP2 749 Medium
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.printDate MALICIOUS_CODE EI_EXPOSE_REP2 917 Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentMeta.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 308 Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentMeta.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 311 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getCreationdate() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 1199 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getModifydate() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 1217 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentMeta.getPrintdate() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 1235 Medium

org.apache.maven.doxia.document.DocumentTOC

Bug Category Details Line Priority
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentTOC.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 87 Medium

org.apache.maven.doxia.document.DocumentTOCItem

Bug Category Details Line Priority
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.DocumentTOCItem.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 92 Medium

org.apache.maven.doxia.document.DocumentTemplate

Bug Category Details Line Priority
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.date MALICIOUS_CODE EI_EXPOSE_REP 102 Medium
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.date MALICIOUS_CODE EI_EXPOSE_REP2 153 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.document.DocumentTemplate.getModifydate() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 234 Medium

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

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentHyperlinkBehaviour(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 800 High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentStatistic(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 1121 High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 1165 High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 1226 High
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTemplate(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 1292 High
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1171 Medium
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1232 Medium
La méthode privée org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getBooleanValue(String, String, XmlPullParser) n'est jamais appelée PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 157 Medium
La méthode privée org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getDateValue(String, String, XmlPullParser) n'est jamais appelée PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 245 Medium

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

Bug Category Details Line Priority
Champ inutilisé : org.apache.maven.doxia.macro.snippet.SnippetMacro.ignoreDownloadError PERFORMANCE URF_UNREAD_FIELD 97 Medium

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

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.doxia.macro.snippet.SnippetReader.readLines(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 140 High

org.apache.maven.doxia.parser.AbstractXmlParser

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.doxia.parser.AbstractXmlParser.parseXml(XmlPullParser, Sink): new String(byte[]) I18N DM_DEFAULT_ENCODING 283 High

org.apache.maven.doxia.sink.AbstractBinarySinkFactory

Bug Category Details Line Priority
org.apache.maven.doxia.sink.AbstractBinarySinkFactory.createSink(File, String, String) may fail to clean up java.io.OutputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 67 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.sink.AbstractBinarySinkFactory.createSink(File, String, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 57 Medium

org.apache.maven.doxia.sink.AbstractTextSinkFactory

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.sink.AbstractTextSinkFactory.createSink(File, String, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 69 Medium

org.apache.maven.doxia.sink.SinkEventAttributeSet

Bug Category Details Line Priority
La méthode clone() org.apache.maven.doxia.sink.SinkEventAttributeSet.clone() n'appelle pas super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 362-370 Medium

org.apache.maven.doxia.sink.SinkUtils

Bug Category Details Line Priority
org.apache.maven.doxia.sink.SinkUtils.SINK_BASE_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 49 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_BR_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 58 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_HR_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 148 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_IMG_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 142 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_LINK_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 149 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_SECTION_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 143 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TABLE_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 150 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TD_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 154 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_TR_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 151 Medium
org.apache.maven.doxia.sink.SinkUtils.SINK_VERBATIM_ATTRIBUTES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 145 Medium

org.apache.maven.doxia.util.DoxiaUtils

Bug Category Details Line Priority
Call to method of static java.text.DateFormat in org.apache.maven.doxia.util.DoxiaUtils.parseDate(String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 372 Medium
Call to method of static java.text.DateFormat in org.apache.maven.doxia.util.DoxiaUtils.parseDate(String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 374 Medium