Apex
{% for key, value in result['apex_statistics'].iteritems() %} {% if value['count'] > 2 %} {% set label_class = " label-important" %} {% elif value['count'] > 0 %} {% set label_class = " label-warning" %} {% else %} {% set label_class = " label-success" %} {% endif %} {% endfor %}
{{ value["label"] }}
{% for result in value['results'] %}
  {{ result['file_name'] }}
{% for match in result['matches'] %}
{% if match is mapping and "lineNumber" in match %}
                    {% else %}
                      
                    {% endif %}
                    {% if match is mapping and "statement" in match %}
                      {% if match["statement"] is mapping and "line_contents" in match %}
                        {{ htmlize(match["line_contents"]) }}
                      {% else %}
                        {{ htmlize(match["statement"]) }}
                      {% endif %}
                    {% elif match is mapping and "lineNumber" in match %}
                      {{ htmlize(match["line_contents"]) }}
                    {% else %}
                      {{ match}}
                    {% endif %}
                    
                    
{% endfor %}
{% endfor %}
{{ value["count"] }}
Visualforce
{% for key, value in result['visualforce_statistics'].iteritems() %} {% if value['count'] > 10 %} {% set label_class = " label-important" %} {% elif value['count'] > 0 %} {% set label_class = " label-warning" %} {% else %} {% set label_class = " label-success" %} {% endif %} {% endfor %}
{{ value["label"] }}
{% for result in value['results'] %}
  {{ result['file_name'] }}
{% for match in result['matches'] %}
{% if match is mapping and "lineNumber" in match %}
                    {% else %}
                      
                    {% endif %}
                    {% if match is mapping and "statement" in match %}
                      {% if match["statement"] is mapping and "line_contents" in match %}
                        {{ htmlize(match["line_contents"]) }}
                      {% else %}
                        {{ htmlize(match["statement"]) }}
                      {% endif %}
                    {% elif match is mapping and "lineNumber" in match %}
                      {{ htmlize(match["line_contents"]) }}
                    {% else %}
                      {{ match}}
                    {% endif %}
                    {% if match is mapping and "lineNumber" in match %}
                      
                    {% else %}
                      
                    {% endif %}
                    
{% endfor %}
{% endfor %}
{{ value["count"] }}