Program: 107908
Project: 107908
Buggy source:
@Override public String toString(){
  double prunedPercentage=(double)this.numTransformationsPruned / (double)this.numMaterializedTransformations * 100d;
  double materializedPercentage=(double)this.numMaterializedTransformations / (double)this.numTransformationsInSearchSpace * 100d;
  StringBuilder sb=new StringBuilder();
  sb.append(Resources.getMessage("String_Node_Str"));
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsInSearchSpace).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numMaterializedTransformations);
  sb.append("String_Node_Str").append(SWTUtil.getPrettyString(materializedPercentage)).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsPruned);
  sb.append("String_Node_Str").append(SWTUtil.getPrettyString(prunedPercentage)).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(SWTUtil.getPrettyString(this.executionTime)).append("String_Node_Str");
  if (this.numTransformationsAnonymous != 0 || this.numTransformationsNotAnonymous != 0 || this.numTransformationsProbablyAnonymous != 0 || this.numTransformationsProbablyNotAnonymous != 0 || this.numTransformationsAnonymityUnknown != 0 || this.numTransformationsInfolossAvailable != 0) {
    sb.append(Resources.getMessage("String_Node_Str"));
    if (this.numTransformationsAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsAnonymous);
    }
    if (this.numTransformationsNotAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsNotAnonymous);
    }
    if (this.numTransformationsProbablyAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsProbablyAnonymous);
    }
    if (this.numTransformationsProbablyNotAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsProbablyNotAnonymous);
    }
    if (this.numTransformationsAnonymityUnknown != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsAnonymityUnknown);
    }
    if (this.numTransformationsInfolossAvailable != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsInfolossAvailable);
    }
    sb.append("String_Node_Str");
  }
  if (this.optimum != null) {
    sb.append(Resources.getMessage("String_Node_Str")).append(Resources.getMessage("String_Node_Str")).append(SWTUtil.getPrettyString(this.heuristic)).append(Resources.getMessage("String_Node_Str")).append(Arrays.toString(this.optimum.getTransformation()));
    sb.append(Resources.getMessage("String_Node_Str")).append(this.optimum.getHighestScore().toString());
    for (    QualityMetadata<?> metadata : this.optimum.getHighestScore().getMetadata()) {
      sb.append("String_Node_Str").append(metadata.getParameter()).append("String_Node_Str").append(SWTUtil.getPrettyString(metadata.getValue()));
    }
  }
  return sb.toString();
}

Fixed version (ground truth):
@Override public String toString(){
  double prunedPercentage=(double)this.numTransformationsPruned / (double)this.numMaterializedTransformations * 100d;
  double materializedPercentage=(double)this.numMaterializedTransformations / (double)this.numTransformationsInSearchSpace * 100d;
  StringBuilder sb=new StringBuilder();
  sb.append(Resources.getMessage("String_Node_Str"));
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsInSearchSpace).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numMaterializedTransformations);
  sb.append("String_Node_Str").append(SWTUtil.getPrettyString(materializedPercentage)).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsPruned);
  sb.append("String_Node_Str").append(SWTUtil.getPrettyString(prunedPercentage)).append("String_Node_Str");
  sb.append(Resources.getMessage("String_Node_Str")).append(SWTUtil.getPrettyString(this.executionTime)).append("String_Node_Str");
  if (this.numTransformationsAnonymous != 0 || this.numTransformationsNotAnonymous != 0 || this.numTransformationsProbablyAnonymous != 0 || this.numTransformationsProbablyNotAnonymous != 0 || this.numTransformationsAnonymityUnknown != 0 || this.numTransformationsInfolossAvailable != 0) {
    sb.append(Resources.getMessage("String_Node_Str"));
    if (this.numTransformationsAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsAnonymous);
    }
    if (this.numTransformationsNotAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsNotAnonymous);
    }
    if (this.numTransformationsProbablyAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsProbablyAnonymous);
    }
    if (this.numTransformationsProbablyNotAnonymous != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsProbablyNotAnonymous);
    }
    if (this.numTransformationsAnonymityUnknown != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsAnonymityUnknown);
    }
    if (this.numTransformationsInfolossAvailable != 0) {
      sb.append(Resources.getMessage("String_Node_Str")).append(this.numTransformationsInfolossAvailable);
    }
    sb.append("String_Node_Str");
  }
  if (this.optimum != null) {
    sb.append(Resources.getMessage("String_Node_Str")).append(Resources.getMessage("String_Node_Str")).append(SWTUtil.getPrettyString(!this.heuristic)).append(Resources.getMessage("String_Node_Str")).append(Arrays.toString(this.optimum.getTransformation()));
    sb.append(Resources.getMessage("String_Node_Str")).append(this.optimum.getHighestScore().toString());
    for (    QualityMetadata<?> metadata : this.optimum.getHighestScore().getMetadata()) {
      sb.append("String_Node_Str").append(metadata.getParameter()).append("String_Node_Str").append(SWTUtil.getPrettyString(metadata.getValue()));
    }
  }
  return sb.toString();
}