Program: 136759
Project: 136759
Buggy source:
@Test public void testInferTypesPerformance(){
  InputStream in=null;
  ;
  try {
    in=new FileInputStream(new File("String_Node_Str"));
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
  BufferedReader inBuffReader=new BufferedReader(new InputStreamReader(in));
  List<String[]> records=new ArrayList<String[]>();
  String line=null;
  String start, end;
  try {
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      records.add(record);
    }
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    inferExector.inferTypes(records);
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 0.9);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  in=null;
  ;
  try {
    in=new FileInputStream(new File("String_Node_Str"));
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
  inBuffReader=new BufferedReader(new InputStreamReader(in));
  records=new ArrayList<String[]>();
  try {
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      records.add(record);
    }
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    inferExector.inferTypes(records);
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 4.8);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  in=null;
  ;
  try {
    in=new FileInputStream(new File("String_Node_Str"));
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
  inBuffReader=new BufferedReader(new InputStreamReader(in));
  try {
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    boolean isFirstLine=true;
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      if (isFirstLine) {
        isFirstLine=false;
        inferExector.init(record);
      }
      inferExector.handle(record);
    }
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 45);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
@Ignore public void testInferTypesPerformance(){
  InputStream in=this.getClass().getClassLoader().getResourceAsStream("String_Node_Str");
  BufferedReader inBuffReader=new BufferedReader(new InputStreamReader(in));
  List<String[]> records=new ArrayList<String[]>();
  String line=null;
  String start, end;
  try {
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      records.add(record);
    }
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    inferExector.inferTypes(records);
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 0.9);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  in=null;
  try {
    in=new FileInputStream(new File("String_Node_Str"));
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
  inBuffReader=new BufferedReader(new InputStreamReader(in));
  records=new ArrayList<String[]>();
  try {
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      records.add(record);
    }
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    inferExector.inferTypes(records);
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 4.8);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  in=null;
  try {
    in=new FileInputStream(new File("String_Node_Str"));
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
  inBuffReader=new BufferedReader(new InputStreamReader(in));
  try {
    start=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + start);
    boolean isFirstLine=true;
    while ((line=inBuffReader.readLine()) != null) {
      String[] record=StringUtils.splitByWholeSeparatorPreserveAllTokens(line,"String_Node_Str");
      if (isFirstLine) {
        isFirstLine=false;
        inferExector.init(record);
      }
      inferExector.handle(record);
    }
    end=TypeInferenceUtilsTest.getCurrentTimeStamp();
    printline("String_Node_Str" + end);
    double timeDiff=TypeInferenceUtilsTest.getTimeDifference(start,end);
    printline("String_Node_Str" + timeDiff);
    Assert.assertTrue(timeDiff < 45);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}