{{ func.name }} |
|
{% if func.cyclomatic_complexity > thresholds["cyclomatic_complexity"] %}
{{ func.cyclomatic_complexity }} |
{% else %}
{{ func.cyclomatic_complexity }} |
{% endif %}
{% if func.nloc > thresholds["nloc"] %}
{{ func.nloc }} |
{% else %}
{{ func.nloc}} |
{% endif %}
{% if thresholds["token_count"] %}
{% if func.token_count > thresholds["token_count"] %}
{{ func.token_count }} |
{% else %}
{{ func.token_count }} |
{% endif %}
{% else %}
{{ func.token_count }} |
{% endif %}
{% if func.parameters|length > thresholds["parameter_count"] %}
{{ func.parameters|length }} |
{% else %}
{{ func.parameters|length }} |
{% endif %}
{% endfor %}
{% endfor %}