FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
132002

org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo.execute(): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING138High
org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo.execute() may fail to clean up java.io.WriterEXPERIMENTALOBL_UNSATISFIED_OBLIGATION138Medium

org.apache.maven.plugin.resources.remote.HelpMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.resources.remote.HelpMojo.build() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION68Medium

org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.loadSupplements(String[]): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING1329High
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING1203High
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING1146High
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileWriter(File, boolean)I18NDM_DEFAULT_ENCODING1207High
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING1116High
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute() creates a org.apache.maven.plugin.resources.remote.RemoteResourcesClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED515Medium
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext) may fail to clean up java.io.InputStream on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE1187Medium
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR498Medium

org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$OrganizationComparator

BugCategoryDetailsLinePriority
Possible null pointer dereference of s1 on branch that might be infeasible in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$OrganizationComparator.compareStrings(String, String)STYLENP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE1408Medium
Should org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$OrganizationComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC1375-1408Medium

org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$ProjectComparator

BugCategoryDetailsLinePriority
Should org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$ProjectComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC1412-1422Medium

org.apache.maven.plugin.resources.remote.io.xpp3.RemoteResourcesBundleXpp3Reader

BugCategoryDetailsLinePriority
Private method org.apache.maven.plugin.resources.remote.io.xpp3.RemoteResourcesBundleXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD151Medium
Private method org.apache.maven.plugin.resources.remote.io.xpp3.RemoteResourcesBundleXpp3Reader.getDateValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD239Medium

org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader

BugCategoryDetailsLinePriority
Dead store to parsed in org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.parseSupplementalDataModel(XmlPullParser, boolean)STYLEDLS_DEAD_LOCAL_STORE854High
Redundant nullcheck of supplement, which is known to be non-null in org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.parseSupplementalDataModel(XmlPullParser, boolean)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE860Medium
Private method org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD153Medium
Private method org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.getDateValue(String, String, XmlPullParser) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD241Medium