The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.plugins.enforcer.AbstractEnforceMojo | 1 |
org.apache.maven.plugins.enforcer.EnforceMojo | 5 |
org.apache.maven.plugins.enforcer.RecommendMojo | 2 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugins.enforcer.AbstractEnforceMojo.cache should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugins.enforcer.EnforceMojo.getRules() may expose internal representation by returning EnforceMojo.rules | MALICIOUS_CODE | EI_EXPOSE_REP | 265 | Medium |
org.apache.maven.plugins.enforcer.EnforceMojo.setRules(EnforcerRule[]) may expose internal representation by storing an externally mutable object into EnforceMojo.rules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 274 | Medium |
Field EnforceMojo.container masks field in superclass org.apache.maven.plugins.enforcer.AbstractEnforceMojo | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available | High |
Field EnforceMojo.ignoreCache masks field in superclass org.apache.maven.plugins.enforcer.AbstractEnforceMojo | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available | Medium |
org.apache.maven.plugins.enforcer.EnforceMojo.cache should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 80 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugins.enforcer.RecommendMojo.getRules() may expose internal representation by returning RecommendMojo.recommendations | MALICIOUS_CODE | EI_EXPOSE_REP | 53 | Medium |
org.apache.maven.plugins.enforcer.RecommendMojo.setRules(EnforcerRule[]) may expose internal representation by storing an externally mutable object into RecommendMojo.recommendations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |