{% extends "base.html" %} {% block content %}
Total number of files
{{project.total_files_count}}
Total codebase
{{ project.size|filesizeformat }}
Average file size
{{ '%0.2f'|format(project.size|to_ratio(project.total_files_count))|filesizeformat }}
{% if project.is_blame_data_available %}
Mono-author files count
{{ project.monoauthor_files_count }} ({{'%0.2f'| format(project.monoauthor_files_count|to_percentage(project.total_files_count))}}%)
"Lost knowledge" ratio
{{ '%0.2f'| format(project.lost_knowledge_ratio * 100) }}%
{% endif %}

Files number by date

File types

{% for index, row in project.file_summary.iterrows() %} {% set is_binary, ext = index %} {% if not is_binary %} {% else %} {% endif %} {% endfor %}
ExtensionCount (%)Byte Size (%)Lines count (%)Lines per file
{{ ext }} {{ row["files_count"] }} ({{'%0.2f'|format(row["files_count"]|to_percentage(project.total_files_count))}}%) {{ row["size_bytes"] }} ({{'%0.2f'|format(row["size_bytes"]|to_percentage(project.size))}}%){{ row["lines_count"] }} ({{'%0.2f'|format(row["lines_count"]|to_percentage(project.total_lines_count))}}%) {{'%0.1f'|format(row["lines_count"] | to_ratio(row["files_count"]))}}binary -
{% if project.is_blame_data_available %}

Source files with most of the authors

{% for filepath, contributors_count in project.top_files_by_contributors_count.items() %} {% endfor %}
File pathAuthors count
{{ filepath }} {{ contributors_count }}
{% endif %}
{% endblock %}