File: html_report_two_snippets.html

package info (click to toggle)
diff-cover 10.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,256 kB
  • sloc: python: 6,452; xml: 218; cpp: 18; sh: 12; makefile: 10
file content (56 lines) | stat: -rw-r--r-- 1,756 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
        <title>Diff Coverage</title>
        <style>
            .src-snippet { margin-top: 2em; }
            .src-name { font-weight: bold; }
            .snippets {
                border-top: 1px solid #bdbdbd;
                border-bottom: 1px solid #bdbdbd;
            }
            .css { color:red }
        </style>
    </head>
    <body>
        <h1>Diff Coverage</h1>
        <p>Diff: main</p>
        <ul>
            <li><b>Total</b>: 12 lines</li>
            <li><b>Missing</b>: 4 lines</li>
            <li><b>Coverage</b>: 66%</li>
        </ul>
        <table border="1">
            <tr>
                <th>Source File</th>
                <th>Diff Coverage (%)</th>
                <th>Missing Lines</th>
            </tr>
            <tr>
                <td>file1.py</td>
                <td>66.7%</td>
                <td>10-11</td>
            </tr>
            <tr>
                <td>subdir/file2.py</td>
                <td>66.7%</td>
                <td>10-11</td>
            </tr>
        </table>
        <div class="src-snippet">
            <div class="src-name">file1.py</div>
            <div class="snippets">
            <div>Snippet with ስ 芒 unicode</div>
            <div>Snippet with ስ 芒 unicode</div>
            </div>
        </div>
        <div class="src-snippet">
            <div class="src-name">subdir/file2.py</div>
            <div class="snippets">
            <div>Snippet with ስ 芒 unicode</div>
            <div>Snippet with ስ 芒 unicode</div>
            </div>
        </div>
    </body>
</html>