SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
56 7 0 0

Files

Class Bugs
com.tibco.ep.buildmavenplugin.BaseGenerateMojo 1
com.tibco.ep.buildmavenplugin.BasePackageMojo$ArchiveGenerator 1
com.tibco.ep.buildmavenplugin.ConfigurationSource 2
com.tibco.ep.buildmavenplugin.InstallProductMojo 1
com.tibco.ep.buildmavenplugin.ProjectModuleData 2

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 352 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 298 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 123 Medium
com.tibco.ep.buildmavenplugin.ConfigurationSource.getProject() may expose internal representation by returning ConfigurationSource.project MALICIOUS_CODE EI_EXPOSE_REP 103 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