{% 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 %} {% load tree %} {% if reportdata.totals.unsafes or reportdata.totals.safes or reportdata.totals.unknowns %}
| {% trans 'Unsafes' %}: {{ reportdata.totals.unsafes }} | {% endif %} {% if reportdata.totals.safes %}{% trans 'Safes' %}: {{ reportdata.totals.safes }} | {% endif %} {% if reportdata.totals.unknowns %}{% trans 'Unknowns' %}: {{ reportdata.totals.unknowns }} | {% endif %}
|---|---|---|
|
{% for v in reportdata.data.unsafes %}
{{ v.title }}:
{{ v.value }}
{% if v.manual or v.automatic %}
{% if v.manual.value %}
{% endif %}
{{ v.manual.title }}: {% if v.manual.value %}{{ v.manual.value }}{% else %}0{% endif %}
{{ v.automatic.title }}: {% if v.automatic.value %}{{ v.automatic.value }}{% else %}0{% endif %}
|
{% endif %}
{% if reportdata.data.safes|length %}
{% for v in reportdata.data.safes %}
{{ v.title }}:
{{ v.value }}
{% if v.manual or v.automatic %}
{% if v.manual.value %}
{% endif %}
{{ v.manual.title }}: {% if v.manual.value %}{{ v.manual.value }}{% else %}0{% endif %}
{{ v.automatic.title }}: {% if v.automatic.value %}{{ v.automatic.value }}{% else %}0{% endif %}
|
{% endif %}
{% if reportdata.data.unknowns|length %}
{% for comp in reportdata.data.unknowns %}
{{ comp.component }}{% if comp.total %}: {{ comp.total.num }}{% endif %}
{% for probl in comp.problems %}
{{ probl.problem }}: {{ probl.num }}
|
{% endif %}
| {% trans "Unsafe reports' tags" %} | {% endif %} {% if reportdata.data.tags_safe|length %}{% trans "Safe reports' tags" %} | {% endif %}
|---|---|
| {% tree reportdata.data.tags_unsafe 'parent' 'name' 'tag small orange' %} {{ item.name }}: {{ item.value }} {% endtree %} | {% endif %} {% if reportdata.data.tags_safe|length %}{% tree reportdata.data.tags_safe 'parent' 'name' 'tag small green' %} {{ item.name }}: {{ item.value }} {% endtree %} | {% endif %}
| {% trans 'Attribute value' %} | {% trans 'Unsafes' %} | {% trans 'Safes' %} | {% trans 'Unknowns' %} |
|---|---|---|---|
| {{ attr_data.attr_value }} | {% if attr_data.unsafes %} {{ attr_data.unsafes }} {% else %} - {% endif %} | {% if attr_data.safes %} {{ attr_data.safes }} {% else %} - {% endif %} | {% if attr_data.unknowns %} {{ attr_data.unknowns }} {% else %} - {% endif %} |
| {% trans 'Component' %} | {% trans 'Instances' %} | {% trans 'Wall time' %} | {% trans 'CPU time' %} | {% trans 'Maximum memory size' %} |
|---|---|---|---|---|
| {% trans 'Total' %} | {{ resource_data.instances }} | {{ resource_data.wall_time }} | {{ resource_data.cpu_time }} | {{ resource_data.memory }} |
| {% if resource_data.component == reportdata.report.component %} {{ resource_data.component }} {% else %} {{ resource_data.component }} {% endif %} | {{ resource_data.instances }} | {{ resource_data.wall_time }} | {{ resource_data.cpu_time }} | {{ resource_data.memory }} |