lab
Version:
Test utility
26 lines (25 loc) • 888 B
HTML
<div class="file {{#if this.sourcemaps}}show generated{{/if}}">
<h2 id="{{this.filename}}">{{this.filename}} {{#if this.generated}}(transformed to <a href="#{{this.generated}}">{{this.generated}})</a>{{/if}}</h2>
<div class="stats {{this.percentClass}}">
<div class="percentage">{{this.percent}}%</div>
<div class="sloc">{{this.sloc}}</div>
<div class="hits">{{this.hits}}</div>
<div class="misses">{{this.misses}}</div>
</div>
<table>
<thead>
<tr>
<th>Line</th>
<th>Lint</th>
<th>Hits</th>
<th>Source</th>
{{#if this.sourcemaps}}<th>Original line</th>{{/if}}
</tr>
</thead>
<tbody>
{{#each this.source}}
{{> line filename=../filename}}
{{/each}}
</tbody>
</table>
</div>