<divclass="cov-big {{ self.class_of(r.percent()) }}">{{ self.pct(r.percent()) }}{% if let Some(d) = self.delta_text() %} <spanclass="cov-delta"title="Against the run before it on {{ bookmark }}">{{ d }}</span>{% endif %}</div>
10
<dlclass="facts">
11
<dt>Lines</dt><dd>{{ r.lines_hit }} of {{ r.lines_found }} run</dd>
12
{% if r.functions_found > 0 %}<dt>Functions</dt><dd>{{ self.pct(r.functions_percent()) }} ({{ r.functions_hit }} of {{ r.functions_found }})</dd>{% endif %}
13
{% if r.branches_found > 0 %}<dt>Branches</dt><dd>{{ self.pct(r.branches_percent()) }} ({{ r.branches_hit }} of {{ r.branches_found }})</dd>{% endif %}
<dt>Files</dt><dd>{{ r.files }}{% if r.dropped > 0 %} <spanclass="mute small">({{ r.dropped }} named in the report are not in this state and are left out)</span>{% endif %}</dd>
<td><spanclass="cov-bar {{ self.class_of(f.percent()) }}"role="img"aria-label="{{ self.pct(f.percent()) }}"><spanstyle="width:{% if let Some(p) = f.percent() %}{{ p }}{% else %}0{% endif %}%"></span></span> {{ self.pct(f.percent()) }}</td>
28
<tdclass="num">{{ f.lines_found }}</td>
29
<tdclass="num">{{ f.missed() }}</td>
30
</tr>{% endfor %}
31
</table></div>
32
</section>
33
{% else %}
34
<sectionclass="panel">
35
<p>No coverage report for <strong>{{ bookmark }}</strong> yet.</p>
36
<p>Give a job in <code>.flow/pipeline.kdl</code> an artifact named <code>coverage</code> holding an LCOV report, and the hub reads it when the job uploads it. For Rust:</p>
<pclass="small mute">Istanbul (<code>--reporter=lcov</code>), coverage.py (<code>coverage lcov</code>) and gcov with lcov write LCOV too. Paths are read relative to the job's <code>/src</code>.</p>