FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
542600

org.apache.maven.plugin.dependency.AbstractDependencyMojo

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(Artifact, File, String, String)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE260Medium

org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo

BugCategoryDetailsLinePriority
La méthode org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo.reResolveArtifacts(MavenProject, Set, ArtifactFilter) concatène des chaînes au moyen de + en bouclePERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION633Medium

org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo$SnapshotsFilter

BugCategoryDetailsLinePriority
La classe org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo$SnapshotsFilter devrait-elle être une classe interne static ?PERFORMANCESIC_INNER_SHOULD_BE_STATIC287-292Medium

org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo$SystemScopeExcludeFilter

BugCategoryDetailsLinePriority
La classe org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo$SystemScopeExcludeFilter devrait-elle être une classe interne static ?PERFORMANCESIC_INNER_SHOULD_BE_STATIC275-280Medium

org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(ProcessArtifactItemsRequest)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE163Medium

org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo

BugCategoryDetailsLinePriority
La classe org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo définit un champ qui masque le champ org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.useJvmChmod d'une classe mèreCORRECTNESSMF_CLASS_MASKS_FIELDNot availableMedium
Unread public/protected field: org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.useJvmChmodSTYLEURF_UNREAD_PUBLIC_OR_PROTECTED_FIELD82Medium

org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.readClasspathFile(): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING398High
Found reliance on default encoding in org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.storeClasspathFile(String, File): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING358High
La classe org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo définit un champ qui masque le champ org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.useJvmChmod d'une classe mèreCORRECTNESSMF_CLASS_MASKS_FIELDNot availableMedium
L'appel de méthode dans org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.doExecute() passe null à un paramètre de new java.util.ArrayList(Collection) déréférencé de façon inconditionnelleCORRECTNESSNP_NULL_PARAM_DEREF221Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.storeClasspathFile(String, File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE353Medium
Unread public/protected field: org.apache.maven.plugin.dependency.fromDependencies.BuildClasspathMojo.useJvmChmodSTYLEURF_UNREAD_PUBLIC_OR_PROTECTED_FIELD174Medium

org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo

BugCategoryDetailsLinePriority
La classe org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo définit un champ qui masque le champ org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo.useJvmChmod d'une classe mèreCORRECTNESSMF_CLASS_MASKS_FIELDNot availableMedium
Unread public/protected field: org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo.useJvmChmodSTYLEURF_UNREAD_PUBLIC_OR_PROTECTED_FIELD102Medium

org.apache.maven.plugin.dependency.resolvers.AbstractResolveMojo

BugCategoryDetailsLinePriority
La classe org.apache.maven.plugin.dependency.resolvers.AbstractResolveMojo définit un champ qui masque le champ org.apache.maven.plugin.dependency.resolvers.AbstractResolveMojo.useJvmChmod d'une classe mèreCORRECTNESSMF_CLASS_MASKS_FIELDNot availableMedium
Unread public/protected field: org.apache.maven.plugin.dependency.resolvers.AbstractResolveMojo.useJvmChmodSTYLEURF_UNREAD_PUBLIC_OR_PROTECTED_FIELD98Medium

org.apache.maven.plugin.dependency.resolvers.HelpMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.dependency.resolvers.HelpMojo.build() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION68Medium

org.apache.maven.plugin.dependency.resolvers.ResolvePluginsMojo

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.dependency.resolvers.ResolvePluginsMojo.doExecute(): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING89High
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.dependency.resolvers.ResolvePluginsMojo.doExecute()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE86Medium

org.apache.maven.plugin.dependency.tree.TreeMojo

BugCategoryDetailsLinePriority
Possible déréférencement d'un pointeur null dans org.apache.maven.plugin.dependency.tree.TreeMojo.containsVersion(VersionRange, ArtifactVersion)CORRECTNESSNP_NULL_ON_SOME_PATH601Medium

org.apache.maven.plugin.dependency.utils.DependencyUtil

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.dependency.utils.DependencyUtil.write(String, File, boolean, Log): new java.io.FileWriter(File, boolean)I18NDM_DEFAULT_ENCODING249High
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.dependency.utils.DependencyUtil.write(String, File, boolean, Log)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE243Medium

org.apache.maven.plugin.dependency.utils.markers.DefaultFileMarkerHandler

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.plugin.dependency.utils.markers.DefaultFileMarkerHandler.setMarker()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE129Medium

org.apache.maven.plugin.dependency.utils.markers.SourcesFileMarkerHandler

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.createNewFile() ignored in org.apache.maven.plugin.dependency.utils.markers.SourcesFileMarkerHandler.setMarker()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE146Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.dependency.utils.markers.SourcesFileMarkerHandler.setMarker()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE150Medium