{% include '_header.html' %}
{% if git_server %}{% include '_breadcrumb.html' %}{% endif %}

Code Hotspots

{% include '_scope_label.html' %}

How often each file has changed, with its size and complexity. Commits and authors are for all time; lines and complexity are as at the last sync. Lines includes comments and blank lines, Code does not.

Work in Progress

A renamed file's history is not yet combined: only commits since the rename count towards its current name.

Files by commits

{% if not has_metadata %} No file metadata for this repository, so lines, complexity and deleted files can't be shown. {% elif show_deleted %} Including {{ deleted_count }} deleted file{{ '' if deleted_count == 1 else 's' }} (old names of renamed files among them). Hide deleted files {% elif deleted_count %} {{ deleted_count }} deleted file{{ '' if deleted_count == 1 else 's' }} hidden. Show deleted files {% endif %}

{% for row in data %} {% set known = 'Lines' in row %} {% set complexity = row['Complexity'] %} {% endfor %}
File Commits Authors Lines Code Complexity Language
{{ row['file_path'] }} {% if row['deleted'] %} deleted {% endif %}
{% if row['commits'] > 50 %} {{ row['commits'] }} {% elif row['commits'] > 20 %} {{ row['commits'] }} {% else %} {{ row['commits'] }} {% endif %} {{ row['authors'] }} {% if not known %}-{% elif row['Lines'] is none %}not counted{% else %}{{ row['Lines'] }}{% endif %} {% if not known %}-{% elif row['Code'] is none %}not counted{% else %}{{ row['Code'] }}{% endif %} {% if not known %} - {% elif complexity is none %} not rated {% elif complexity|int > 100 %} {{ complexity }} {% elif complexity|int > 50 %} {{ complexity }} {% else %} {{ complexity }} {% endif %} {% if known and row['Language'] %} {{ row['Language'] }} {% else %} - {% endif %}
{% include '_footer_scripts.html' %} {% include '_datatable_scripts.html' %}