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 |
100 |
26 |
0 |
0 |
org.apache.maven.plugins.assembly.archive.archiver.AssemblyProxyArchiver
Bug |
Category |
Details |
Line |
Priority |
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans org.apache.maven.plugins.assembly.archive.archiver.AssemblyProxyArchiver.doAddFileSet(FileSet) |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
739 |
Medium |
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans org.apache.maven.plugins.assembly.archive.archiver.AssemblyProxyArchiver.doAddFileSet(FileSet) |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
753 |
Medium |
org.apache.maven.plugins.assembly.archive.archiver.PrefixedArchivedFileSet
Bug |
Category |
Details |
Line |
Priority |
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans org.apache.maven.plugins.assembly.archive.archiver.PrefixedArchivedFileSet.getPrefix() |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
106 |
Medium |
org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhaseComparator
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhaseComparator implémente Comparator mais pas Serializable |
BAD_PRACTICE |
SE_COMPARATOR_SHOULD_BE_SERIALIZABLE |
27-47 |
Medium |
org.apache.maven.plugins.assembly.archive.phase.RepositoryAssemblyPhase
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.assembly.archive.phase.RepositoryAssemblyPhase.execute(Assembly, Archiver, AssemblerConfigurationSource) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
92 |
Medium |
org.apache.maven.plugins.assembly.archive.task.AddArtifactTask
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.assembly.archive.task.AddArtifactTask.DEFAULT_INCLUDES_ARRAY devrait être package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
49 |
Medium |
org.apache.maven.plugins.assembly.filter.SimpleAggregatingDescriptorHandler
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.assembly.filter.SimpleAggregatingDescriptorHandler.readProperties(FileInfo): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
194 |
High |
Found reliance on default encoding in org.apache.maven.plugins.assembly.filter.SimpleAggregatingDescriptorHandler.writePropertiesFile(): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
113 |
High |
Champ non lu : org.apache.maven.plugins.assembly.filter.SimpleAggregatingDescriptorHandler.commentChars devrait-il être statique ? |
PERFORMANCE |
SS_SHOULD_BE_STATIC |
58 |
Medium |
org.apache.maven.plugins.assembly.format.ReaderFormatter$1
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.assembly.format.ReaderFormatter$1.transform(PlexusIoResource, InputStream): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
140 |
High |
org.apache.maven.plugins.assembly.io.DefaultAssemblyReader
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.assembly.io.DefaultAssemblyReader.mergeComponentsWithMainAssembly(Assembly, File, AssemblerConfigurationSource, ComponentXpp3Reader$ContentTransformer): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
449 |
High |
org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
400 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
430 |
High |
La méthode privée org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.getBooleanValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
185 |
Medium |
La méthode privée org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.getDateValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
273 |
Medium |
org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
400 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
430 |
High |
La méthode privée org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Reader.getBooleanValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
185 |
Medium |
La méthode privée org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Reader.getDateValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
273 |
Medium |
org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo
Bug |
Category |
Details |
Line |
Priority |
La méthode org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.getDescriptorReferences() risque d'exposer sa représentation interne en renvoyant org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.descriptorRefs |
MALICIOUS_CODE |
EI_EXPOSE_REP |
635 |
Medium |
La méthode org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.getDescriptors() risque d'exposer sa représentation interne en renvoyant org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.descriptors |
MALICIOUS_CODE |
EI_EXPOSE_REP |
647 |
Medium |
La méthode org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.setDescriptorRefs(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.descriptorRefs |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
791 |
Medium |
La méthode org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.setDescriptors(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.descriptors |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
652 |
Medium |
org.apache.maven.plugins.assembly.utils.AssemblyFileUtils
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.assembly.utils.AssemblyFileUtils.verifyTempDirectoryAvailability(File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
84 |
Medium |
org.apache.maven.plugins.assembly.utils.LineEndingsUtils
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.assembly.utils.LineEndingsUtils.convertLineEndings(File, File, LineEndings, Boolean, String): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
116 |
High |
Found reliance on default encoding in org.apache.maven.plugins.assembly.utils.LineEndingsUtils.convertLineEndings(File, File, LineEndings, Boolean, String): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
117 |
High |