The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
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 |
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 |
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 |
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 |
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 |
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 |
Boxing/unboxing to parse a primitive org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 372 | High |
Boxing/unboxing to parse a primitive org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 402 | 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 |
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 | 141 | High |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.parser.AbstractXmlParser$CachedFileEntityResolver.ENTITY_CACHE is a mutable collection which should be package protected | MALICIOUS_CODE | MS_MUTABLE_COLLECTION_PKGPROTECT | 727 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
La méthode org.apache.maven.doxia.parser.module.AbstractParserModule.getExtensions() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.parser.module.AbstractParserModule.extensions | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.sink.impl.AbstractBinarySinkFactory.createSink(File, String, String) may fail to clean up java.io.OutputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 69 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.sink.impl.AbstractBinarySinkFactory.createSink(File, String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.sink.impl.AbstractTextSinkFactory.createSink(File, String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 71 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
La méthode clone() org.apache.maven.doxia.sink.impl.SinkEventAttributeSet.clone() n'appelle pas super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 364-372 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_BASE_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 50 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_BR_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 59 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_HR_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 149 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_IMG_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 143 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_LINK_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 150 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_SECTION_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 144 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TABLE_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 151 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TD_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 155 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TR_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 152 | Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_VERBATIM_ATTRIBUTES devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | 146 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of Integer.toString() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 1225 | Medium |
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 | 366 | 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 | 368 | Medium |