FindBugs™ 1.3.9

edu.umd.cs.findbugs.workflow
Class BugHistory

java.lang.Object
  extended by edu.umd.cs.findbugs.workflow.BugHistory

Deprecated.

@Deprecated
public class BugHistory
extends java.lang.Object

Analyze bug results to find new, fixed, and retained bugs between versions of the same program. Uses VersionInsensitiveBugComparator (or FuzzyBugComparator) to determine when two BugInstances are the "same". The new BugCollection returned is a deep copy of one of the input collections (depending on the operation performed), with only a subset of the original BugInstances retained. Because it is a deep copy, it may be freely modified.

Author:
David Hovemeyer

Nested Class Summary
static interface BugHistory.SetOperation
          Deprecated. A set operation between two bug collections.
 
Field Summary
static BugHistory.SetOperation ADDED_WARNINGS
          Deprecated. Get the warnings which were added, meaning that they were not part of the original BugCollection.
static BugHistory.SetOperation REMOVED_WARNINGS
          Deprecated. Get the warnings which were removed, meaning that they occur in the original BugCollection but not in the new BugCollection.
static BugHistory.SetOperation RETAINED_WARNINGS
          Deprecated. Get the warnings which were retained, meaning that they occur in both the original and new BugCollections.
 
Constructor Summary
BugHistory(SortedBugCollection origCollection, SortedBugCollection newCollection)
          Deprecated. Contructor.
 
Method Summary
 WarningComparator getComparator()
          Deprecated. Get the Comparator used to compare BugInstances from different BugCollections.
 SortedBugCollection getNewCollection()
          Deprecated.  
 SortedBugCollection getOrigCollection()
          Deprecated.  
 SortedBugCollection getOriginator()
          Deprecated.  
 SortedBugCollection getResultCollection()
          Deprecated.  
static void main(java.lang.String[] argv)
          Deprecated.  
 SortedBugCollection performSetOperation(BugHistory.SetOperation operation)
          Deprecated. Perform a SetOperation.
 void setComparator(WarningComparator comparator)
          Deprecated.  
 void writeResultCollection(Project origProject, Project newProject, java.io.OutputStream outputStream)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADDED_WARNINGS

public static final BugHistory.SetOperation ADDED_WARNINGS
Deprecated. 
Get the warnings which were added, meaning that they were not part of the original BugCollection. The BugInstances returned are from the new BugCollection.


RETAINED_WARNINGS

public static final BugHistory.SetOperation RETAINED_WARNINGS
Deprecated. 
Get the warnings which were retained, meaning that they occur in both the original and new BugCollections. The BugInstances returned are from the new BugCollection.


REMOVED_WARNINGS

public static final BugHistory.SetOperation REMOVED_WARNINGS
Deprecated. 
Get the warnings which were removed, meaning that they occur in the original BugCollection but not in the new BugCollection. The BugInstances returned are from the original BugCollection.

Constructor Detail

BugHistory

public BugHistory(SortedBugCollection origCollection,
                  SortedBugCollection newCollection)
Deprecated. 
Contructor.

Parameters:
origCollection - the original BugCollection
newCollection - the new BugCollection
Method Detail

getComparator

public WarningComparator getComparator()
Deprecated. 
Get the Comparator used to compare BugInstances from different BugCollections.


setComparator

public void setComparator(WarningComparator comparator)
Deprecated. 
Parameters:
comparator - The comparator to set.

performSetOperation

public SortedBugCollection performSetOperation(BugHistory.SetOperation operation)
Deprecated. 
Perform a SetOperation.

Parameters:
operation - the SetOperation
Returns:
the BugCollection resulting from performing the SetOperation

getOriginator

public SortedBugCollection getOriginator()
Deprecated. 
Returns:
Returns the originator.

getOrigCollection

public SortedBugCollection getOrigCollection()
Deprecated. 
Returns:
Returns the origCollection.

getNewCollection

public SortedBugCollection getNewCollection()
Deprecated. 
Returns:
Returns the newCollection.

getResultCollection

public SortedBugCollection getResultCollection()
Deprecated. 
Returns:
Returns the result.

writeResultCollection

public void writeResultCollection(Project origProject,
                                  Project newProject,
                                  java.io.OutputStream outputStream)
                           throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.