Debian Codegraph @

tests/dot-folder/reference/gcc-14/coverage.file5.cpp.c953054e717675f6f8af56f7fee2fb14.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/C/file5.cpp - GCC Code Coverage Report</title>
7 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
8 <link rel="stylesheet" href="coverage.css"/>
9 <script src="coverage.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.file5.cpp.c953054e717675f6f8af56f7fee2fb14.html" class="summary">
21 <div>
22 <table class="legend">
23 <tr>
24 <th scope="row">Directory:</th>
25 <td>.subdir/</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-medium">75.0%</td>
47 <td class="coverage-medium">3 / 0 / 4</td>
48 </tr>
49 <tr>
50 <th scope="row">Functions:</th>
51 <td class="coverage-high">100.0%</td>
52 <td class="coverage-high">1 / 0 / 1</td>
53 </tr>
54 <tr>
55 <th scope="row">Branches:</th>
56 <td class="coverage-low">50.0%</td>
57 <td class="coverage-low">1 / 0 / 2</td>
58 </tr>
59 <tr>
60 <th scope="row">Conditions:</th>
61 <td class="coverage-low">50.0%</td>
62 <td class="coverage-low">1 / 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">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">Calls</div>
77 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">Lines</div>
78 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">Branches</div>
79 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">Conditions</div>
80 <div role="rowheader" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">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">foo5(int) (.subdir/A/C/file5.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">75.0%</div>
86 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">50.0%</div>
87 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2" >50.0%</div>
88 <div role="gridcell" class="color-fg-muted d-flex flex-justify-end flex-wrap col-2">75.0%</div>
89 </div>
90 </div> </details>
91 </div>
92
93 </nav>
94 <main>
95 <div class="Box m-3 file-source">
96 <div class="Box-header d-flex flex-space-between sticky">
97 A/C/file5.cpp
98 <div class="toggle-buttons">
99 <button type="button" class="button_toggle_coveredLine show_coveredLine" value="coveredLine" title="Toggle covered lines">2 covered</button>
100 <button type="button" class="button_toggle_uncoveredLine show_uncoveredLine" value="uncoveredLine" title="Toggle uncovered lines">1 uncovered</button>
101 <button type="button" class="button_toggle_partialCoveredLine show_partialCoveredLine" value="partialCoveredLine" title="Toggle partial covered lines">1 partial covered</button>
102 <button type="button" class="button_toggle_excludedLine show_excludedLine" value="excludedLine" title="Toggle excluded lines">0 excluded</button>
103 </div>
104 <div class="nav">
105 <a class="nav prev" href="coverage.File6.cpp.2ec5ec77ea4333a1e7eee1bb01185c1f.html"></a>
106 <a class="nav index" href="coverage.html"></a>
107 <a class="nav next" href="coverage.File2.cpp.6d8c4c3a43f26e03a73c3c52ced4b343.html"></a>
108 </div>
109 </div>
110 <div class="source-table-container">
111 <table class="text-mono text-small">
112 <tr>
113 <th align="right">Line</th>
114 <th align="right">Branch</th>
115 <th align="right">Condition</th>
116 <th align="right">Exec</th>
117 <th align="left" style="width: 100%;">Source</th>
118 </tr>
119 <tr class="source-line">
120 <td class="lineno"><a id="l1" href="#l1">1</a></td>
121 <td class="linebranch">
122 </td>
123 <td class="linecondition">
124 </td>
125 <td class="linecount coveredLine show_coveredLine">1</td>
126 <td class="src coveredLine show_coveredLine"><span class="kt">int</span><span class="w"> </span><span class="nf">foo5</span><span class="p">(</span><span class="kt">int</span><span class="w"> </span><span class="n">param</span><span class="p">)</span></td>
127 </tr>
128 <tr class="source-line">
129 <td class="lineno"><a id="l2" href="#l2">2</a></td>
130 <td class="linebranch">
131 </td>
132 <td class="linecondition">
133 </td>
134 <td class="linecount"></td>
135 <td class="src "><span class="p">{</span></td>
136 </tr>
137 <tr class="source-line">
138 <td class="lineno"><a id="l3" href="#l3">3</a></td>
139 <td class="linebranch">
140 <details class="linebranchDetails">
141 <summary class="linebranchSummary">1/2</summary>
142 <div class="linebranchContents">
143 <div class="notTakenBranch">&cross; Branch 2 &rightarrow; 3 not taken.</div>
144 <div class="takenBranch">&check; Branch 2 &rightarrow; 4 taken 1 time.</div>
145 </div>
146 </details>
147 </td>
148 <td class="linecondition">
149 <details class="lineconditionDetails">
150 <summary class="lineconditionSummary">1/2</summary>
151 <div class="lineconditionContents">
152 <div class="notTakenCondition">&cross; True not covered.</div>
153 </div>
154 </details>
155 </td>
156 <td class="linecount partialCoveredLine show_partialCoveredLine">1</td>
157 <td class="src partialCoveredLine show_partialCoveredLine"><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">param</span><span class="p">)</span><span class="w"> </span><span class="p">{</span></td>
158 </tr>
159 <tr class="source-line">
160 <td class="lineno"><a id="l4" href="#l4">4</a></td>
161 <td class="linebranch">
162 </td>
163 <td class="linecondition">
164 </td>
165 <td class="linecount uncoveredLine show_uncoveredLine">&cross;</td>
166 <td class="src uncoveredLine show_uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">1</span><span class="p">;</span></td>
167 </tr>
168 <tr class="source-line">
169 <td class="lineno"><a id="l5" href="#l5">5</a></td>
170 <td class="linebranch">
171 </td>
172 <td class="linecondition">
173 </td>
174 <td class="linecount"></td>
175 <td class="src "><span class="w"> </span><span class="p">}</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="p">{</span></td>
176 </tr>
177 <tr class="source-line">
178 <td class="lineno"><a id="l6" href="#l6">6</a></td>
179 <td class="linebranch">
180 </td>
181 <td class="linecondition">
182 </td>
183 <td class="linecount coveredLine show_coveredLine">1</td>
184 <td class="src coveredLine show_coveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span></td>
185 </tr>
186 <tr class="source-line">
187 <td class="lineno"><a id="l7" href="#l7">7</a></td>
188 <td class="linebranch">
189 </td>
190 <td class="linecondition">
191 </td>
192 <td class="linecount"></td>
193 <td class="src "><span class="w"> </span><span class="p">}</span></td>
194 </tr>
195 <tr class="source-line">
196 <td class="lineno"><a id="l8" href="#l8">8</a></td>
197 <td class="linebranch">
198 </td>
199 <td class="linecondition">
200 </td>
201 <td class="linecount"></td>
202 <td class="src "><span class="p">}</span></td>
203 </tr>
204 <tr class="source-line">
205 <td class="lineno"><a id="l9" href="#l9">9</a></td>
206 <td class="linebranch">
207 </td>
208 <td class="linecondition">
209 </td>
210 <td class="linecount"></td>
211 <td class="src "></td>
212 </tr>
213 </table>
214 </div>
215 </div>
216 </main>
217 <hr class="block-separator"/>
218 <footer class="text-center">
219 Created using <a href="http://gcovr.com/en/8.6">GCOVR (Version 8.6)</a>
220 at 2026-01-13 19:05:47+00:00
221 </footer>
222 </div>
223 </div>
224 </body>
225
226 </html>