Program: 57469
Project: 57469
Buggy source:
private void updateDataSetInfo(){
  if (!isGUIInitialized) {
    initGUI();
  }
  nameLabel.setText("String_Node_Str" + dataDomain.getLabel());
  nameLabel.pack();
  if (dataDomain instanceof ATableBasedDataDomain) {
    ATableBasedDataDomain tableBasedDD=(ATableBasedDataDomain)dataDomain;
    histogramExpandBar.setVisible(true);
    recordLabel.setVisible(true);
    dimensionLabel.setVisible(true);
    sourceLabel.setVisible(true);
    recordLabel.setText(tableBasedDD.getRecordDenomination(true,true) + "String_Node_Str" + tableBasedDD.getTable().getMetaData().depth());
    dimensionLabel.setText(tableBasedDD.getDimensionDenomination(true,true) + "String_Node_Str" + tableBasedDD.getTable().getMetaData().size());
    sourceLabel.setText("String_Node_Str" + dataDomain.getDataSetDescription().getDataSourcePath());
    if (!tableBasedDD.getTable().isDataHomogeneous()) {
      histogramExpandBar.setVisible(false);
      return;
    }
    if (histogramView == null) {
      histogramView=new RcpGLColorMapperHistogramView();
      histogramView.setDataDomain(tableBasedDD);
      SerializedHistogramView serializedHistogramView=new SerializedHistogramView();
      serializedHistogramView.setDataDomainID(dataDomain.getDataDomainID());
      serializedHistogramView.setTablePerspectiveKey(((ASerializedSingleTablePerspectiveBasedView)serializedView).getTablePerspectiveKey());
      histogramView.setExternalSerializedView(serializedHistogramView);
      histogramView.createPartControl(histogramComposite);
      GeneralManager.get().getViewManager().registerGLCanvasToAnimator(histogramView.getGLCanvas());
      ExpandItem item2=new ExpandItem(histogramExpandBar,SWT.NONE,0);
      item2.setText("String_Node_Str");
      item2.setHeight(200);
      item2.setControl(histogramComposite);
      item2.setExpanded(true);
      histogramExpandBar.setSpacing(2);
    }
 else {
      ((GLHistogram)histogramView.getGLView()).setHistogram(tableBasedDD.getDefaultTablePerspective().getContainerStatistics().getHistogram());
      ((GLHistogram)histogramView.getGLView()).setDisplayListDirty();
    }
  }
 else {
    histogramExpandBar.setVisible(false);
    recordLabel.setVisible(false);
    dimensionLabel.setVisible(false);
    sourceLabel.setVisible(false);
  }
}

Fixed version (ground truth):
private void updateDataSetInfo(){
  if (!isGUIInitialized) {
    initGUI();
  }
  nameLabel.setText("String_Node_Str" + dataDomain.getLabel());
  if (dataDomain instanceof ATableBasedDataDomain) {
    ATableBasedDataDomain tableBasedDD=(ATableBasedDataDomain)dataDomain;
    histogramExpandBar.setVisible(true);
    recordLabel.setVisible(true);
    dimensionLabel.setVisible(true);
    sourceLabel.setVisible(true);
    recordLabel.setText(tableBasedDD.getRecordDenomination(true,true) + "String_Node_Str" + tableBasedDD.getTable().getMetaData().depth());
    dimensionLabel.setText(tableBasedDD.getDimensionDenomination(true,true) + "String_Node_Str" + tableBasedDD.getTable().getMetaData().size());
    sourceLabel.setText("String_Node_Str" + dataDomain.getDataSetDescription().getDataSourcePath());
    if (!tableBasedDD.getTable().isDataHomogeneous()) {
      histogramExpandBar.setVisible(false);
      return;
    }
    if (histogramView == null) {
      histogramView=new RcpGLColorMapperHistogramView();
      histogramView.setDataDomain(tableBasedDD);
      SerializedHistogramView serializedHistogramView=new SerializedHistogramView();
      serializedHistogramView.setDataDomainID(dataDomain.getDataDomainID());
      serializedHistogramView.setTablePerspectiveKey(((ASerializedSingleTablePerspectiveBasedView)serializedView).getTablePerspectiveKey());
      histogramView.setExternalSerializedView(serializedHistogramView);
      histogramView.createPartControl(histogramComposite);
      GeneralManager.get().getViewManager().registerGLCanvasToAnimator(histogramView.getGLCanvas());
      ExpandItem item2=new ExpandItem(histogramExpandBar,SWT.NONE,0);
      item2.setText("String_Node_Str");
      item2.setHeight(200);
      item2.setControl(histogramComposite);
      item2.setExpanded(true);
      histogramExpandBar.setSpacing(2);
    }
 else {
      ((GLHistogram)histogramView.getGLView()).setHistogram(tableBasedDD.getDefaultTablePerspective().getContainerStatistics().getHistogram());
      ((GLHistogram)histogramView.getGLView()).setDisplayListDirty();
    }
  }
 else {
    histogramExpandBar.setVisible(false);
    recordLabel.setVisible(false);
    dimensionLabel.setVisible(false);
    sourceLabel.setVisible(false);
  }
  parentComposite.layout();
}