FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
111 |
20 |
0 |
0 |
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 |
139 |
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 |
258 |
High |
org.apache.maven.doxia.parser.AbstractXmlParser$CachedFileEntityResolver
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 |
697 |
Medium |
org.apache.maven.doxia.parser.module.AbstractParserModule
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.doxia.parser.module.AbstractParserModule.getExtensions() may expose internal representation by returning AbstractParserModule.extensions |
MALICIOUS_CODE |
EI_EXPOSE_REP |
101 |
Medium |
org.apache.maven.doxia.sink.impl.AbstractTextSinkFactory
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 |
70 |
Medium |
org.apache.maven.doxia.sink.impl.SinkEventAttributeSet
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.doxia.sink.impl.SinkEventAttributeSet.clone() does not call super.clone() |
BAD_PRACTICE |
CN_IDIOM_NO_SUPER_CALL |
382-390 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_BASE_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
49 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_BR_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
58 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_HR_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
148 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_IMG_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
142 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_LINK_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
149 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_SECTION_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
144 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TABLE_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
150 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TD_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
154 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_TR_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
152 |
Medium |
org.apache.maven.doxia.sink.impl.SinkUtils.SINK_VERBATIM_ATTRIBUTES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
146 |
Medium |
org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
org.apache.maven.doxia.sink.impl.XhtmlBaseSink
org.apache.maven.doxia.util.DoxiaUtils