Class TextUIProgressCallback
java.lang.Object
edu.umd.cs.findbugs.TextUIProgressCallback
- All Implemented Interfaces:
IClassPathBuilderProgress, FindBugsProgress
Display FindBugs progress in the terminal window using ASCII codes. We assume
that the terminal window is at least 80 characters wide.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidanalyzingClasses(int i) voidReport that FindBugs has finished scanning an archive in order to add its classes to the repository.voidReport that FindBugs has finished analyzing a class.voidCalled 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 passprivate voidprintMessage(String msg) voidreportNumberOfArchives(int numArchives) Report the total number of archives (Jar or zip files) that will be analyzed.private voidscanningArchives(int i) voidstartAnalysis(int numClasses) Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.voidstartArchive(String name) Report that FindBugs has started scanning an archive in order to add its classes to the repository.
-
Field Details
-
out
-
goal
private int goal -
count
private int count -
numPasses
private int numPasses -
pass
private int pass
-
-
Constructor Details
-
TextUIProgressCallback
-
-
Method Details
-
reportNumberOfArchives
public void reportNumberOfArchives(int numArchives) Description copied from interface:FindBugsProgressReport the total number of archives (Jar or zip files) that will be analyzed.- Specified by:
reportNumberOfArchivesin interfaceFindBugsProgress- Parameters:
numArchives- the number of archives
-
finishArchive
public void finishArchive()Description copied from interface:FindBugsProgressReport that FindBugs has finished scanning an archive in order to add its classes to the repository.- Specified by:
finishArchivein interfaceFindBugsProgress- Specified by:
finishArchivein interfaceIClassPathBuilderProgress
-
predictPassCount
public void predictPassCount(int[] classesPerPass) Description copied from interface:FindBugsProgressProvide an array that predicts the number of classes in each pass- Specified by:
predictPassCountin interfaceFindBugsProgress- Parameters:
classesPerPass-
-
startAnalysis
public void startAnalysis(int numClasses) Description copied from interface:FindBugsProgressReport that FindBugs has finished scanning the archives and will start analysing the classes contained therein.- Specified by:
startAnalysisin interfaceFindBugsProgress- Parameters:
numClasses- number of classes found in all of the archives
-
finishClass
public void finishClass()Description copied from interface:FindBugsProgressReport that FindBugs has finished analyzing a class.- Specified by:
finishClassin interfaceFindBugsProgress
-
finishPerClassAnalysis
public void finishPerClassAnalysis()Description copied from interface:FindBugsProgressCalled to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.- Specified by:
finishPerClassAnalysisin interfaceFindBugsProgress
-
scanningArchives
private void scanningArchives(int i) -
analyzingClasses
private void analyzingClasses(int i) -
printMessage
-
startArchive
Description copied from interface:FindBugsProgressReport that FindBugs has started scanning an archive in order to add its classes to the repository.- Specified by:
startArchivein interfaceFindBugsProgress- Specified by:
startArchivein interfaceIClassPathBuilderProgress
-