The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.document.DocumentCover.getCoverDate() may expose internal representation by returning DocumentCover.coverDate | MALICIOUS_CODE | EI_EXPOSE_REP | 237 | Medium |
org.apache.maven.doxia.document.DocumentCover.setCoverDate(Date) may expose internal representation by storing an externally mutable object into DocumentCover.coverDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 398 | Medium |
Redundant nullcheck of org.apache.maven.doxia.document.DocumentCover.getAuthors(), which is known to be non-null in org.apache.maven.doxia.document.DocumentCover.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 166 | 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 | 590 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.document.DocumentMeta.getCreationDate() may expose internal representation by returning DocumentMeta.creationDate | MALICIOUS_CODE | EI_EXPOSE_REP | 376 | Medium |
org.apache.maven.doxia.document.DocumentMeta.getDate() may expose internal representation by returning DocumentMeta.date | MALICIOUS_CODE | EI_EXPOSE_REP | 398 | Medium |
org.apache.maven.doxia.document.DocumentMeta.getPrintDate() may expose internal representation by returning DocumentMeta.printDate | MALICIOUS_CODE | EI_EXPOSE_REP | 544 | Medium |
org.apache.maven.doxia.document.DocumentMeta.setCreationDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.creationDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 715 | Medium |
org.apache.maven.doxia.document.DocumentMeta.setDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.date | MALICIOUS_CODE | EI_EXPOSE_REP2 | 751 | Medium |
org.apache.maven.doxia.document.DocumentMeta.setPrintDate(Date) may expose internal representation by storing an externally mutable object into DocumentMeta.printDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 919 | Medium |
Redundant nullcheck of org.apache.maven.doxia.document.DocumentMeta.getAuthors(), which is known to be non-null in org.apache.maven.doxia.document.DocumentMeta.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 310 | Medium |
Redundant nullcheck of org.apache.maven.doxia.document.DocumentMeta.getKeyWords(), which is known to be non-null in org.apache.maven.doxia.document.DocumentMeta.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 313 | 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 | 1201 | 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 | 1219 | 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 | 1237 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of org.apache.maven.doxia.document.DocumentTOC.getItems(), which is known to be non-null in org.apache.maven.doxia.document.DocumentTOC.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of org.apache.maven.doxia.document.DocumentTOCItem.getItems(), which is known to be non-null in org.apache.maven.doxia.document.DocumentTOCItem.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.document.DocumentTemplate.getDate() may expose internal representation by returning DocumentTemplate.date | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
org.apache.maven.doxia.document.DocumentTemplate.setDate(Date) may expose internal representation by storing an externally mutable object into DocumentTemplate.date | MALICIOUS_CODE | EI_EXPOSE_REP2 | 155 | 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 | 236 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentHyperlinkBehaviour(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1016 | High |
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentStatistic(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1337 | High |
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1381 | High |
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1442 | High |
Dead store to parsed in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTemplate(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1508 | High |
Redundant nullcheck of items, which is known to be non-null in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOC(XmlPullParser, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1387 | Medium |
Redundant nullcheck of items, which is known to be non-null in org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.parseDocumentTOCItem(XmlPullParser, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1448 | Medium |
Private method org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 159 | Medium |
Private method org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 247 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.apache.maven.doxia.macro.snippet.SnippetMacro.ignoreDownloadError | PERFORMANCE | URF_UNREAD_FIELD | 97 | 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 | 123 | 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.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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.sink.SinkEventAttributeSet.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 362-370 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.sink.SinkUtils.SINK_BASE_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 49 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_BR_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 58 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_HR_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 148 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_IMG_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 142 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_LINK_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 149 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_SECTION_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 143 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_TABLE_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 150 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_TD_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 154 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_TR_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 151 | Medium |
org.apache.maven.doxia.sink.SinkUtils.SINK_VERBATIM_ATTRIBUTES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 145 | 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 | 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 |