Class Update


  • public class Update
    extends java.lang.Object
    Java main application to compute update a historical bug collection with results from another build/analysis.
    • Field Detail

      • doMatchFixedBugs

        static final boolean doMatchFixedBugs
      • maxResurrection

        static final int maxResurrection
      • USAGE

        private static final java.lang.String USAGE
      • resurrected

        private final java.util.Set<java.lang.String> resurrected
      • matchedOldBugs

        private final java.util.Map<BugInstance,​java.lang.Void> matchedOldBugs
      • noPackageMoves

        boolean noPackageMoves
      • useAnalysisTimes

        boolean useAnalysisTimes
      • noResurrections

        boolean noResurrections
      • preciseMatch

        boolean preciseMatch
      • sloppyMatch

        boolean sloppyMatch
      • precisePriorityMatch

        boolean precisePriorityMatch
      • mostRecent

        int mostRecent
      • maxRank

        int maxRank
      • verbose

        boolean verbose
    • Constructor Detail

      • Update

        public Update()
    • Method Detail

      • sourceFilesInCollection

        java.util.HashSet<java.lang.String> sourceFilesInCollection​(BugCollection collection)
      • discardUnwantedBugs

        private void discardUnwantedBugs​(BugCollection newCollection)
        Parameters:
        newCollection -
      • getFilePathParts

        public static java.lang.String[] getFilePathParts​(java.lang.String filePath)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                org.dom4j.DocumentException
        Throws:
        java.io.IOException
        org.dom4j.DocumentException
      • doit

        public void doit​(java.lang.String[] args)
                  throws java.io.IOException,
                         org.dom4j.DocumentException
        Throws:
        java.io.IOException
        org.dom4j.DocumentException
      • lengthCommonPrefix

        private static int lengthCommonPrefix​(java.lang.String[] string,
                                              java.lang.String[] string2)