Class 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 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