Skip to content

Commit 9bc2ab4

Browse files
committed
docs: sample HTML report for 6.1
1 parent 4c4f4ac commit 9bc2ab4

18 files changed

+4545
-4698
lines changed

doc/sample_html/coverage_html.js

Lines changed: 290 additions & 334 deletions
Large diffs are not rendered by default.

doc/sample_html/d_7b071bdc2a35fa80___init___py.html

Lines changed: 59 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -6,70 +6,75 @@
66
<title>Coverage for cogapp/__init__.py: 100.00%</title>
77
<link rel="icon" sizes="32x32" href="favicon_32.png">
88
<link rel="stylesheet" href="style.css" type="text/css">
9-
<script type="text/javascript" src="jquery.min.js"></script>
10-
<script type="text/javascript" src="jquery.hotkeys.js"></script>
11-
<script type="text/javascript" src="jquery.isonscreen.js"></script>
12-
<script type="text/javascript" src="coverage_html.js"></script>
13-
<script type="text/javascript">
14-
jQuery(document).ready(coverage.pyfile_ready);
15-
</script>
9+
<script type="text/javascript" src="coverage_html.js" defer></script>
1610
</head>
1711
<body class="pyfile">
18-
<div id="header">
12+
<header>
1913
<div class="content">
20-
<h1>Coverage for <b>cogapp/__init__.py</b> :
14+
<h1>
15+
<span class="text">Coverage for </span><b>cogapp/__init__.py</b>:
2116
<span class="pc_cov">100.00%</span>
2217
</h1>
23-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
24-
<h2 class="stats">
25-
2 statements &nbsp;
26-
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">2 run</button>
27-
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">0 missing</button>
28-
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button>
29-
<button type="button" class="par run show_par shortkey_p button_toggle_par" title="Toggle lines partially run">0 partial</button>
18+
<div id="help_panel_wrapper">
19+
<input id="help_panel_state" type="checkbox">
20+
<label for="help_panel_state">
21+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" />
22+
</label>
23+
<div id="help_panel">
24+
<p class="legend">Shortcuts on this page</p>
25+
<div>
26+
<p class="keyhelp">
27+
<kbd>r</kbd>
28+
<kbd>m</kbd>
29+
<kbd>x</kbd>
30+
<kbd>p</kbd> &nbsp; toggle line displays
31+
</p>
32+
<p class="keyhelp">
33+
<kbd>j</kbd>
34+
<kbd>k</kbd> &nbsp; next/prev highlighted chunk
35+
</p>
36+
<p class="keyhelp">
37+
<kbd>0</kbd> &nbsp; (zero) top of page
38+
</p>
39+
<p class="keyhelp">
40+
<kbd>1</kbd> &nbsp; (one) first highlighted chunk
41+
</p>
42+
</div>
43+
</div>
44+
</div>
45+
<h2>
46+
<span class="text">2 statements &nbsp;</span>
47+
<button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">2<span class="text"> run</span></button>
48+
<button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">0<span class="text"> missing</span></button>
49+
<button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">0<span class="text"> excluded</span></button>
50+
<button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">0<span class="text"> partial</span></button>
3051
</h2>
52+
<div style="display: none;">
53+
<button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button>
54+
<button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button>
55+
<button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button>
56+
<button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button>
57+
</div>
3158
</div>
32-
</div>
33-
<div class="help_panel">
34-
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
35-
<p class="legend">Hot-keys on this page</p>
36-
<div>
37-
<p class="keyhelp">
38-
<span class="key">r</span>
39-
<span class="key">m</span>
40-
<span class="key">x</span>
41-
<span class="key">p</span> &nbsp; toggle line displays
42-
</p>
43-
<p class="keyhelp">
44-
<span class="key">j</span>
45-
<span class="key">k</span> &nbsp; next/prev highlighted chunk
46-
</p>
47-
<p class="keyhelp">
48-
<span class="key">0</span> &nbsp; (zero) top of page
49-
</p>
50-
<p class="keyhelp">
51-
<span class="key">1</span> &nbsp; (one) first highlighted chunk
52-
</p>
53-
</div>
54-
</div>
55-
<div id="source">
56-
<p id="t1" class="pln"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="str">""" Cog content generation tool.</span>&nbsp;</span><span class="r"></span></p>
57-
<p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="str"> http://nedbatchelder.com/code/cog</span>&nbsp;</span><span class="r"></span></p>
58-
<p id="t3" class="pln"><span class="n"><a href="#t3">3</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
59-
<p id="t4" class="pln"><span class="n"><a href="#t4">4</a></span><span class="t"><span class="str"> Copyright 2004-2015, Ned Batchelder.</span>&nbsp;</span><span class="r"></span></p>
60-
<p id="t5" class="pln"><span class="n"><a href="#t5">5</a></span><span class="t"><span class="str">"""</span>&nbsp;</span><span class="r"></span></p>
61-
<p id="t6" class="pln"><span class="n"><a href="#t6">6</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
62-
<p id="t7" class="run"><span class="n"><a href="#t7">7</a></span><span class="t"><span class="key">from</span> <span class="nam">__future__</span> <span class="key">import</span> <span class="nam">absolute_import</span>&nbsp;</span><span class="r"></span></p>
63-
<p id="t8" class="pln"><span class="n"><a href="#t8">8</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
64-
<p id="t9" class="run"><span class="n"><a href="#t9">9</a></span><span class="t"><span class="key">from</span> <span class="op">.</span><span class="nam">cogapp</span> <span class="key">import</span> <span class="op">*</span>&nbsp;</span><span class="r"></span></p>
65-
</div>
66-
<div id="footer">
59+
</header>
60+
<main id="source">
61+
<p class="pln"><span class="n"><a id="t1" href="#t1">1</a></span><span class="t"><span class="str">""" Cog content generation tool.</span>&nbsp;</span><span class="r"></span></p>
62+
<p class="pln"><span class="n"><a id="t2" href="#t2">2</a></span><span class="t"><span class="str"> http://nedbatchelder.com/code/cog</span>&nbsp;</span><span class="r"></span></p>
63+
<p class="pln"><span class="n"><a id="t3" href="#t3">3</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
64+
<p class="pln"><span class="n"><a id="t4" href="#t4">4</a></span><span class="t"><span class="str"> Copyright 2004-2015, Ned Batchelder.</span>&nbsp;</span><span class="r"></span></p>
65+
<p class="pln"><span class="n"><a id="t5" href="#t5">5</a></span><span class="t"><span class="str">"""</span>&nbsp;</span><span class="r"></span></p>
66+
<p class="pln"><span class="n"><a id="t6" href="#t6">6</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
67+
<p class="run"><span class="n"><a id="t7" href="#t7">7</a></span><span class="t"><span class="key">from</span> <span class="nam">__future__</span> <span class="key">import</span> <span class="nam">absolute_import</span>&nbsp;</span><span class="r"></span></p>
68+
<p class="pln"><span class="n"><a id="t8" href="#t8">8</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
69+
<p class="run"><span class="n"><a id="t9" href="#t9">9</a></span><span class="t"><span class="key">from</span> <span class="op">.</span><span class="nam">cogapp</span> <span class="key">import</span> <span class="op">*</span>&nbsp;</span><span class="r"></span></p>
70+
</main>
71+
<footer>
6772
<div class="content">
6873
<p>
69-
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v6.0.2</a>,
70-
created at 2021-10-11 16:57 -0400
74+
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v6.1</a>,
75+
created at 2021-10-29 22:41 -0400
7176
</p>
7277
</div>
73-
</div>
78+
</footer>
7479
</body>
7580
</html>

doc/sample_html/d_7b071bdc2a35fa80___main___py.html

Lines changed: 55 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,66 +6,71 @@
66
<title>Coverage for cogapp/__main__.py: 0.00%</title>
77
<link rel="icon" sizes="32x32" href="favicon_32.png">
88
<link rel="stylesheet" href="style.css" type="text/css">
9-
<script type="text/javascript" src="jquery.min.js"></script>
10-
<script type="text/javascript" src="jquery.hotkeys.js"></script>
11-
<script type="text/javascript" src="jquery.isonscreen.js"></script>
12-
<script type="text/javascript" src="coverage_html.js"></script>
13-
<script type="text/javascript">
14-
jQuery(document).ready(coverage.pyfile_ready);
15-
</script>
9+
<script type="text/javascript" src="coverage_html.js" defer></script>
1610
</head>
1711
<body class="pyfile">
18-
<div id="header">
12+
<header>
1913
<div class="content">
20-
<h1>Coverage for <b>cogapp/__main__.py</b> :
14+
<h1>
15+
<span class="text">Coverage for </span><b>cogapp/__main__.py</b>:
2116
<span class="pc_cov">0.00%</span>
2217
</h1>
23-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
24-
<h2 class="stats">
25-
3 statements &nbsp;
26-
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">0 run</button>
27-
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">3 missing</button>
28-
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button>
29-
<button type="button" class="par run show_par shortkey_p button_toggle_par" title="Toggle lines partially run">0 partial</button>
18+
<div id="help_panel_wrapper">
19+
<input id="help_panel_state" type="checkbox">
20+
<label for="help_panel_state">
21+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" />
22+
</label>
23+
<div id="help_panel">
24+
<p class="legend">Shortcuts on this page</p>
25+
<div>
26+
<p class="keyhelp">
27+
<kbd>r</kbd>
28+
<kbd>m</kbd>
29+
<kbd>x</kbd>
30+
<kbd>p</kbd> &nbsp; toggle line displays
31+
</p>
32+
<p class="keyhelp">
33+
<kbd>j</kbd>
34+
<kbd>k</kbd> &nbsp; next/prev highlighted chunk
35+
</p>
36+
<p class="keyhelp">
37+
<kbd>0</kbd> &nbsp; (zero) top of page
38+
</p>
39+
<p class="keyhelp">
40+
<kbd>1</kbd> &nbsp; (one) first highlighted chunk
41+
</p>
42+
</div>
43+
</div>
44+
</div>
45+
<h2>
46+
<span class="text">3 statements &nbsp;</span>
47+
<button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">0<span class="text"> run</span></button>
48+
<button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">3<span class="text"> missing</span></button>
49+
<button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">0<span class="text"> excluded</span></button>
50+
<button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">0<span class="text"> partial</span></button>
3051
</h2>
52+
<div style="display: none;">
53+
<button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button>
54+
<button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button>
55+
<button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button>
56+
<button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button>
57+
</div>
3158
</div>
32-
</div>
33-
<div class="help_panel">
34-
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
35-
<p class="legend">Hot-keys on this page</p>
36-
<div>
37-
<p class="keyhelp">
38-
<span class="key">r</span>
39-
<span class="key">m</span>
40-
<span class="key">x</span>
41-
<span class="key">p</span> &nbsp; toggle line displays
42-
</p>
43-
<p class="keyhelp">
44-
<span class="key">j</span>
45-
<span class="key">k</span> &nbsp; next/prev highlighted chunk
46-
</p>
47-
<p class="keyhelp">
48-
<span class="key">0</span> &nbsp; (zero) top of page
49-
</p>
50-
<p class="keyhelp">
51-
<span class="key">1</span> &nbsp; (one) first highlighted chunk
52-
</p>
53-
</div>
54-
</div>
55-
<div id="source">
56-
<p id="t1" class="pln"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="str">"""Make Cog runnable directly from the module."""</span>&nbsp;</span><span class="r"></span></p>
57-
<p id="t2" class="mis show_mis"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="key">import</span> <span class="nam">sys</span>&nbsp;</span><span class="r"></span></p>
58-
<p id="t3" class="mis show_mis"><span class="n"><a href="#t3">3</a></span><span class="t"><span class="key">from</span> <span class="nam">cogapp</span> <span class="key">import</span> <span class="nam">Cog</span>&nbsp;</span><span class="r"></span></p>
59-
<p id="t4" class="pln"><span class="n"><a href="#t4">4</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
60-
<p id="t5" class="mis show_mis"><span class="n"><a href="#t5">5</a></span><span class="t"><span class="nam">sys</span><span class="op">.</span><span class="nam">exit</span><span class="op">(</span><span class="nam">Cog</span><span class="op">(</span><span class="op">)</span><span class="op">.</span><span class="nam">main</span><span class="op">(</span><span class="nam">sys</span><span class="op">.</span><span class="nam">argv</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
61-
</div>
62-
<div id="footer">
59+
</header>
60+
<main id="source">
61+
<p class="pln"><span class="n"><a id="t1" href="#t1">1</a></span><span class="t"><span class="str">"""Make Cog runnable directly from the module."""</span>&nbsp;</span><span class="r"></span></p>
62+
<p class="mis show_mis"><span class="n"><a id="t2" href="#t2">2</a></span><span class="t"><span class="key">import</span> <span class="nam">sys</span>&nbsp;</span><span class="r"></span></p>
63+
<p class="mis show_mis"><span class="n"><a id="t3" href="#t3">3</a></span><span class="t"><span class="key">from</span> <span class="nam">cogapp</span> <span class="key">import</span> <span class="nam">Cog</span>&nbsp;</span><span class="r"></span></p>
64+
<p class="pln"><span class="n"><a id="t4" href="#t4">4</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
65+
<p class="mis show_mis"><span class="n"><a id="t5" href="#t5">5</a></span><span class="t"><span class="nam">sys</span><span class="op">.</span><span class="nam">exit</span><span class="op">(</span><span class="nam">Cog</span><span class="op">(</span><span class="op">)</span><span class="op">.</span><span class="nam">main</span><span class="op">(</span><span class="nam">sys</span><span class="op">.</span><span class="nam">argv</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
66+
</main>
67+
<footer>
6368
<div class="content">
6469
<p>
65-
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v6.0.2</a>,
66-
created at 2021-10-11 16:57 -0400
70+
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v6.1</a>,
71+
created at 2021-10-29 22:41 -0400
6772
</p>
6873
</div>
69-
</div>
74+
</footer>
7075
</body>
7176
</html>

0 commit comments

Comments
 (0)