FindBugs™ 1.3.9

edu.umd.cs.findbugs.workflow
Class FileBugHash

java.lang.Object
  extended by 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

Method Summary
static FileBugHash compute(BugCollection origCollection)
           
 int getBugCount(java.lang.String sourceFile)
           
 java.lang.String getHash(java.lang.String sourceFile)
           
 int getSize(java.lang.String sourceFile)
           
 java.util.Collection<java.lang.String> getSourceFiles()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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™ 1.3.9

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