Package edu.umd.cs.findbugs.workflow
Class MergeSummarizeAndView
- java.lang.Object
-
- edu.umd.cs.findbugs.workflow.MergeSummarizeAndView
-
public class MergeSummarizeAndView extends java.lang.Object
Compute the union of two sets of bug results, preserving annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MergeSummarizeAndView.MSVCommandLine
static class
MergeSummarizeAndView.MSVOptions
-
Field Summary
Fields Modifier and Type Field Description (package private) int
harmless
(package private) static long
NOW
(package private) int
numLowConfidence
(package private) MergeSummarizeAndView.MSVOptions
options
(package private) SortedBugCollection
results
(package private) SortedBugCollection
scaryBugs
(package private) int
tooOld
-
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 int
ageInDays(long firstSeen)
(package private) static SortedBugCollection
createPreconfiguredBugCollection(java.util.List<java.lang.String> workingDirList, java.util.List<java.lang.String> srcDirList, IGuiCallback guiCallback)
void
execute()
BugCollection
getAllBugs()
int
getHarmless()
int
getLowConfidence()
BugCollection
getScaryBugs()
int
getTooOld()
private void
load()
static void
main(java.lang.String[] argv)
int
numScaryBugs()
private boolean
report()
static SortedBugCollection
union(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)
-
-