SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
56 |
8 |
0 |
0 |
com.tibco.ep.buildmavenplugin.BaseGenerateMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in com.tibco.ep.buildmavenplugin.BaseGenerateMojo.setupEngineDataArea() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
358 |
Medium |
Private method com.tibco.ep.buildmavenplugin.BaseGenerateMojo.toPaths(File[]) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
417 |
Medium |
com.tibco.ep.buildmavenplugin.BasePackageMojo$ArchiveGenerator
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in com.tibco.ep.buildmavenplugin.BasePackageMojo$ArchiveGenerator.addPropertiesToAssembly(): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
286 |
High |
com.tibco.ep.buildmavenplugin.ConfigurationSource
Bug |
Category |
Details |
Line |
Priority |
com.tibco.ep.buildmavenplugin.ConfigurationSource.getMavenSession() may expose internal representation by returning ConfigurationSource.session |
MALICIOUS_CODE |
EI_EXPOSE_REP |
126 |
Medium |
com.tibco.ep.buildmavenplugin.ConfigurationSource.getProject() may expose internal representation by returning ConfigurationSource.project |
MALICIOUS_CODE |
EI_EXPOSE_REP |
106 |
Medium |
com.tibco.ep.buildmavenplugin.InstallProductMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in com.tibco.ep.buildmavenplugin.InstallProductMojo.execute() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
190 |
Medium |
com.tibco.ep.buildmavenplugin.ProjectModuleData
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in com.tibco.ep.buildmavenplugin.ProjectModuleData.read(MavenProject): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
70 |
High |
Found reliance on default encoding in com.tibco.ep.buildmavenplugin.ProjectModuleData.write(MavenProject): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
116 |
High |