Program: 48000
Project: 48000
Buggy source:
/** 
 * Build data set.
 * @param summaries HashMap containing data of chart.
 * @return CategoryDataset Interface for a dataset with one or moreseries, and values associated with categories.
 */
private static CategoryDataset buildDataSet(Map<LocalDate,JacocoCoverageResultSummary> summaries){
  DataSetBuilder<String,LocalDate> dataSetBuilder=new DataSetBuilder<String,LocalDate>();
  for (  Map.Entry<LocalDate,JacocoCoverageResultSummary> entry : summaries.entrySet()) {
    float classCoverage=0;
    float lineCoverage=0;
    float methodCoverage=0;
    float branchCoverage=0;
    float instructionCoverage=0;
    float complexityScore=0;
    int count=0;
    List<JacocoCoverageResultSummary> list=entry.getValue().getJacocoCoverageResults();
    for (    JacocoCoverageResultSummary item : list) {
      classCoverage+=item.getClassCoverage();
      lineCoverage+=item.getLineCoverage();
      methodCoverage+=item.getMethodCoverage();
      branchCoverage+=item.getBranchCoverage();
      instructionCoverage+=item.getInstructionCoverage();
      complexityScore+=item.getComplexityScore();
      count++;
    }
    dataSetBuilder.add((classCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((lineCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((methodCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((branchCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((instructionCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((complexityScore / count),"String_Node_Str",entry.getKey());
  }
  return dataSetBuilder.build();
}

Fixed version (ground truth):
/** 
 * Build data set.
 * @param summaries HashMap containing data of chart.
 * @return CategoryDataset Interface for a dataset with one or moreseries, and values associated with categories.
 */
private static CategoryDataset buildDataSet(Map<LocalDate,JacocoCoverageResultSummary> summaries){
  DataSetBuilder<String,LocalDate> dataSetBuilder=new DataSetBuilder<>();
  for (  Map.Entry<LocalDate,JacocoCoverageResultSummary> entry : summaries.entrySet()) {
    float classCoverage=0;
    float lineCoverage=0;
    float methodCoverage=0;
    float branchCoverage=0;
    float instructionCoverage=0;
    float complexityScore=0;
    int count=0;
    List<JacocoCoverageResultSummary> list=entry.getValue().getJacocoCoverageResults();
    for (    JacocoCoverageResultSummary item : list) {
      classCoverage+=item.getClassCoverage();
      lineCoverage+=item.getLineCoverage();
      methodCoverage+=item.getMethodCoverage();
      branchCoverage+=item.getBranchCoverage();
      instructionCoverage+=item.getInstructionCoverage();
      complexityScore+=item.getComplexityScore();
      count++;
    }
    dataSetBuilder.add((classCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((lineCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((methodCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((branchCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((instructionCoverage / count),"String_Node_Str",entry.getKey());
    dataSetBuilder.add((complexityScore / count),"String_Node_Str",entry.getKey());
  }
  return dataSetBuilder.build();
}