FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
48 |
17 |
0 |
0 |
org.apache.maven.cli.CLIManager
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.cli.CLIManager.displayHelp(PrintStream): new java.io.PrintWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
166 |
High |
org.apache.maven.cli.CLIReportingUtils
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.cli.CLIReportingUtils.createMavenVersionString(Properties) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
99 |
High |
org.apache.maven.cli.CliRequest
Bug |
Category |
Details |
Line |
Priority |
La méthode org.apache.maven.cli.CliRequest.getArgs() risque d'exposer sa représentation interne en renvoyant org.apache.maven.cli.CliRequest.args |
MALICIOUS_CODE |
EI_EXPOSE_REP |
63 |
Medium |
org.apache.maven.cli.MavenCli
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.cli.MavenCli.populateRequest(CliRequest, MavenExecutionRequest) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
1532 |
High |
Found reliance on default encoding in org.apache.maven.cli.MavenCli.logging(CliRequest): new java.io.PrintStream(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
487 |
High |
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.cli.MavenCli.initialize(CliRequest) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
351 |
High |
Format string should use %n rather than \n in org.apache.maven.cli.MavenCli.configure(CliRequest) |
BAD_PRACTICE |
VA_FORMAT_STRING_USES_NEWLINE |
1122 |
Medium |
Format string should use %n rather than \n in org.apache.maven.cli.MavenCli.configure(CliRequest) |
BAD_PRACTICE |
VA_FORMAT_STRING_USES_NEWLINE |
1125 |
Medium |
Format string should use %n rather than \n in org.apache.maven.cli.MavenCli.configure(CliRequest) |
BAD_PRACTICE |
VA_FORMAT_STRING_USES_NEWLINE |
1113 |
Medium |
org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Alimentation à perte d'une variable locale dans la méthode org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.parseCoreExtensions(XmlPullParser, boolean) |
STYLE |
DLS_DEAD_LOCAL_STORE |
683 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
391 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
421 |
High |
Test de nullité redondant sur une valeur non nulle dans org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.parseCoreExtensions(XmlPullParser, boolean) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
689 |
Medium |
La méthode privée org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.getBooleanValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
176 |
Medium |
La méthode privée org.apache.maven.cli.internal.extension.model.io.xpp3.CoreExtensionsXpp3Reader.getDateValue(String, String, XmlPullParser) n'est jamais appelée |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
264 |
Medium |
org.apache.maven.cli.logging.impl.UnsupportedSlf4jBindingConfiguration
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.cli.logging.impl.UnsupportedSlf4jBindingConfiguration.supported is or uses a map or set of URLs, which can be a performance hog |
PERFORMANCE |
DMI_COLLECTION_OF_URLS |
Not available |
High |
new org.apache.maven.cli.logging.impl.UnsupportedSlf4jBindingConfiguration(String, Map) is or uses a map or set of URLs, which can be a performance hog |
PERFORMANCE |
DMI_COLLECTION_OF_URLS |
46-49 |
High |