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 |
55 |
10 |
0 |
0 |
org.apache.maven.surefire.junitcore.ConcurrentRunListener
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.ConcurrentRunListener.writeTestOutput(byte[], int, int, boolean): new String(byte[], int, int) |
I18N |
DM_DEFAULT_ENCODING |
212 |
High |
org.apache.maven.surefire.junitcore.JUnitCoreParameters
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.surefire.junitcore.JUnitCoreParameters.property(Map, String, int) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
205 |
High |
org.apache.maven.surefire.junitcore.LogicalStream$Entry
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.LogicalStream$Entry.toString(): new String(byte[], int, int) |
I18N |
DM_DEFAULT_ENCODING |
61 |
High |
org.apache.maven.surefire.junitcore.TestSet
Bug |
Category |
Details |
Line |
Priority |
Increment of volatile field org.apache.maven.surefire.junitcore.TestSet.numberOfCompletedChildren in org.apache.maven.surefire.junitcore.TestSet.incrementFinishedTests(RunListener, boolean) |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
136 |
Medium |
Increment of volatile field org.apache.maven.surefire.junitcore.TestSet.numberOfTests in org.apache.maven.surefire.junitcore.TestSet.incrementTestMethodCount() |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
126 |
Medium |
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC
Bug |
Category |
Details |
Line |
Priority |
Potentially dangerous use of non-short-circuit logic in org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC.determineThreadCounts(long, long, long) |
STYLE |
NS_DANGEROUS_NON_SHORT_CIRCUIT |
376 |
High |
org.apache.maven.surefire.junitcore.pc.Scheduler
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.pc.Scheduler.logQuietly(Throwable): java.io.ByteArrayOutputStream.toString() |
I18N |
DM_DEFAULT_ENCODING |
212 |
High |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.pc.Scheduler.logQuietly(Throwable): new java.io.PrintStream(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
209 |
High |
org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.pc.SchedulingStrategy.logQuietly(Throwable): java.io.ByteArrayOutputStream.toString() |
I18N |
DM_DEFAULT_ENCODING |
141 |
High |
Found reliance on default encoding in org.apache.maven.surefire.junitcore.pc.SchedulingStrategy.logQuietly(Throwable): new java.io.PrintStream(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
138 |
High |