{# Copyright (C) 2015 The Debsources developers . See the AUTHORS file at the top-level directory of this distribution and at https://salsa.debian.org/qa/debsources/blob/master/AUTHORS License: GNU Affero General Public License, version 3 or above. #} {% extends name+"/base.html" %} {% block title %}Statistics{% endblock %} {% block breadcrumbs %}stats{% endblock %} {% block content %}

{{ self.title() }}

Files per license (aggregate dual licensing)

{% for license in licenses %} {% endfor %}
LicenseNumber of files
{{ license.replace('_', ' ') }} {{ results['overall.'+license] }}

Files per license (without aggregate dual licensing)

{% for d_license in dual_licenses %} {% endfor %}
LicenseNumber of files
{{ d_license.replace('_', ' ') }} {{ dual_results['overall.'+d_license] }}

Licenses evolution

{% macro license_table(suites) -%} {% for suite in suites %} {% endfor %} {% for license in licenses %} {% for suite in suites %} {% endfor %} {% endfor %}
{{ suite }}
{{ license.replace('_', ' ') }}{{ results[suite + "." + license] or 0 | format_big_num}}
{% endmacro -%}

Releases

{{ license_table(release_suites) }}

Development suites

{{ license_table(devel_suites) }}
{% import "copyright/stats_trends.inc.html" as stats_trends %}

Historical trends

{{ stats_trends.historical_trend('ALL') }} {% endblock %}