Program: 138393
Project: 138393
Buggy source:
public void recomputeIndicators(){
  correlationAnalysisHandler=new ColumnCorrelationAnalysisHandler();
  correlationAnalysisHandler.setAnalysis((Analysis)this.currentModelElement);
  stringDataFilter=correlationAnalysisHandler.getStringDataFilter();
  analyzedColumns=correlationAnalysisHandler.getAnalyzedColumns();
  if (correlationAnalysisHandler.getIndicator() == null) {
    ColumnsetFactory columnsetFactory=ColumnsetFactory.eINSTANCE;
    if (ColumnsetPackage.eINSTANCE.getCountAvgNullIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createCountAvgNullIndicator();
      fillSimpleIndicators(columnSetMultiIndicator);
    }
    if (ColumnsetPackage.eINSTANCE.getMinMaxDateIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createMinMaxDateIndicator();
    }
    if (ColumnsetPackage.eINSTANCE.getWeakCorrelationIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createWeakCorrelationIndicator();
    }
  }
 else {
    columnSetMultiIndicator=(ColumnSetMultiValueIndicator)correlationAnalysisHandler.getIndicator();
  }
  initializeIndicator(columnSetMultiIndicator);
  columnSetMultiIndicator.setStoreData(true);
  for (  ModelElement element : analyzedColumns) {
    TdColumn tdColumn=SwitchHelpers.COLUMN_SWITCH.doSwitch(element);
    if (tdColumn == null) {
      continue;
    }
    DataminingType dataminingType=correlationAnalysisHandler.getDatamingType(tdColumn);
    MetadataHelper.setDataminingType(dataminingType == null ? DataminingType.NOMINAL : dataminingType,tdColumn);
  }
}

Fixed version (ground truth):
public void recomputeIndicators(){
  correlationAnalysisHandler=new ColumnCorrelationAnalysisHandler();
  correlationAnalysisHandler.setAnalysis((Analysis)this.currentModelElement);
  stringDataFilter=correlationAnalysisHandler.getStringDataFilter();
  analyzedColumns=correlationAnalysisHandler.getAnalyzedColumns();
  if (correlationAnalysisHandler.getIndicator() == null && columnSetMultiIndicator != null) {
    ColumnsetFactory columnsetFactory=ColumnsetFactory.eINSTANCE;
    if (ColumnsetPackage.eINSTANCE.getCountAvgNullIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createCountAvgNullIndicator();
      fillSimpleIndicators(columnSetMultiIndicator);
    }
    if (ColumnsetPackage.eINSTANCE.getMinMaxDateIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createMinMaxDateIndicator();
    }
    if (ColumnsetPackage.eINSTANCE.getWeakCorrelationIndicator() == columnSetMultiIndicator.eClass()) {
      columnSetMultiIndicator=columnsetFactory.createWeakCorrelationIndicator();
    }
  }
 else {
    columnSetMultiIndicator=(ColumnSetMultiValueIndicator)correlationAnalysisHandler.getIndicator();
  }
  if (columnSetMultiIndicator == null) {
    columnSetMultiIndicator=ColumnsetFactory.eINSTANCE.createCountAvgNullIndicator();
  }
  initializeIndicator(columnSetMultiIndicator);
  columnSetMultiIndicator.setStoreData(true);
  for (  ModelElement element : analyzedColumns) {
    TdColumn tdColumn=SwitchHelpers.COLUMN_SWITCH.doSwitch(element);
    if (tdColumn == null) {
      continue;
    }
    DataminingType dataminingType=correlationAnalysisHandler.getDatamingType(tdColumn);
    MetadataHelper.setDataminingType(dataminingType == null ? DataminingType.NOMINAL : dataminingType,tdColumn);
  }
}