edu.umd.cs.findbugs

Interface FindBugsProgress

public interface FindBugsProgress extends IClassPathBuilderProgress

A callback that may be installed in a FindBugs instance to asynchronously keep track of its progress.

Author: David Hovemeyer

See Also: FindBugs

Method Summary
voidfinishArchive()
Report that FindBugs has finished scanning an archive in order to add its classes to the repository.
voidfinishClass()
Report that FindBugs has finished analyzing a class.
voidfinishPerClassAnalysis()
Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.
voidpredictPassCount(int[] classesPerPass)
Provide an array that predicts the number of classes in each pass
voidreportNumberOfArchives(int numArchives)
Report the total number of archives (Jar or zip files) that will be analyzed.
voidstartAnalysis(int numClasses)
Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.

Method Detail

finishArchive

public void finishArchive()
Report that FindBugs has finished scanning an archive in order to add its classes to the repository.

finishClass

public void finishClass()
Report that FindBugs has finished analyzing a class.

finishPerClassAnalysis

public void finishPerClassAnalysis()
Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.

predictPassCount

public void predictPassCount(int[] classesPerPass)
Provide an array that predicts the number of classes in each pass

Parameters: classesPerPass

reportNumberOfArchives

public void reportNumberOfArchives(int numArchives)
Report the total number of archives (Jar or zip files) that will be analyzed.

Parameters: numArchives the number of archives

startAnalysis

public void startAnalysis(int numClasses)
Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.

Parameters: numClasses number of classes found in all of the archives

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