Program: 82758
Project: 82758
Buggy source:
protected void parseDepsConfs(String[] conf,DefaultDependencyDescriptor dd,boolean useDefaultMappingToGuessRightOperande){
  for (int i=0; i < conf.length; i++) {
    String[] ops=conf[i].split("String_Node_Str");
    if (ops.length == 1) {
      String[] modConfs=ops[0].split("String_Node_Str");
      if (!useDefaultMappingToGuessRightOperande) {
        for (int j=0; j < modConfs.length; j++) {
          dd.addDependencyConfiguration(modConfs[j].trim(),modConfs[j].trim());
        }
      }
 else {
        for (int j=0; j < modConfs.length; j++) {
          String[] depConfs=getDefaultConfMappingDescriptor().getDependencyConfigurations(modConfs[j]);
          if (depConfs.length > 0) {
            for (int k=0; k < depConfs.length; k++) {
              String mappedDependency=evaluateCondition(depConfs[k].trim(),dd);
              if (mappedDependency != null) {
                dd.addDependencyConfiguration(modConfs[j].trim(),mappedDependency);
              }
            }
          }
 else {
            dd.addDependencyConfiguration(modConfs[j].trim(),modConfs[j].trim());
          }
        }
      }
    }
 else     if (ops.length == 2) {
      String[] modConfs=ops[0].split("String_Node_Str");
      String[] depConfs=ops[1].split("String_Node_Str");
      for (int j=0; j < modConfs.length; j++) {
        for (int k=0; k < depConfs.length; k++) {
          dd.addDependencyConfiguration(modConfs[j].trim(),depConfs[k].trim());
        }
      }
    }
 else {
      addError("String_Node_Str" + conf[i] + "String_Node_Str"+ dd.getDependencyRevisionId());
    }
  }
  if (_md.isMappingOverride()) {
    addExtendingConfigurations(conf,dd,useDefaultMappingToGuessRightOperande);
  }
}

Fixed version (ground truth):
protected void parseDepsConfs(String[] conf,DefaultDependencyDescriptor dd,boolean useDefaultMappingToGuessRightOperande,boolean evaluateConditions){
  for (int i=0; i < conf.length; i++) {
    String[] ops=conf[i].split("String_Node_Str");
    if (ops.length == 1) {
      String[] modConfs=ops[0].split("String_Node_Str");
      if (!useDefaultMappingToGuessRightOperande) {
        for (int j=0; j < modConfs.length; j++) {
          dd.addDependencyConfiguration(modConfs[j].trim(),modConfs[j].trim());
        }
      }
 else {
        for (int j=0; j < modConfs.length; j++) {
          String[] depConfs=getDefaultConfMappingDescriptor().getDependencyConfigurations(modConfs[j]);
          if (depConfs.length > 0) {
            for (int k=0; k < depConfs.length; k++) {
              String mappedDependency=evaluateConditions ? evaluateCondition(depConfs[k].trim(),dd) : depConfs[k].trim();
              if (mappedDependency != null) {
                dd.addDependencyConfiguration(modConfs[j].trim(),mappedDependency);
              }
            }
          }
 else {
            dd.addDependencyConfiguration(modConfs[j].trim(),modConfs[j].trim());
          }
        }
      }
    }
 else     if (ops.length == 2) {
      String[] modConfs=ops[0].split("String_Node_Str");
      String[] depConfs=ops[1].split("String_Node_Str");
      for (int j=0; j < modConfs.length; j++) {
        for (int k=0; k < depConfs.length; k++) {
          String mappedDependency=evaluateConditions ? evaluateCondition(depConfs[k].trim(),dd) : depConfs[k].trim();
          if (mappedDependency != null) {
            dd.addDependencyConfiguration(modConfs[j].trim(),mappedDependency);
          }
        }
      }
    }
 else {
      addError("String_Node_Str" + conf[i] + "String_Node_Str"+ dd.getDependencyRevisionId());
    }
  }
  if (_md.isMappingOverride()) {
    addExtendingConfigurations(conf,dd,useDefaultMappingToGuessRightOperande);
  }
}