Program: 54021
Project: 54021
Buggy source:
private void initAxisMeasurements(Axis axis,int position){
  if (LEFT == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().left + axisMargin;
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().left - axisMargin - labelTextDescentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().left - axisMargin;
      nameBaselineTab[position]=labelBaselineTab[position] - axisMargin - labelTextDescentTab[position]- labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().left;
  }
 else   if (RIGHT == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().right - axisMargin;
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().right + axisMargin + labelTextAscentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().right + axisMargin;
      nameBaselineTab[position]=labelBaselineTab[position] + axisMargin + labelTextAscentTab[position]+ labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().right;
  }
 else   if (BOTTOM == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom - axisMargin - labelTextDescentTab[position];
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom + axisMargin + labelTextAscentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom + axisMargin + labelTextAscentTab[position];
      nameBaselineTab[position]=labelBaselineTab[position] + axisMargin + labelTextDescentTab[position]+ labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().bottom;
  }
 else   if (TOP == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().top + axisMargin + labelTextAscentTab[position];
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().top - axisMargin - labelTextDescentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().top - axisMargin - labelTextDescentTab[position];
      nameBaselineTab[position]=labelBaselineTab[position] - axisMargin - labelTextDescentTab[position]- labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().top;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + position);
  }
}

Fixed version (ground truth):
private void initAxisMeasurements(Axis axis,int position){
  if (LEFT == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().left + axisMargin;
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().left - axisMargin - labelTextDescentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().left - axisMargin;
      nameBaselineTab[position]=labelBaselineTab[position] - axisMargin - labelTextDescentTab[position]- labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().left;
  }
 else   if (RIGHT == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().right - axisMargin;
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().right + axisMargin + labelTextAscentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().right + axisMargin;
      nameBaselineTab[position]=labelBaselineTab[position] + axisMargin + labelTextAscentTab[position]+ labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().right;
  }
 else   if (BOTTOM == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom - axisMargin - labelTextDescentTab[position];
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom + axisMargin + labelTextAscentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().bottom + axisMargin + labelTextAscentTab[position];
      nameBaselineTab[position]=labelBaselineTab[position] + axisMargin + labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().bottom;
  }
 else   if (TOP == position) {
    if (axis.isInside()) {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().top + axisMargin + labelTextAscentTab[position];
      nameBaselineTab[position]=computator.getContentRectMinusAxesMargins().top - axisMargin - labelTextDescentTab[position];
    }
 else {
      labelBaselineTab[position]=computator.getContentRectMinusAxesMargins().top - axisMargin - labelTextDescentTab[position];
      nameBaselineTab[position]=labelBaselineTab[position] - axisMargin - labelDimensionForMarginsTab[position];
    }
    separationLineTab[position]=computator.getContentRectMinusAllMargins().top;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + position);
  }
}