FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
18 16 0 0

org.apache.maven.plugin.testing.ArtifactStubFactory

Bug Category Details Line Priority
exceptional return value of java.io.File.createNewFile() ignored in org.apache.maven.plugin.testing.ArtifactStubFactory.setArtifactFile(Artifact, File, File, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 256 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.testing.ArtifactStubFactory.setArtifactFile(Artifact, File, File, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 252 Medium

org.apache.maven.plugin.testing.resources.TestResources

Bug Category Details Line Priority
exceptional return value of java.io.File.createNewFile() ignored in org.apache.maven.plugin.testing.resources.TestResources.create(File, String[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 188 Medium
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.plugin.testing.resources.TestResources.touch(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 159 Medium

org.apache.maven.plugin.testing.stubs.ArtifactStub

Bug Category Details Line Priority
org.apache.maven.plugin.testing.stubs.ArtifactStub defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 41 Medium
Unwritten field: org.apache.maven.plugin.testing.stubs.ArtifactStub.classifier CORRECTNESS UWF_UNWRITTEN_FIELD 119 Medium

org.apache.maven.plugin.testing.stubs.MavenProjectStub

Bug Category Details Line Priority
org.apache.maven.plugin.testing.stubs.MavenProjectStub doesn't override org.apache.maven.project.MavenProject.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1705-1716 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.artifactMap PERFORMANCE URF_UNREAD_FIELD 520 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.buildOverlay PERFORMANCE URF_UNREAD_FIELD 560 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.extensionArtifactMap PERFORMANCE URF_UNREAD_FIELD 544 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.pluginArtifactMap PERFORMANCE URF_UNREAD_FIELD 528 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.projectReferences PERFORMANCE URF_UNREAD_FIELD 552 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.releaseArtifactRepository PERFORMANCE URF_UNREAD_FIELD 1423 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.reportArtifactMap PERFORMANCE URF_UNREAD_FIELD 536 Medium
Unread field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.snapshotArtifactRepository PERFORMANCE URF_UNREAD_FIELD 1429 Medium
Unwritten field: org.apache.maven.plugin.testing.stubs.MavenProjectStub.defaultGoal CORRECTNESS UWF_UNWRITTEN_FIELD 1529 Medium