edu.umd.cs.findbugs.workflow
Class FileBugHash
java.lang.Object
edu.umd.cs.findbugs.workflow.FileBugHash
public class FileBugHash
- extends java.lang.Object
For each source file that has reported bugs, compute a hash of all the issues
reported for that file. These hashes use line numbers, so a change that only
changes the line number of an issue will cause the hash to be different.
- Author:
- William Pugh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSourceFiles
public java.util.Collection<java.lang.String> getSourceFiles()
getHash
@CheckForNull
public java.lang.String getHash(java.lang.String sourceFile)
getBugCount
public int getBugCount(java.lang.String sourceFile)
getSize
public int getSize(java.lang.String sourceFile)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
compute
public static FileBugHash compute(BugCollection origCollection)
- Parameters:
origCollection
-
- Returns:
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.