Debian Codegraph @

tests/html/reference/nested-sort-none/gcc-14/coverage_nested.file3.cpp.bcfa344b5512d8cd5857f2fe86511d71.html

raw
1 <!DOCTYPE html>
2 <html class="theme-green">
3
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6 <title>A/file3.cpp - GCC Code Coverage Report</title>
7 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
8 <link rel="stylesheet" href="coverage_nested.css"/>
9 <script src="coverage_nested.js"></script>
10 </head>
11
12 <body>
13 <div class="Layout-main">
14 <div class="Layout-main-centered-lg" style="max-width: 1280px;">
15 <div class="d-flex flex-justify-center">
16 <h1>GCC Code Coverage Report</h1>
17 </div>
18 <hr class="block-separator"/>
19 <header>
20 <div id="summary-coverage_nested.file3.cpp.bcfa344b5512d8cd5857f2fe86511d71.html" class="summary">
21 <div>
22 <table class="legend">
23 <tr>
24 <th scope="row">Directory:</th>
25 <td>./</td>
26 </tr>
27 <tr>
28 <th scope="row">Coverage:</th>
29 <td class="legend">
30 <span class="coverage-low">low: &ge; 0%</span>
31 <span class="coverage-medium">medium: &ge; 75.0%</span>
32 <span class="coverage-high">high: &ge; 90.0%</span>
33 </td>
34 </tr>
35 </table>
36 </div>
37 <div>
38 <table class="coverage">
39 <tr>
40 <th></th>
41 <th scope="col">Coverage</th>
42 <th scope="col">Exec / Excl / Total</th>
43 </tr>
44 <tr>
45 <th scope="row">Lines:</th>
46 <td class="coverage-low">44.4%</td>
47 <td class="coverage-low">4 / 0 / 9</td>
48 </tr>
49 <tr>
50 <th scope="row">Functions:</th>
51 <td class="coverage-low">50.0%</td>
52 <td class="coverage-low">1 / 0 / 2</td>
53 </tr>
54 <tr>
55 <th scope="row">Branches:</th>
56 <td class="coverage-none">0.0%</td>
57 <td class="coverage-none">0 / 0 / 2</td>
58 </tr>
59 <tr>
60 <th scope="row">Conditions:</th>
61 <td class="coverage-none">0.0%</td>
62 <td class="coverage-none">0 / 0 / 2</td>
63 </tr>
64 </table>
65 </div>
66 </div>
67 </header>
68 <hr/>
69 <nav>
70 <div class="m-3">
71 <details>
72 <summary>List of functions</summary>
73 <div class="Box m-3 functionslist">
74 <div class="Box-header py-2 d-flex sticky">
75 <div role="rowheader" class="color-fg-muted flex-auto min-width-0 col-md-2 sortable sorted-ascending">Function (File:Line)</div>
76 <div role="rowheader" class="color-fg-muted flex-auto min-width-0 d-flex flex-justify-end flex-wrap flex-items-baseline sortable">Calls</div>
77 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2 sortable">Lines</div>
78 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2 sortable">Branches</div>
79 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2 sortable">Conditions</div>
80 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2 sortable">Blocks</div>
81 </div>
82 <div class="Box-row Box-row--focus-gray py-2 d-flex">
83 <div role="gridcell" class="color-fg-muted flex-auto min-width-0 col-md-2"><a href="#l1">four_bar() (A/file3.cpp:1)</a> </div>
84 <div role="gridcell" class="color-fg-muted flex-auto min-width-0 d-flex flex-justify-end flex-wrap flex-items-baseline" data-sort="1">called 1 time</div>
85 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">100.0%</div>
86 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">-%</div>
87 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2" >-%</div>
88 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">100.0%</div>
89 </div>
90 <div class="Box-row Box-row--focus-gray py-2 d-flex">
91 <div role="gridcell" class="color-fg-muted flex-auto min-width-0 col-md-2"><a href="#l8">four_bar_() (A/file3.cpp:8)</a> </div>
92 <div role="gridcell" class="color-fg-muted flex-auto min-width-0 d-flex flex-justify-end flex-wrap flex-items-baseline" data-sort="0">not called</div>
93 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">0.0%</div>
94 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">0.0%</div>
95 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2" >0.0%</div>
96 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">0.0%</div>
97 </div>
98 </div> </details>
99 </div>
100
101 </nav>
102 <main>
103 <div class="Box m-3 file-source">
104 <div class="Box-header d-flex flex-space-between sticky">
105 A/file3.cpp
106 <div class="toggle-buttons">
107 <button type="button" class="button_toggle_coveredLine show_coveredLine" value="coveredLine" title="Toggle covered lines">4 covered</button>
108 <button type="button" class="button_toggle_uncoveredLine show_uncoveredLine" value="uncoveredLine" title="Toggle uncovered lines">5 uncovered</button>
109 <button type="button" class="button_toggle_partialCoveredLine show_partialCoveredLine" value="partialCoveredLine" title="Toggle partial covered lines">0 partial covered</button>
110 <button type="button" class="button_toggle_excludedLine show_excludedLine" value="excludedLine" title="Toggle excluded lines">0 excluded</button>
111 </div>
112 <div class="nav">
113 <a class="nav prev" href="coverage_nested.file1.cpp.11975e1ce5d9c157e76130f444523bea.html"></a>
114 <a class="nav index" href="coverage_nested.html"></a>
115 <a class="nav next" href="coverage_nested.file7.cpp.fa9d180b71a3402bed7d24bb1966eaf5.html"></a>
116 </div>
117 </div>
118 <div class="source-table-container">
119 <table class="text-mono text-small">
120 <tr>
121 <th align="right">Line</th>
122 <th align="right">Branch</th>
123 <th align="right">Condition</th>
124 <th align="right">Exec</th>
125 <th align="left" style="width: 100%;">Source</th>
126 </tr>
127 <tr class="source-line">
128 <td class="lineno"><a id="l1" href="#l1">1</a></td>
129 <td class="linebranch">
130 </td>
131 <td class="linecondition">
132 </td>
133 <td class="linecount coveredLine show_coveredLine">1</td>
134 <td class="src coveredLine show_coveredLine"><span class="kt">int</span><span class="w"> </span><span class="nf">four_bar</span><span class="p">()</span></td>
135 </tr>
136 <tr class="source-line">
137 <td class="lineno"><a id="l2" href="#l2">2</a></td>
138 <td class="linebranch">
139 </td>
140 <td class="linecondition">
141 </td>
142 <td class="linecount"></td>
143 <td class="src "><span class="p">{</span></td>
144 </tr>
145 <tr class="source-line">
146 <td class="lineno"><a id="l3" href="#l3">3</a></td>
147 <td class="linebranch">
148 </td>
149 <td class="linecondition">
150 </td>
151 <td class="linecount coveredLine show_coveredLine">1</td>
152 <td class="src coveredLine show_coveredLine"><span class="kt">int</span><span class="w"> </span><span class="n">x</span><span class="o">=</span><span class="mi">1</span><span class="p">;</span></td>
153 </tr>
154 <tr class="source-line">
155 <td class="lineno"><a id="l4" href="#l4">4</a></td>
156 <td class="linebranch">
157 </td>
158 <td class="linecondition">
159 </td>
160 <td class="linecount coveredLine show_coveredLine">1</td>
161 <td class="src coveredLine show_coveredLine"><span class="kt">int</span><span class="w"> </span><span class="n">y</span><span class="o">=</span><span class="mi">2</span><span class="p">;</span></td>
162 </tr>
163 <tr class="source-line">
164 <td class="lineno"><a id="l5" href="#l5">5</a></td>
165 <td class="linebranch">
166 </td>
167 <td class="linecondition">
168 </td>
169 <td class="linecount coveredLine show_coveredLine">1</td>
170 <td class="src coveredLine show_coveredLine"><span class="k">return</span><span class="w"> </span><span class="n">x</span><span class="o">+</span><span class="n">y</span><span class="p">;</span></td>
171 </tr>
172 <tr class="source-line">
173 <td class="lineno"><a id="l6" href="#l6">6</a></td>
174 <td class="linebranch">
175 </td>
176 <td class="linecondition">
177 </td>
178 <td class="linecount"></td>
179 <td class="src "><span class="p">}</span></td>
180 </tr>
181 <tr class="source-line">
182 <td class="lineno"><a id="l7" href="#l7">7</a></td>
183 <td class="linebranch">
184 </td>
185 <td class="linecondition">
186 </td>
187 <td class="linecount"></td>
188 <td class="src "></td>
189 </tr>
190 <tr class="source-line">
191 <td class="lineno"><a id="l8" href="#l8">8</a></td>
192 <td class="linebranch">
193 </td>
194 <td class="linecondition">
195 </td>
196 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
197 <td class="src uncoveredLine show_uncoveredLine"><span class="kt">int</span><span class="w"> </span><span class="nf">four_bar_</span><span class="p">()</span></td>
198 </tr>
199 <tr class="source-line">
200 <td class="lineno"><a id="l9" href="#l9">9</a></td>
201 <td class="linebranch">
202 </td>
203 <td class="linecondition">
204 </td>
205 <td class="linecount"></td>
206 <td class="src "><span class="p">{</span></td>
207 </tr>
208 <tr class="source-line">
209 <td class="lineno"><a id="l10" href="#l10">10</a></td>
210 <td class="linebranch">
211 </td>
212 <td class="linecondition">
213 </td>
214 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
215 <td class="src uncoveredLine show_uncoveredLine"><span class="kt">int</span><span class="w"> </span><span class="n">x</span><span class="o">=</span><span class="mi">1</span><span class="p">;</span></td>
216 </tr>
217 <tr class="source-line">
218 <td class="lineno"><a id="l11" href="#l11">11</a></td>
219 <td class="linebranch">
220 </td>
221 <td class="linecondition">
222 </td>
223 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
224 <td class="src uncoveredLine show_uncoveredLine"><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">x</span><span class="p">)</span></td>
225 </tr>
226 <tr class="source-line">
227 <td class="lineno"><a id="l12" href="#l12">12</a></td>
228 <td class="linebranch">
229 </td>
230 <td class="linecondition">
231 </td>
232 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
233 <td class="src uncoveredLine show_uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">2</span><span class="o">*</span><span class="n">x</span><span class="p">;</span><span class="w"> </span><span class="cm">/* This is a really long comment that confirms whether gcovr colors lines that exceed normal expectations. */</span></td>
234 </tr>
235 <tr class="source-line">
236 <td class="lineno"><a id="l13" href="#l13">13</a></td>
237 <td class="linebranch">
238 </td>
239 <td class="linecondition">
240 </td>
241 <td class="linecount"></td>
242 <td class="src "><span class="k">else</span></td>
243 </tr>
244 <tr class="source-line">
245 <td class="lineno"><a id="l14" href="#l14">14</a></td>
246 <td class="linebranch">
247 </td>
248 <td class="linecondition">
249 </td>
250 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
251 <td class="src uncoveredLine show_uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">x</span><span class="p">;</span></td>
252 </tr>
253 <tr class="source-line">
254 <td class="lineno"><a id="l15" href="#l15">15</a></td>
255 <td class="linebranch">
256 </td>
257 <td class="linecondition">
258 </td>
259 <td class="linecount"></td>
260 <td class="src "><span class="p">}</span></td>
261 </tr>
262 <tr class="source-line">
263 <td class="lineno"><a id="l16" href="#l16">16</a></td>
264 <td class="linebranch">
265 </td>
266 <td class="linecondition">
267 </td>
268 <td class="linecount"></td>
269 <td class="src "></td>
270 </tr>
271 </table>
272 </div>
273 </div>
274 </main>
275 <hr class="block-separator"/>
276 <footer class="text-center">
277 Created using <a href="http://gcovr.com/en/8.6">GCOVR (Version 8.6)</a>
278 at 2026-01-13 19:05:47+00:00
279 </footer>
280 </div>
281 </div>
282 </body>
283
284 </html>