Program: 137740
Project: 137740
Buggy source:
public Map<String,String> getQueryMap(){
  Map<String,String> map=new HashMap<String,String>();
  if (ColumnsetPackage.eINSTANCE.getAllMatchIndicator().isSuperTypeOf(indicator.eClass())) {
    return map;
  }
  boolean isSqlEngine=ExecutionLanguage.SQL.equals(this.analysis.getParameters().getExecutionLanguage());
  EList<Expression> instantiatedExpressions=this.indicator.getInstantiatedExpressions();
  if (ConnectionHelper.isMssql((Connection)this.analysis.getContext().getConnection()) && instantiatedExpressions.size() > 0) {
    Expression expression=instantiatedExpressions.get(0);
    String body=expression.getBody().toUpperCase();
    String functionName=body.split("String_Node_Str").length > 1 ? body.split("String_Node_Str")[1] : "String_Node_Str";
    functionReturnValue=functionName.split("String_Node_Str").length > 1 ? functionName.split("String_Node_Str")[1] : "String_Node_Str";
    functionName=functionName.split("String_Node_Str").length > 1 ? functionName.split("String_Node_Str")[0] : "String_Node_Str";
    dbmsLanguage.setFunctionName(functionName);
    functionReturnValue=functionReturnValue.split("String_Node_Str").length > 1 ? functionReturnValue.split("String_Node_Str")[1] : "String_Node_Str";
    functionReturnValue=functionReturnValue.split("String_Node_Str").length > 1 ? functionReturnValue.split("String_Node_Str")[0] : "String_Node_Str";
    map.put(MENU_VIEW_INVALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_INVALID_VALUES) + getInvalidValuesStatement() : null);
    map.put(MENU_VIEW_VALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_VALID_VALUES) + getValidValuesStatement() : null);
    map.put(MENU_VIEW_INVALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_INVALID_ROWS) + getInvalidRowsStatement() : null);
    map.put(MENU_VIEW_VALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_VALID_ROWS) + getValidRowsStatement() : null);
    return map;
  }
  map.put(MENU_VIEW_INVALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_INVALID_VALUES) + getInvalidValuesStatement() : null);
  map.put(MENU_VIEW_VALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_VALID_VALUES) + getValidValuesStatement() : null);
  map.put(MENU_VIEW_INVALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_INVALID_ROWS) + getInvalidRowsStatement() : null);
  map.put(MENU_VIEW_VALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_VALID_ROWS) + getValidRowsStatement() : null);
  return map;
}

Fixed version (ground truth):
public Map<String,String> getQueryMap(){
  Map<String,String> map=new HashMap<String,String>();
  if (ColumnsetPackage.eINSTANCE.getAllMatchIndicator().isSuperTypeOf(indicator.eClass())) {
    return map;
  }
  boolean isSqlEngine=ExecutionLanguage.SQL.equals(this.analysis.getParameters().getExecutionLanguage());
  EList<Expression> instantiatedExpressions=this.indicator.getInstantiatedExpressions();
  if (ConnectionHelper.isMssql((Connection)this.analysis.getContext().getConnection()) && instantiatedExpressions.size() > 0) {
    Expression expression=instantiatedExpressions.get(0);
    String body=expression.getBody().toUpperCase();
    String functionName=body.split("String_Node_Str").length > 1 ? body.split("String_Node_Str")[1] : "String_Node_Str";
    functionReturnValue=functionName.split("String_Node_Str").length > 1 ? functionName.split("String_Node_Str")[1] : "String_Node_Str";
    functionName=functionName.split("String_Node_Str").length > 1 ? functionName.split("String_Node_Str")[0] : "String_Node_Str";
    dbmsLanguage.setFunctionName(functionName);
    functionReturnValue=functionReturnValue.split("String_Node_Str").length > 1 ? functionReturnValue.split("String_Node_Str")[1] : "String_Node_Str";
    functionReturnValue=functionReturnValue.split("String_Node_Str").length > 1 ? functionReturnValue.split("String_Node_Str")[0] : "String_Node_Str";
  }
  map.put(MENU_VIEW_INVALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_INVALID_VALUES) + getInvalidValuesStatement() : null);
  map.put(MENU_VIEW_VALID_VALUES,isSqlEngine ? getComment(MENU_VIEW_VALID_VALUES) + getValidValuesStatement() : null);
  map.put(MENU_VIEW_INVALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_INVALID_ROWS) + getInvalidRowsStatement() : null);
  map.put(MENU_VIEW_VALID_ROWS,isSqlEngine ? getComment(MENU_VIEW_VALID_ROWS) + getValidRowsStatement() : null);
  return map;
}