Class AGSZZBICCollector

java.lang.Object
edu.handong.csee.isel.bic.collector.AGSZZBICCollector
All Implemented Interfaces:
BICCollector

public class AGSZZBICCollector
extends java.lang.Object
implements BICCollector
The AGSZZBICCollector class do collect BIC(bug introducing commit)
using the annotation graph.
It implements BICColletor which is interface about collecting BIC
Author:
SJ, JY
  • Constructor Summary

    Constructors 
    Constructor Description
    AGSZZBICCollector​(java.lang.String outPath, java.lang.String projectName, java.lang.String gitURL)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<CSVInfo> collectFrom​(java.util.List<org.eclipse.jgit.revwalk.RevCommit> commitList)
    Make the annotation graph and than create bic csv file using annotation graph.
    void setBFC​(java.util.List<java.lang.String> bfcList)
    setting BFC(bug fixing commit)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AGSZZBICCollector

      public AGSZZBICCollector​(java.lang.String outPath, java.lang.String projectName, java.lang.String gitURL)
  • Method Details

    • setBFC

      public void setBFC​(java.util.List<java.lang.String> bfcList)
      setting BFC(bug fixing commit)
      Specified by:
      setBFC in interface BICCollector
      Parameters:
      bfcList - The list that is only bug fixing commit name list.
    • collectFrom

      public java.util.List<CSVInfo> collectFrom​(java.util.List<org.eclipse.jgit.revwalk.RevCommit> commitList) throws java.io.IOException
      Make the annotation graph and than create bic csv file using annotation graph.
      Specified by:
      collectFrom in interface BICCollector
      Parameters:
      commitList - The list that is all commit list from github project.
      Returns:
      null
      Throws:
      java.io.IOException
      See Also:
      "AnnotationGraphBuilder", "AnnotationGraphModel", "RevCommit"