{# 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>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>SpotFlow report</title>
<!--    <link rel="icon" sizes="32x32" href="favicon_32.png">-->
    <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔎</text></svg>">
    <link rel="stylesheet" href="style.css" type="text/css">
    <script type="text/javascript" src="coverage_html.js" defer></script>
</head>
<body class="indexfile">

<header>
    <div class="content">
        <h1>🔎 SpotFlow report</h1>

        <form id="filter_container">
            <input id="filter" type="text" value="" placeholder="filter..." />
        </form>
    </div>
</header>

<main id="index">
    <table class="index" data-sortable>
        <thead>
            {# The title="" attr doesn"t work in Safari. #}
            <tr class="tablehead" title="Click to sort">
                <th class="name left" aria-sort="none" data-shortcut="n">Function/Method</th>
                <th aria-sort="none" data-default-sort-order="descending">coverage (%)</th>
                <th aria-sort="none" data-default-sort-order="descending">tests</th>
                <th aria-sort="none" data-default-sort-order="descending">calls</th>
                <th aria-sort="none" data-default-sort-order="descending">exceptions</th>
                <th aria-sort="none" data-default-sort-order="descending">flows</th>
                <th aria-sort="none" data-default-sort-order="descending">top flow calls</th>
                <th aria-sort="none" data-default-sort-order="descending">top flow ratio (%)</th>
            </tr>
        </thead>
        <tbody>
            {% for monitored_method in monitored_program %}
            <tr class="file">
                <td class="name left"><a href="{{monitored_method.info.full_name}}.html">{{monitored_method.info.full_name_escaped}}</a></td>
                <td>{{monitored_method.info.coverage_ratio}}</td>
                <td>{{monitored_method.info.total_tests}}</td>
                <td>{{monitored_method.info.total_calls}}</td>
                <td>{{monitored_method.info.total_exceptions}}</td>
                <td>{{monitored_method.info.total_flows}}</td>
                <td>{{monitored_method.info.top_flow_calls}}</td>
                <td>{{monitored_method.info.top_flow_ratio}}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>

    <p id="no_rows">
        No items found using the specified filter.
    </p>

</main>

</body>
</html>