Program: 79707
Project: 79707
Buggy source:
/** 
 * This method is useful for callers to see the status of a task. Also for developers to see best practices for examining status fields etc
 * @param verbosity 0 = brief, 1 = one-line with some detail, 2 = lots of detail
 */
protected String getStatusString(int verbosity){
  String rv;
  if (submitTimeUtc <= 0)   rv="String_Node_Str";
 else   if (!isCancelled() && startTimeUtc <= 0) {
    rv="String_Node_Str";
    if (verbosity > 0) {
      long elapsed=System.currentTimeMillis() - submitTimeUtc;
      rv+="String_Node_Str" + elapsed + "String_Node_Str";
    }
  }
 else   if (isDone()) {
    long elapsed=endTimeUtc - submitTimeUtc;
    String duration="String_Node_Str" + elapsed + "String_Node_Str";
    rv="String_Node_Str";
    if (isCancelled()) {
      rv+="String_Node_Str";
      if (verbosity >= 1)       rv+="String_Node_Str" + duration;
    }
 else     if (isError()) {
      rv+="String_Node_Str";
      if (verbosity >= 1) {
        rv+="String_Node_Str" + duration;
        Object error;
        try {
          String rvx="String_Node_Str" + get();
          error="String_Node_Str" + rvx;
        }
 catch (        Throwable tt) {
          error=tt;
        }
        if (error instanceof ExecutionException)         error=((Throwable)error).getCause();
        if (verbosity == 1)         rv+="String_Node_Str" + error + "String_Node_Str";
 else {
          StringWriter sw=new StringWriter();
          if (error instanceof ExecutionException)           ((Throwable)error).printStackTrace(new PrintWriter(sw));
          rv+="String_Node_Str" + sw.getBuffer();
        }
      }
    }
 else {
      rv+="String_Node_Str";
      if (verbosity >= 1) {
        if (verbosity == 1) {
          try {
            rv+="String_Node_Str" + get();
          }
 catch (          Exception e) {
            rv+="String_Node_Str" + e + "String_Node_Str";
          }
        }
 else {
          rv+="String_Node_Str" + duration;
          try {
            rv+="String_Node_Str" + "String_Node_Str" + get();
          }
 catch (          Exception e) {
            rv+="String_Node_Str" + "String_Node_Str" + e + "String_Node_Str";
          }
        }
      }
    }
  }
 else {
    rv=getActiveTaskStatusString(verbosity);
  }
  return rv;
}

Fixed version (ground truth):
/** 
 * This method is useful for callers to see the status of a task. Also for developers to see best practices for examining status fields etc
 * @param verbosity 0 = brief, 1 = one-line with some detail, 2 = lots of detail
 */
protected String getStatusString(int verbosity){
  String rv;
  if (submitTimeUtc <= 0)   rv="String_Node_Str";
 else   if (!isCancelled() && startTimeUtc <= 0) {
    rv="String_Node_Str";
    if (verbosity > 0) {
      long elapsed=System.currentTimeMillis() - submitTimeUtc;
      rv+="String_Node_Str" + elapsed + "String_Node_Str";
    }
  }
 else   if (isDone()) {
    long elapsed=endTimeUtc - submitTimeUtc;
    String duration="String_Node_Str" + elapsed + "String_Node_Str";
    rv="String_Node_Str";
    if (isCancelled()) {
      rv+="String_Node_Str";
      if (verbosity >= 1)       rv+="String_Node_Str" + duration;
    }
 else     if (isError()) {
      rv+="String_Node_Str";
      if (verbosity >= 1) {
        rv+="String_Node_Str" + duration;
        Object error;
        try {
          String rvx="String_Node_Str" + get();
          error="String_Node_Str" + rvx;
        }
 catch (        Throwable tt) {
          error=tt;
        }
        if (error instanceof ExecutionException)         error=((Throwable)error).getCause();
        if (verbosity == 1)         rv+="String_Node_Str" + error + "String_Node_Str";
 else {
          StringWriter sw=new StringWriter();
          ((Throwable)error).printStackTrace(new PrintWriter(sw));
          rv+="String_Node_Str" + sw.getBuffer();
        }
      }
    }
 else {
      rv+="String_Node_Str";
      if (verbosity >= 1) {
        if (verbosity == 1) {
          try {
            rv+="String_Node_Str" + get();
          }
 catch (          Exception e) {
            rv+="String_Node_Str" + e + "String_Node_Str";
          }
        }
 else {
          rv+="String_Node_Str" + duration;
          try {
            rv+="String_Node_Str" + "String_Node_Str" + get();
          }
 catch (          Exception e) {
            rv+="String_Node_Str" + "String_Node_Str" + e + "String_Node_Str";
          }
        }
      }
    }
  }
 else {
    rv=getActiveTaskStatusString(verbosity);
  }
  return rv;
}