The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo.execute(): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 138 | High |
org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo.execute() may fail to clean up java.io.Writer | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 138 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.resources.remote.HelpMojo.build() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.loadSupplements(String[]): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 1329 | High |
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 1203 | High |
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 1146 | High |
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.FileWriter(File, boolean) | I18N | DM_DEFAULT_ENCODING | 1207 | High |
Found reliance on default encoding in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 1116 | High |
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 block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 515 | Medium |
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(RemoteResourcesClassLoader, VelocityContext) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 1187 | Medium |
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 498 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of s1 on branch that might be infeasible in org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$OrganizationComparator.compareStrings(String, String) | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 1408 | Medium |
Should org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$OrganizationComparator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1375-1408 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$ProjectComparator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1412-1422 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Private method org.apache.maven.plugin.resources.remote.io.xpp3.RemoteResourcesBundleXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 151 | Medium |
Private method org.apache.maven.plugin.resources.remote.io.xpp3.RemoteResourcesBundleXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 239 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to parsed in org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.parseSupplementalDataModel(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 854 | High |
Redundant nullcheck of supplement, which is known to be non-null in org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.parseSupplementalDataModel(XmlPullParser, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 860 | Medium |
Private method org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 153 | Medium |
Private method org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 241 | Medium |