Package edu.umd.cs.findbugs.workflow
Class MergeSummarizeAndView
java.lang.Object
edu.umd.cs.findbugs.workflow.MergeSummarizeAndView
Compute the union of two sets of bug results, preserving annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) static final long
(package private) int
(package private) final MergeSummarizeAndView.MSVOptions
(package private) SortedBugCollection
(package private) SortedBugCollection
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
ageInDays
(long firstSeen) (package private) static SortedBugCollection
createPreconfiguredBugCollection
(List<String> workingDirList, List<String> srcDirList, IGuiCallback guiCallback) void
execute()
int
int
int
private void
load()
static void
int
private boolean
report()
static SortedBugCollection
union
(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
Field Details
-
results
SortedBugCollection results -
scaryBugs
SortedBugCollection scaryBugs -
numLowConfidence
int numLowConfidence -
tooOld
int tooOld -
harmless
int harmless -
options
-
NOW
static final long NOW
-
-
Constructor Details
-
MergeSummarizeAndView
-
-
Method Details
-
union
public static SortedBugCollection union(SortedBugCollection origCollection, SortedBugCollection newCollection) -
main
- Throws:
Exception
-
execute
public void execute() -
numScaryBugs
public int numScaryBugs()- Returns:
- Returns true if there were bugs that passed all of the cutoffs.
-
getScaryBugs
- Returns:
- Returns the bugs that passed all of the cutoffs
-
getAllBugs
- Returns:
- Returns all of the merged bugs
-
getHarmless
public int getHarmless()- Returns:
- Returns the number of issues classified as harmless
-
getLowConfidence
public int getLowConfidence()- Returns:
- Returns the number of issues that had a rank higher than the maxRank (but not marked as harmless)
-
getTooOld
public int getTooOld()- Returns:
- Returns the number of issues older than the age cutoff (but not ranked higher than the maxRank or marked as harmless).
-
load
private void load() -
report
private boolean report() -
createPreconfiguredBugCollection
static SortedBugCollection createPreconfiguredBugCollection(List<String> workingDirList, List<String> srcDirList, IGuiCallback guiCallback) -
ageInDays
static int ageInDays(long firstSeen)
-