| {# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 #} | |
| {# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt #} | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Coverage for {{relative_filename|escape}}: {{nums.pc_covered_str}}%</title> | |
| <link rel="icon" sizes="32x32" href="{{ statics.favicon_32_png }}"> | |
| <link rel="stylesheet" href="{{ statics.style_css }}" type="text/css"> | |
| {% if extra_css %} | |
| <link rel="stylesheet" href="{{ statics.extra_css }}" type="text/css"> | |
| {% endif %} | |
| {% if contexts_json %} | |
| <script type="text/javascript"> | |
| contexts = {{ contexts_json }} | |
| </script> | |
| {% endif %} | |
| <script src="{{ statics.coverage_html_js }}" defer></script> | |
| </head> | |
| <body class="pyfile"> | |
| <header> | |
| <div class="content"> | |
| <h1> | |
| <span class="text">Coverage for </span><b>{{relative_filename|escape}}</b>: | |
| <span class="pc_cov">{{nums.pc_covered_str}}%</span> | |
| </h1> | |
| <aside id="help_panel_wrapper"> | |
| <input id="help_panel_state" type="checkbox"> | |
| <label for="help_panel_state"> | |
| <img id="keyboard_icon" src="{{ statics.keybd_closed_png }}" alt="Show/hide keyboard shortcuts"> | |
| </label> | |
| <div id="help_panel"> | |
| <p class="legend">Shortcuts on this page</p> | |
| <div class="keyhelp"> | |
| <p> | |
| <kbd>r</kbd> | |
| <kbd>m</kbd> | |
| <kbd>x</kbd> | |
| {% if has_arcs %} | |
| <kbd>p</kbd> | |
| {% endif %} | |
| toggle line displays | |
| </p> | |
| <p> | |
| <kbd>j</kbd> | |
| <kbd>k</kbd> | |
| next/prev highlighted chunk | |
| </p> | |
| <p> | |
| <kbd>0</kbd> (zero) top of page | |
| </p> | |
| <p> | |
| <kbd>1</kbd> (one) first highlighted chunk | |
| </p> | |
| <p> | |
| <kbd>[</kbd> | |
| <kbd>]</kbd> | |
| prev/next file | |
| </p> | |
| <p> | |
| <kbd>u</kbd> up to the index | |
| </p> | |
| <p> | |
| <kbd>?</kbd> show/hide this help | |
| </p> | |
| </div> | |
| </div> | |
| </aside> | |
| <h2> | |
| <span class="text">{{nums.n_statements}} statements </span> | |
| <button type="button" class="{{category.run}} button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">{{nums.n_executed}}<span class="text"> run</span></button> | |
| <button type="button" class="{{category.mis}} button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">{{nums.n_missing}}<span class="text"> missing</span></button> | |
| <button type="button" class="{{category.exc}} button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">{{nums.n_excluded}}<span class="text"> excluded</span></button> | |
| {% if has_arcs %} | |
| <button type="button" class="{{category.par}} button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">{{nums.n_partial_branches}}<span class="text"> partial</span></button> | |
| {% endif %} | |
| </h2> | |
| <p class="text"> | |
| <a id="prevFileLink" class="nav" href="{{ prev_html }}">« prev</a> | |
| <a id="indexLink" class="nav" href="index.html">^ index</a> | |
| <a id="nextFileLink" class="nav" href="{{ next_html }}">» next</a> | |
| | |
| <a class="nav" href="{{__url__}}">coverage.py v{{__version__}}</a>, | |
| created at {{ time_stamp }} | |
| </p> | |
| <aside class="hidden"> | |
| <button type="button" class="button_next_chunk" data-shortcut="j"></button> | |
| <button type="button" class="button_prev_chunk" data-shortcut="k"></button> | |
| <button type="button" class="button_top_of_page" data-shortcut="0"></button> | |
| <button type="button" class="button_first_chunk" data-shortcut="1"></button> | |
| <button type="button" class="button_prev_file" data-shortcut="["></button> | |
| <button type="button" class="button_next_file" data-shortcut="]"></button> | |
| <button type="button" class="button_to_index" data-shortcut="u"></button> | |
| <button type="button" class="button_show_hide_help" data-shortcut="?"></button> | |
| </aside> | |
| </div> | |
| </header> | |
| <main id="source"> | |
| {% for line in lines -%} | |
| {% joined %} | |
| <p class="{{line.css_class}}"> | |
| <span class="n"><a id="t{{line.number}}" href="#t{{line.number}}">{{line.number}}</a></span> | |
| <span class="t">{{line.html}} </span> | |
| {% if line.context_list %} | |
| <input type="checkbox" id="ctxs{{line.number}}"> | |
| {% endif %} | |
| {# Things that should float right in the line. #} | |
| <span class="r"> | |
| {% if line.annotate %} | |
| <span class="annotate short">{{line.annotate}}</span> | |
| <span class="annotate long">{{line.annotate_long}}</span> | |
| {% endif %} | |
| {% if line.contexts %} | |
| <label for="ctxs{{line.number}}" class="ctx">{{ line.contexts_label }}</label> | |
| {% endif %} | |
| </span> | |
| {# Things that should appear below the line. #} | |
| {% if line.context_str %} | |
| <span class="ctxs">{{ line.context_str }}</span> | |
| {% endif %} | |
| </p> | |
| {% endjoined %} | |
| {% endfor %} | |
| </main> | |
| <footer> | |
| <div class="content"> | |
| <p> | |
| <a class="nav" href="{{ prev_html }}">« prev</a> | |
| <a class="nav" href="index.html">^ index</a> | |
| <a class="nav" href="{{ next_html }}">» next</a> | |
| | |
| <a class="nav" href="{{__url__}}">coverage.py v{{__version__}}</a>, | |
| created at {{ time_stamp }} | |
| </p> | |
| </div> | |
| </footer> | |
| </body> | |
| </html> |