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 static classMergeSummarizeAndView.MSVOptions
-
Constructor Summary
Constructors Constructor Description MergeSummarizeAndView(MergeSummarizeAndView.MSVOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()BugCollectiongetAllBugs()intgetHarmless()intgetLowConfidence()BugCollectiongetScaryBugs()intgetTooOld()booleanisConnectedToCloud()static voidmain(java.lang.String[] argv)intnumScaryBugs()static SortedBugCollectionunion(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
-
-
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()
-
isConnectedToCloud
public boolean isConnectedToCloud()
-
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).
-
-