FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
45 |
12 |
0 |
0 |
org.apache.maven.plugins.enforcer.AbstractRequireFiles
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.enforcer.AbstractRequireFiles.getFiles() may expose internal representation by returning AbstractRequireFiles.files |
MALICIOUS_CODE |
EI_EXPOSE_REP |
180 |
Medium |
org.apache.maven.plugins.enforcer.AbstractRequireFiles.setFiles(File[]) may expose internal representation by storing an externally mutable object into AbstractRequireFiles.files |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
185 |
Medium |
Load of known null value in org.apache.maven.plugins.enforcer.AbstractRequireFiles.execute(EnforcerRuleHelper) |
STYLE |
NP_LOAD_OF_KNOWN_NULL_VALUE |
81 |
Medium |
org.apache.maven.plugins.enforcer.BanDuplicatePomDependencyVersions
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.enforcer.BanDuplicatePomDependencyVersions.execute(EnforcerRuleHelper): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
73 |
High |
org.apache.maven.plugins.enforcer.DefaultEnforcementRuleHelper
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.enforcer.DefaultEnforcementRuleHelper.session |
PERFORMANCE |
URF_UNREAD_FIELD |
70 |
Medium |
org.apache.maven.plugins.enforcer.RequirePluginVersions
Bug |
Category |
Details |
Line |
Priority |
Load of known null value in org.apache.maven.plugins.enforcer.RequirePluginVersions.parsePluginString(String, String) |
STYLE |
NP_LOAD_OF_KNOWN_NULL_VALUE |
481 |
Medium |
Redundant nullcheck of currentPlugin, which is known to be non-null in org.apache.maven.plugins.enforcer.RequirePluginVersions.execute(EnforcerRuleHelper) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
301 |
Medium |
Unread field: org.apache.maven.plugins.enforcer.RequirePluginVersions.remoteRepositories |
PERFORMANCE |
URF_UNREAD_FIELD |
227 |
Medium |
Unwritten field: org.apache.maven.plugins.enforcer.RequirePluginVersions.unCheckedPluginList |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
239 |
Medium |
org.apache.maven.plugins.enforcer.RequireUpperBoundDeps$DependencyNodeHopCountPair
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.enforcer.RequireUpperBoundDeps$DependencyNodeHopCountPair defines compareTo(RequireUpperBoundDeps$DependencyNodeHopCountPair) and uses Object.equals() |
BAD_PRACTICE |
EQ_COMPARETO_USE_OBJECT_EQUALS |
374 |
Medium |
org.apache.maven.plugins.enforcer.utils.DependencyVersionMap
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.enforcer.utils.DependencyVersionMap.log |
PERFORMANCE |
URF_UNREAD_FIELD |
47 |
Medium |
org.apache.maven.plugins.enforcer.utils.EnforcerRuleUtils
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.enforcer.utils.EnforcerRuleUtils.log |
PERFORMANCE |
URF_UNREAD_FIELD |
95 |
Medium |