<commit_before>/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_graph_enum_name) %>;

@javax.annotation.Generated( "Domgen" )
public enum <%= repository.imit.graph_enum_name %>
{
  <%= repository.imit.graphs.collect do |g|
    elements = g.instance_root? ? g.reachable_entities.sort : g.type_roots
    data = <<-DATA
  /**
   * #{g.name} is a #{g.instance_root? ? 'instance' : 'type'}-based replication graph.
   * <p>It includes the following entities:</p>
   * <ul>
DATA
   data += elements.collect{|e| "   * <li>#{e}</li>"}.join("\n")
   data += "\n   * </ul>\n"
   if g.instance_root? && g.outward_graph_links.size > 0
     data += "   * <p>It links to the following graphs:</p>\n"
     data += "   * <ul>\n"
     g.outward_graph_links.each do |graph_link|
       data += "   * <li>#{graph_link.imit_attribute.attribute.qualified_name} links to the #{graph_link.target_graph} graph</li>\n"
     end
     data += "   * </ul>\n"
   end
   if g.instance_root? && g.inward_graph_links.size > 0
     data += "   * <p>It is linked from the following graphs:</p>\n"
     data += "   * <ul>\n"
     g.inward_graph_links.each do |graph_link|
       data += "   * <li>#{graph_link.imit_attribute.attribute.qualified_name} links from the #{graph_link.source_graph} graph</li>\n"
     end
     data += "   * </ul>\n"
   end
   data += "   */\n"
   data += "  #{Domgen::Naming.uppercase_constantize(g.name)}"
  end.join(",\n") %>
}<commit_msg>Improve layout of generated code<commit_after>/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_graph_enum_name) %>;

@javax.annotation.Generated( "Domgen" )
public enum <%= repository.imit.graph_enum_name %>
{
<%= repository.imit.graphs.collect do |g|
    elements = g.instance_root? ? g.reachable_entities.sort : g.type_roots
    data = <<-DATA
  /**
   * #{g.name} is a #{g.instance_root? ? 'instance' : 'type'}-based replication graph.
   * <p>It includes the following entities:</p>
   * <ul>
DATA
   data += elements.collect{|e| "   *   <li>#{e}</li>"}.join("\n")
   data += "\n   * </ul>\n"
   if g.instance_root? && g.outward_graph_links.size > 0
     data += "   * <p>It links to the following graphs:</p>\n"
     data += "   * <ul>\n"
     g.outward_graph_links.each do |graph_link|
       data += "   *   <li>#{graph_link.imit_attribute.attribute.qualified_name} links to the #{graph_link.target_graph} graph</li>\n"
     end
     data += "   * </ul>\n"
   end
   if g.instance_root? && g.inward_graph_links.size > 0
     data += "   * <p>It is linked from the following graphs:</p>\n"
     data += "   * <ul>\n"
     g.inward_graph_links.each do |graph_link|
       data += "   *   <li>#{graph_link.imit_attribute.attribute.qualified_name} links from the #{graph_link.source_graph} graph</li>\n"
     end
     data += "   * </ul>\n"
   end
   data += "   */\n"
   data += "  #{Domgen::Naming.uppercase_constantize(g.name)}"
   data
  end.join(",\n\n") %>
}
{'fraction_non_alphanumeric': 0.18190954773869347, 'fraction_numerical': 0.001340033500837521, 'mean_word_length': 3.035135135135135, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7549042', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1077, 'n_words': 213}