Program: 61531
Project: 61531
Buggy source:
/** 
 * Generates and runs evosuite test cases 
 */
public ProgramVariantValidationResult runTestFromEvoSuite(ProgramVariant currentVariant,ProjectRepairFacade projectFacade,boolean runOverOriginal) throws Exception {
  log.info("String_Node_Str" + currentVariant.currentMutatorIdentifier());
  log.debug("String_Node_Str" + ((runOverOriginal) ? "String_Node_Str" : "String_Node_Str"));
  String sufix=(runOverOriginal) ? "String_Node_Str" : ("String_Node_Str" + currentVariant.getId());
  EvoSuiteFacade fev=new EvoSuiteFacade();
  String testEScodepath=projectFacade.getInDirWithPrefix(ConfigurationProperties.getProperty("String_Node_Str") + File.separator + sufix);
  File esPath=new File(testEScodepath);
  log.info("String_Node_Str" + esPath);
  String classpathForCompile="String_Node_Str";
  classpathForCompile=projectFacade.getProperties().getDependenciesString() + File.pathSeparator + projectFacade.getOutDirWithPrefix(currentVariant.currentMutatorIdentifier())+ File.pathSeparator+ new File("String_Node_Str").getAbsolutePath()+ File.pathSeparator+ projectFacade.getOutDirWithPrefix(currentVariant.DEFAULT_ORIGINAL_VARIANT);
  String outPutTest=projectFacade.getOutDirWithPrefix("String_Node_Str" + sufix);
  List<String> classesToGenerateTests=new ArrayList<String>();
  List<String> testToExecute=new ArrayList<String>();
  List<CtType<?>> typesToProcess=fev.getClassesToProcess(currentVariant);
  for (  CtType<?> ctType : typesToProcess) {
    String stype=ctType.getQualifiedName();
    String testName=stype + EvoSuiteFacade.EVOSUITE_SUFFIX;
    if (!runOverOriginal || !testAlreadyGenerated.contains(testName)) {
      classesToGenerateTests.add(stype);
    }
    testToExecute.add(testName);
  }
  log.debug("String_Node_Str" + classesToGenerateTests);
  if (classesToGenerateTests.size() > 0) {
    List<String> pathTestGenerated=new ArrayList<String>();
    log.debug("String_Node_Str");
    boolean executed=fev.runEvosuite(currentVariant,classesToGenerateTests,projectFacade,testEScodepath,runOverOriginal);
    Collection<File> files=FileUtils.listFiles(esPath,new RegexFileFilter("String_Node_Str"),DirectoryFileFilter.DIRECTORY);
    for (    File file : files) {
      pathTestGenerated.add(file.getAbsolutePath());
    }
    List<String> testGenerated=new ArrayList<>();
    for (    String f : pathTestGenerated) {
      String qualifiedTestName=f.replace("String_Node_Str","String_Node_Str").replace(esPath.toString(),"String_Node_Str").replace("String_Node_Str","String_Node_Str").replace(File.separator,"String_Node_Str");
      if (!qualifiedTestName.endsWith(EvoSuiteFacade.EVOSUITE_scaffolding_SUFFIX) && classesToGenerateTests.contains(qualifiedTestName.replace(EvoSuiteFacade.EVOSUITE_SUFFIX,"String_Node_Str"))) {
        testGenerated.add(qualifiedTestName);
      }
    }
    if (classesToGenerateTests.size() != testGenerated.size()) {
      log.error("String_Node_Str" + testGenerated + "String_Node_Str"+ classesToGenerateTests);
    }
    log.debug("String_Node_Str" + testGenerated);
    testAlreadyGenerated.addAll(testGenerated);
    log.info("String_Node_Str" + classpathForCompile);
    String javaPath=ConfigurationProperties.getProperty("String_Node_Str");
    List<String> command=new ArrayList<String>();
    command.add(javaPath + File.separator + "String_Node_Str");
    command.add("String_Node_Str");
    command.add(classpathForCompile);
    command.add("String_Node_Str");
    File fout=new File(outPutTest);
    fout.mkdirs();
    command.add(outPutTest);
    for (    String testPath : pathTestGenerated) {
      command.add(testPath);
    }
    fev.runProcess(command.toArray(new String[command.size()]));
  }
 else {
    log.debug("String_Node_Str" + testAlreadyGenerated);
  }
  String classpathForRunTest=classpathForCompile + (File.pathSeparator) + outPutTest;
  log.info("String_Node_Str" + classpathForRunTest);
  ProcessEvoSuiteValidator evoProcess=new ProcessEvoSuiteValidator();
  ProgramVariantValidationResult evoResult=evoProcess.executeRegressionTesting(Converters.toURLArray(classpathForRunTest.split(File.pathSeparator)),testToExecute);
  return evoResult;
}

Fixed version (ground truth):
/** 
 * Generates and runs evosuite test cases 
 */
public ProgramVariantValidationResult runTestFromEvoSuite(ProgramVariant currentVariant,ProjectRepairFacade projectFacade,boolean runOverOriginal) throws Exception {
  log.info("String_Node_Str" + currentVariant.currentMutatorIdentifier());
  log.debug("String_Node_Str" + ((runOverOriginal) ? "String_Node_Str" : "String_Node_Str"));
  String sufix=(runOverOriginal) ? "String_Node_Str" : ("String_Node_Str" + currentVariant.getId());
  EvoSuiteFacade fev=new EvoSuiteFacade();
  String testEScodepath=projectFacade.getInDirWithPrefix(ConfigurationProperties.getProperty("String_Node_Str") + File.separator + sufix);
  File esPath=new File(testEScodepath);
  log.info("String_Node_Str" + esPath);
  String classpathForCompile="String_Node_Str";
  classpathForCompile=projectFacade.getProperties().getDependenciesString() + File.pathSeparator + projectFacade.getOutDirWithPrefix(currentVariant.currentMutatorIdentifier())+ File.pathSeparator+ new File(ConfigurationProperties.getProperty("String_Node_Str")).getAbsolutePath()+ File.pathSeparator+ projectFacade.getOutDirWithPrefix(currentVariant.DEFAULT_ORIGINAL_VARIANT);
  String outPutTest=projectFacade.getOutDirWithPrefix("String_Node_Str" + sufix);
  List<String> classesToGenerateTests=new ArrayList<String>();
  List<String> testToExecute=new ArrayList<String>();
  List<CtType<?>> typesToProcess=fev.getClassesToProcess(currentVariant);
  for (  CtType<?> ctType : typesToProcess) {
    String stype=ctType.getQualifiedName();
    String testName=stype + EvoSuiteFacade.EVOSUITE_SUFFIX;
    if (!runOverOriginal || !testAlreadyGenerated.contains(testName)) {
      classesToGenerateTests.add(stype);
    }
    testToExecute.add(testName);
  }
  log.debug("String_Node_Str" + classesToGenerateTests);
  if (classesToGenerateTests.size() > 0) {
    List<String> pathTestGenerated=new ArrayList<String>();
    log.debug("String_Node_Str");
    boolean executed=fev.runEvosuite(currentVariant,classesToGenerateTests,projectFacade,testEScodepath,runOverOriginal);
    Collection<File> files=FileUtils.listFiles(esPath,new RegexFileFilter("String_Node_Str"),DirectoryFileFilter.DIRECTORY);
    for (    File file : files) {
      pathTestGenerated.add(file.getAbsolutePath());
    }
    List<String> testGenerated=new ArrayList<>();
    for (    String f : pathTestGenerated) {
      String qualifiedTestName=f.replace("String_Node_Str","String_Node_Str").replace(esPath.toString(),"String_Node_Str").replace("String_Node_Str","String_Node_Str").replace(File.separator,"String_Node_Str");
      if (!qualifiedTestName.endsWith(EvoSuiteFacade.EVOSUITE_scaffolding_SUFFIX) && classesToGenerateTests.contains(qualifiedTestName.replace(EvoSuiteFacade.EVOSUITE_SUFFIX,"String_Node_Str"))) {
        testGenerated.add(qualifiedTestName);
      }
    }
    if (classesToGenerateTests.size() != testGenerated.size()) {
      log.error("String_Node_Str" + testGenerated + "String_Node_Str"+ classesToGenerateTests);
    }
    log.debug("String_Node_Str" + testGenerated);
    testAlreadyGenerated.addAll(testGenerated);
    log.info("String_Node_Str" + classpathForCompile);
    String javaPath=ConfigurationProperties.getProperty("String_Node_Str");
    List<String> command=new ArrayList<String>();
    command.add(javaPath + File.separator + "String_Node_Str");
    command.add("String_Node_Str");
    command.add(classpathForCompile);
    command.add("String_Node_Str");
    File fout=new File(outPutTest);
    fout.mkdirs();
    command.add(outPutTest);
    for (    String testPath : pathTestGenerated) {
      command.add(testPath);
    }
    fev.runProcess(command.toArray(new String[command.size()]));
  }
 else {
    log.debug("String_Node_Str" + testAlreadyGenerated);
  }
  String classpathForRunTest=classpathForCompile + (File.pathSeparator) + outPutTest;
  log.info("String_Node_Str" + classpathForRunTest);
  ProcessEvoSuiteValidator evoProcess=new ProcessEvoSuiteValidator();
  ProgramVariantValidationResult evoResult=evoProcess.executeRegressionTesting(Converters.toURLArray(classpathForRunTest.split(File.pathSeparator)),testToExecute);
  return evoResult;
}