{% comment "License" %} % Copyright (c) 2019 ISP RAS (http://www.ispras.ru) % Ivannikov Institute for System Programming of the Russian Academy of Sciences % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to in writing, software % distributed under the License is distributed on an "AS IS" BASIS, % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. % See the License for the specific language governing permissions and % limitations under the License. {% endcomment %} {% load i18n %} {% if statistics.data %}
| {% trans 'Files' %} | {% trans 'Line coverage' %} | {% trans 'Function coverage' %} | {% if statistics.with_extra %}{% trans 'Total line coverage' %} | {% trans 'Total function coverage' %} | {% endif %}
|---|---|---|---|---|
| {{ cov_obj.indentation }} {% if cov_obj.is_leaf %} {{ cov_obj.name }} {% else %} {{ cov_obj.name }} {% endif %} | {{ cov_obj.lines_percentage }}{% if cov_obj.lines_total > 0 %} ({{ cov_obj.lines_covered }}/{{ cov_obj.lines_total }}){% endif %} | {{ cov_obj.funcs_percentage }}{% if cov_obj.funcs_total > 0 %} ({{ cov_obj.funcs_covered }}/{{ cov_obj.funcs_total }}){% endif %} | {% if statistics.with_extra %}{{ cov_obj.lines_percentage_extra }}{% if cov_obj.lines_total_extra > 0 %} ({{ cov_obj.lines_covered_extra }}/{{ cov_obj.lines_total_extra }}){% endif %} | {{ cov_obj.funcs_percentage_extra }}{% if cov_obj.funcs_total_extra > 0 %} ({{ cov_obj.funcs_covered_extra }}/{{ cov_obj.funcs_total_extra }}){% endif %} | {% endif %}