FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
14 5 0 0

org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor

Bug Category Details Line Priority
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.discoverClasses(String, List, Set) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 456 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.discoverClassesFromSourcesJar(Artifact, PluginToolsRequest, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 220 Medium

org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField

Bug Category Details Line Priority
org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField defines compareTo(AnnotatedField) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 59 Medium

org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotationsScanner

Bug Category Details Line Priority
org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotationsScanner.CLASS_LEVEL_ANNOTATIONS is a mutable collection MALICIOUS_CODE MS_MUTABLE_COLLECTION 40 High
org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotationsScanner.FIELD_LEVEL_ANNOTATIONS is a mutable collection MALICIOUS_CODE MS_MUTABLE_COLLECTION 42 High