diff --git a/src/site/resources/examples/spotbugs.html b/src/site/resources/examples/spotbugs.html index 2dbab996..71592406 100644 --- a/src/site/resources/examples/spotbugs.html +++ b/src/site/resources/examples/spotbugs.html @@ -78,17 +78,18 @@
Project Documentation

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

-

SpotBugs Version is 3.1.0

-

Threshold is medium

-

Effort is min

+

SpotBugs Version is 3.1.0

+

Threshold is medium

+

Effort is min

Summary

- +
+ - - - - + + + + @@ -96,10 +97,11 @@

Summary

Spotbug Results
ClassesBugsErrorsMissing Classes
ClassesBugsErrorsMissing Classes
44 92 0

Files

- +
+ - - + + @@ -159,13 +161,14 @@

Files

Spotbug Results
ClassBugs
ClassBugs
AbstractMissingHashCode$StillMissingHashCode 2
2

AbstractMissingHashCode$StillMissingHashCode

- +
+ - - - - - + + + + + @@ -180,13 +183,14 @@

AbstractMissingHashC

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
AbstractMissingHashCode$StillMissingHashCode inherits equals and uses Object.hashCode() BAD_PRACTICEMedium

AccidentalNonConstructorInInnerClass$DoNotReport

- +
+ - - - - - + + + + + @@ -195,13 +199,14 @@

AccidentalNonCon

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Should AccidentalNonConstructorInInnerClass$DoNotReport be a _static_ inner class? PERFORMANCEMedium

AccidentalNonConstructorInInnerClass$Report

- +
+ - - - - - + + + + + @@ -210,13 +215,14 @@

AccidentalNonConstruc

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Should AccidentalNonConstructorInInnerClass$Report be a _static_ inner class? PERFORMANCEMedium

AppendingToAnObjectOutputStream

- +
+ - - - - - + + + + + @@ -243,13 +249,14 @@

AppendingToAnObjectOutputStream<

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Doomed attempt to append to an object output stream in AppendingToAnObjectOutputStream.appendObject1(File, Object) CORRECTNESSHigh

ArrayToString

- +
+ - - - - - + + + + + @@ -276,13 +283,14 @@

ArrayToString

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Invocation of toString on an unnamed array in ArrayToString.print2() CORRECTNESS Medium

AssumeUnsignedBytes

- +
+ - - - - - + + + + + @@ -291,13 +299,14 @@

AssumeUnsignedBytes

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Bad comparison of signed byte with 200 in AssumeUnsignedBytes.find200(byte[]) CORRECTNESS High

UseOfNonHashableClassInHashDataStructure

- +
+ - - - - - + + + + + @@ -324,13 +333,14 @@

UseOfNonHashableClassIn

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
UseOfNonHashableClassInHashDataStructure.equals(Object) is unusual STYLEMedium

UselessAssignments

- +
+ - - - - - + + + + + @@ -417,13 +427,14 @@

UselessAssignments

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Dead store to $L2 in new UselessAssignments(int, int) STYLE Medium

UselessControlFlow

- +
+ - - - - - + + + + + @@ -450,13 +461,14 @@

UselessControlFlow

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Useless control flow in UselessControlFlow.report2(Object, Object) STYLE Medium

UselessCurrentThread

- +
+ - - - - - + + + + + @@ -465,13 +477,14 @@

UselessCurrentThread

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
UselessCurrentThread.run() invokes static Thread.interrupted() method on thread instance CORRECTNESS Medium

UselessFinalize

- +
+ - - - - - + + + + + @@ -480,13 +493,14 @@

UselessFinalize

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
UselessFinalize.finalize() does nothing except call super.finalize(); delete it BAD_PRACTICE Medium

UserMistakes

- +
+ - - - - - + + + + + @@ -519,13 +533,14 @@

UserMistakes

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Dead store to $L3 in UserMistakes.main(String[]) STYLE Medium

equals.ArrayEquality

- +
+ - - - - - + + + + + @@ -576,13 +591,14 @@

equals.ArrayEquality

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Calling String[].equals(String) in equals.ArrayEquality.reportProblemsWithArrayEquality(String[], String) CORRECTNESS Medium

gcUnrelatedTypes.AllListsCouldBeEqual

- +
+ - - - - - + + + + + @@ -615,13 +631,14 @@

gcUnrelatedTypes.AllListsC

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Impossible cast from java.util.LinkedList to java.util.ArrayList in gcUnrelatedTypes.AllListsCouldBeEqual.main(String[]) CORRECTNESSMedium

gcUnrelatedTypes.ArrayListContains

- +
+ - - - - - + + + + + @@ -690,13 +707,14 @@

gcUnrelatedTypes.ArrayListCon

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
String is incompatible with expected argument type ArrayListContains$Dummy in new gcUnrelatedTypes.ArrayListContains(ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList) CORRECTNESSMedium

gcUnrelatedTypes.ArrayListContains0

- +
+ - - - - - + + + + + @@ -789,13 +807,14 @@

gcUnrelatedTypes.ArrayListCo

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Dead store to $L11 in new gcUnrelatedTypes.ArrayListContains0(ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList, ArrayList) STYLEMedium

npe.UseCheckUse

- +
+ - - - - - + + + + + @@ -804,13 +823,14 @@

npe.UseCheckUse

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Nullcheck of UseCheckUse.x at line 10 of value previously dereferenced in npe.UseCheckUse.f(boolean) CORRECTNESS High

nullnessAnnotations.UseAnnotations

- +
+ - - - - - + + + + + @@ -861,13 +881,14 @@

nullnessAnnotations.UseAnnota

Spotbug Results
BugCategoryDetailsLinePriority
BugCategoryDetailsLinePriority
Null pointer dereference of ? in nullnessAnnotations.UseAnnotations.bar2() CORRECTNESSMedium

com.github.spotbugs.spotbugs-maven-plugin.it.App

- - - - - - - +
BugCategoryDetailsLinePriority
+ + + + + + +
Spotbug Results
BugCategoryDetailsLinePriority
com.github.spotbugs.spotbugs-maven-plugin.it.App.clone() does not call super.clone() BAD_PRACTICE