Package edu.umd.cs.findbugs.workflow
Class MergeSummarizeAndView
- java.lang.Object
-
- edu.umd.cs.findbugs.workflow.MergeSummarizeAndView
-
public class MergeSummarizeAndView extends java.lang.ObjectCompute the union of two sets of bug results, preserving annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classMergeSummarizeAndView.MSVCommandLinestatic classMergeSummarizeAndView.MSVOptions
-
Field Summary
Fields Modifier and Type Field Description (package private) intharmless(package private) static longNOW(package private) intnumLowConfidence(package private) MergeSummarizeAndView.MSVOptionsoptions(package private) SortedBugCollectionresults(package private) SortedBugCollectionscaryBugs(package private) inttooOld
-
Constructor Summary
Constructors Constructor Description MergeSummarizeAndView(MergeSummarizeAndView.MSVOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static intageInDays(long firstSeen)(package private) static SortedBugCollectioncreatePreconfiguredBugCollection(java.util.List<java.lang.String> workingDirList, java.util.List<java.lang.String> srcDirList, IGuiCallback guiCallback)voidexecute()BugCollectiongetAllBugs()intgetHarmless()intgetLowConfidence()BugCollectiongetScaryBugs()intgetTooOld()private voidload()static voidmain(java.lang.String[] argv)intnumScaryBugs()private booleanreport()static SortedBugCollectionunion(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
-
-
Field Detail
-
results
SortedBugCollection results
-
scaryBugs
SortedBugCollection scaryBugs
-
numLowConfidence
int numLowConfidence
-
tooOld
int tooOld
-
harmless
int harmless
-
options
final MergeSummarizeAndView.MSVOptions options
-
NOW
static final long NOW
-
-
Constructor Detail
-
MergeSummarizeAndView
public MergeSummarizeAndView(MergeSummarizeAndView.MSVOptions options)
-
-
Method Detail
-
union
public static SortedBugCollection union(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
main
public static void main(java.lang.String[] argv) throws java.lang.Exception- Throws:
java.lang.Exception
-
execute
public void execute()
-
numScaryBugs
public int numScaryBugs()
- Returns:
- Returns true if there were bugs that passed all of the cutoffs.
-
getScaryBugs
public BugCollection getScaryBugs()
- Returns:
- Returns the bugs that passed all of the cutoffs
-
getAllBugs
public BugCollection 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(java.util.List<java.lang.String> workingDirList, java.util.List<java.lang.String> srcDirList, IGuiCallback guiCallback)
-
ageInDays
static int ageInDays(long firstSeen)
-
-