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
using the annotation graph.
It implements BICColletor which is interface about collecting BIC
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.voidsetBFC(java.util.List<java.lang.String> bfcList)setting BFC(bug fixing commit)
-
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:
setBFCin interfaceBICCollector- 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.IOExceptionMake the annotation graph and than create bic csv file using annotation graph.- Specified by:
collectFromin interfaceBICCollector- Parameters:
commitList- The list that is all commit list from github project.- Returns:
- null
- Throws:
java.io.IOException- See Also:
- "AnnotationGraphBuilder", "AnnotationGraphModel", "RevCommit"
-