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 |
---|---|---|---|---|
org.apache.maven.plugin.war.AbstractWarMojo.getWebResources() may expose internal representation by returning AbstractWarMojo.webResources | MALICIOUS_CODE | EI_EXPOSE_REP | 850 | Medium |
org.apache.maven.plugin.war.AbstractWarMojo.setWebResources(Resource[]) may expose internal representation by storing an externally mutable object into AbstractWarMojo.webResources | MALICIOUS_CODE | EI_EXPOSE_REP2 | 855 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 429 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.war.HelpMojo.build() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of hashCode on array in org.apache.maven.plugin.war.Overlay.hashCode() | CORRECTNESS | DMI_INVOKING_HASHCODE_ON_ARRAY | 277 | Medium |
Invocation of hashCode on array in org.apache.maven.plugin.war.Overlay.hashCode() | CORRECTNESS | DMI_INVOKING_HASHCODE_ON_ARRAY | 276 | Medium |
org.apache.maven.plugin.war.Overlay.getExcludes() may expose internal representation by returning Overlay.excludes | MALICIOUS_CODE | EI_EXPOSE_REP | 172 | Medium |
org.apache.maven.plugin.war.Overlay.getIncludes() may expose internal representation by returning Overlay.includes | MALICIOUS_CODE | EI_EXPOSE_REP | 157 | Medium |
org.apache.maven.plugin.war.Overlay.setExcludes(String[]) may expose internal representation by storing an externally mutable object into Overlay.excludes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 182 | Medium |
org.apache.maven.plugin.war.Overlay.setIncludes(String[]) may expose internal representation by storing an externally mutable object into Overlay.includes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 167 | Medium |
org.apache.maven.plugin.war.Overlay.DEFAULT_EXCLUDES is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 48 | High |
org.apache.maven.plugin.war.Overlay.DEFAULT_INCLUDES is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 46 | High |
Redundant nullcheck of org.apache.maven.plugin.war.Overlay.getId(), which is known to be non-null in org.apache.maven.plugin.war.Overlay.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 260 | Medium |
Redundant nullcheck of org.apache.maven.plugin.war.Overlay.getId(), which is known to be non-null in org.apache.maven.plugin.war.Overlay.hashCode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 275 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.WarManifestMojo.execute() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.DEFAULT_INCLUDES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 49 | Medium |
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.copyFile(WarPackagingContext, File, File, String, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 336 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.copyFilteredFile(String, WarPackagingContext, File, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 232 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.ClassesPackagingTask.performPackaging(WarPackagingContext) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask.removeDependency(WarPackagingContext, Dependency) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 142 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdir() ignored in org.apache.maven.plugin.war.packaging.OverlayPackagingTask.getOverlayTempDirectory(WarPackagingContext, Overlay) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 143 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.OverlayPackagingTask.getOverlayTempDirectory(WarPackagingContext, Overlay) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 153 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.maven.plugin.war.packaging.WarProjectPackagingTask(Resource[], File, File, Overlay) may expose internal representation by storing an externally mutable object into WarProjectPackagingTask.webResources | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.performPackaging(WarPackagingContext) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 85 | Medium |