Program: 33195
Project: 33195
Buggy source:
@SuppressWarnings("String_Node_Str") protected static Property primitiveComplexFunction(final String name,final Map<String,Parameter> parameters,final Map<String,EntityCollection> data) throws DataProviderException {
  if (name.equals("String_Node_Str")) {
    return DataCreator.createPrimitive(name,(short)12345);
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createPrimitive(name,"String_Node_Str");
  }
 else   if (name.equals("String_Node_Str")) {
    return data.get("String_Node_Str").getEntities().get(0).getProperty("String_Node_Str");
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplex(name,DataCreator.createPrimitive("String_Node_Str",(short)16),DataCreator.createPrimitive("String_Node_Str","String_Node_Str"));
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplex(name,DataCreator.createPrimitive("String_Node_Str",getParameterInt16(parameters)),DataCreator.createPrimitive("String_Node_Str",getParameterString(parameters)));
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplexCollection(name,Arrays.asList(DataCreator.createPrimitive("String_Node_Str",(short)16),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",17),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",18),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")));
  }
 else   if (name.equals("String_Node_Str")) {
    final String parameterString=getParameterString(parameters);
    if (parameterString == null) {
      return DataCreator.createPrimitive(name,null);
    }
 else {
      final Short parameterInt16=getParameterInt16(parameters);
      final StringBuilder builder=new StringBuilder();
      for (short i=parameterInt16; i > 0; i--) {
        if (builder.length() != 0) {
          builder.append(',');
        }
        builder.append('"').append(parameterString).append('"');
      }
      return DataCreator.createPrimitive(name,builder.toString());
    }
  }
 else   if (name.equals("String_Node_Str")) {
    final Short parameterInt16=getParameterInt16(parameters);
    final String parameterString=getParameterString(parameters);
    if (parameterString == null) {
      return DataCreator.createComplexCollection(name,Arrays.asList(DataCreator.createPrimitive("String_Node_Str",1),DataCreator.createPrimitive("String_Node_Str",name + "String_Node_Str" + parameterInt16)),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",2),DataCreator.createPrimitive("String_Node_Str",name + "String_Node_Str")));
    }
 else {
      List<ComplexValue> complexValues=new ArrayList<ComplexValue>();
      short counter=1;
      for (short i=parameterInt16; 0 < i; i--) {
        ComplexValue complexValue=new ComplexValue();
        complexValue.getValue().add(new Property(null,"String_Node_Str",ValueType.PRIMITIVE,counter++));
        complexValue.getValue().add(new Property(null,"String_Node_Str",ValueType.PRIMITIVE,name + "String_Node_Str" + parameterString));
        complexValues.add(complexValue);
      }
      return new Property(null,name,ValueType.COLLECTION_COMPLEX,complexValues);
    }
  }
 else   if (name.equals("String_Node_Str")) {
    short count=0;
    for (    final Parameter parameter : parameters.values()) {
      if (!(parameter.isNull() || !parameter.isCollection() && (parameter.isComplex() && parameter.asComplex().getValue().isEmpty() || parameter.isEntity() && ((Entity)parameter.getValue()).getProperties().isEmpty()) || parameter.isCollection() && (parameter.isEntity() && ((EntityCollection)parameter.getValue()).getEntities().isEmpty() || parameter.asCollection().isEmpty()))) {
        count++;
      }
    }
    return DataCreator.createPrimitive(null,count);
  }
 else {
    throw new DataProviderException("String_Node_Str" + name + "String_Node_Str",HttpStatusCode.NOT_IMPLEMENTED);
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") protected static Property primitiveComplexFunction(final String name,final Map<String,Parameter> parameters,final Map<String,EntityCollection> data) throws DataProviderException {
  if (name.equals("String_Node_Str")) {
    return DataCreator.createPrimitive(name,(short)12345);
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createPrimitive(name,"String_Node_Str");
  }
 else   if (name.equals("String_Node_Str")) {
    return data.get("String_Node_Str").getEntities().get(0).getProperty("String_Node_Str");
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplex(name,DataCreator.createPrimitive("String_Node_Str",(short)16),DataCreator.createPrimitive("String_Node_Str","String_Node_Str"));
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplex(name,DataCreator.createPrimitive("String_Node_Str",getParameterInt16(parameters)),DataCreator.createPrimitive("String_Node_Str",getParameterString(parameters)));
  }
 else   if (name.equals("String_Node_Str")) {
    return DataCreator.createComplexCollection(name,Arrays.asList(DataCreator.createPrimitive("String_Node_Str",(short)16),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",17),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",18),DataCreator.createPrimitive("String_Node_Str","String_Node_Str")));
  }
 else   if (name.equals("String_Node_Str")) {
    final String parameterString=getParameterString(parameters);
    if (parameterString == null) {
      return DataCreator.createPrimitive(name,null);
    }
 else {
      final Short parameterInt16=getParameterInt16(parameters);
      final StringBuilder builder=new StringBuilder();
      for (short i=parameterInt16; i > 0; i--) {
        if (builder.length() != 0) {
          builder.append(',');
        }
        builder.append('"').append(parameterString).append('"');
      }
      return DataCreator.createPrimitive(name,builder.toString());
    }
  }
 else   if (name.equals("String_Node_Str")) {
    final Short parameterInt16=getParameterInt16(parameters);
    final String parameterString=getParameterString(parameters);
    if (parameterString == null) {
      return DataCreator.createComplexCollection(name,Arrays.asList(DataCreator.createPrimitive("String_Node_Str",1),DataCreator.createPrimitive("String_Node_Str",name + "String_Node_Str" + parameterInt16)),Arrays.asList(DataCreator.createPrimitive("String_Node_Str",2),DataCreator.createPrimitive("String_Node_Str",name + "String_Node_Str")));
    }
 else {
      List<ComplexValue> complexValues=new ArrayList<ComplexValue>();
      short counter=1;
      for (short i=parameterInt16; 0 < i; i--) {
        ComplexValue complexValue=new ComplexValue();
        complexValue.getValue().add(new Property(null,"String_Node_Str",ValueType.PRIMITIVE,counter++));
        complexValue.getValue().add(new Property(null,"String_Node_Str",ValueType.PRIMITIVE,name + "String_Node_Str" + parameterString));
        complexValues.add(complexValue);
      }
      return new Property(null,name,ValueType.COLLECTION_COMPLEX,complexValues);
    }
  }
 else   if (name.equals("String_Node_Str")) {
    short count=0;
    for (    final Parameter parameter : parameters.values()) {
      if (!(parameter.isNull() || !parameter.isCollection() && (parameter.isComplex() && parameter.asComplex().getValue().isEmpty() || parameter.isEntity() && ((Entity)parameter.getValue()).getProperties().isEmpty()) || parameter.isCollection() && (parameter.isEntity() && ((EntityCollection)parameter.getValue()).getEntities().isEmpty() || !parameter.isEntity() && parameter.asCollection().isEmpty()))) {
        count++;
      }
    }
    return DataCreator.createPrimitive(null,count);
  }
 else {
    throw new DataProviderException("String_Node_Str" + name + "String_Node_Str",HttpStatusCode.NOT_IMPLEMENTED);
  }
}