SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
156 |
8 |
0 |
0 |
com.helger.jcodemodel.JCodeModel
Bug |
Category |
Details |
Line |
Priority |
Class com.helger.jcodemodel.JCodeModel defines non-transient non-serializable instance field m_aBuildingCharset |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
com.helger.jcodemodel.fmt.JStaticJavaFile
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in com.helger.jcodemodel.fmt.JStaticJavaFile.build(OutputStream): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
139 |
High |
Found reliance on default encoding in com.helger.jcodemodel.fmt.JStaticJavaFile.build(OutputStream): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
140 |
High |
Exception is caught when Exception is not thrown in com.helger.jcodemodel.fmt.JStaticJavaFile.build(OutputStream) |
STYLE |
REC_CATCH_EXCEPTION |
151 |
Medium |
com.helger.jcodemodel.writer.AbstractCodeWriter
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in com.helger.jcodemodel.writer.AbstractCodeWriter.openSource(JPackage, String): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
137 |
High |
com.helger.jcodemodel.writer.JFormatter
Bug |
Category |
Details |
Line |
Priority |
Switch statement found in com.helger.jcodemodel.writer.JFormatter.id(String) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
627-636 |
Medium |
com.helger.jcodemodel.writer.OutputStreamCodeWriter
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in new com.helger.jcodemodel.writer.OutputStreamCodeWriter(OutputStream, Charset, String): new java.io.PrintStream(OutputStream, boolean) |
I18N |
DM_DEFAULT_ENCODING |
93 |
High |
com.helger.jcodemodel.writer.SingleStreamCodeWriter
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in new com.helger.jcodemodel.writer.SingleStreamCodeWriter(OutputStream, String): new java.io.PrintStream(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
87 |
High |