Debian Codegraph @

tests/decisions/reference/decisions-neg-delta/gcc-13/coverage.json

raw
1 {
2 "gcovr/format_version": "0.14",
3 "files": [
4 {
5 "file": "main.cpp",
6 "lines": [
7 {
8 "line_number": 5,
9 "function_name": "Foo::work(int)",
10 "count": 1,
11 "branches": [],
12 "gcovr/md5": "8304260594bce9b34610dec9e5a4e877"
13 },
14 {
15 "line_number": 6,
16 "function_name": "Foo::work(int)",
17 "count": 1,
18 "branches": [
19 {
20 "branchno": 0,
21 "count": 1,
22 "fallthrough": true,
23 "throw": false,
24 "source_block_id": 0
25 },
26 {
27 "branchno": 1,
28 "count": 0,
29 "fallthrough": false,
30 "throw": false,
31 "source_block_id": 0
32 }
33 ],
34 "gcovr/decision": {
35 "type": "conditional",
36 "count_true": 1,
37 "count_false": 0
38 },
39 "gcovr/md5": "1aedbc743aca5457e63d15ff98c7c6b0"
40 },
41 {
42 "line_number": 7,
43 "function_name": "Foo::work(int)",
44 "count": 2,
45 "branches": [
46 {
47 "branchno": 1,
48 "count": 1,
49 "fallthrough": true,
50 "throw": false,
51 "source_block_id": 1
52 },
53 {
54 "branchno": 2,
55 "count": 0,
56 "fallthrough": false,
57 "throw": true,
58 "source_block_id": 1
59 }
60 ],
61 "calls": [
62 {
63 "callno": 0,
64 "source_block_id": 1,
65 "returned": 1
66 }
67 ],
68 "gcovr/md5": "531c09b5b187d2a095229382a14585af"
69 },
70 {
71 "line_number": 8,
72 "function_name": "Foo::work(int)",
73 "count": 3,
74 "branches": [
75 {
76 "branchno": 5,
77 "count": 2,
78 "fallthrough": false,
79 "throw": false,
80 "source_block_id": 1
81 },
82 {
83 "branchno": 6,
84 "count": 1,
85 "fallthrough": true,
86 "throw": false,
87 "source_block_id": 1
88 }
89 ],
90 "gcovr/decision": {
91 "type": "conditional",
92 "count_true": 2,
93 "count_false": 1
94 },
95 "calls": [
96 {
97 "callno": 0,
98 "source_block_id": 3,
99 "returned": 1
100 },
101 {
102 "callno": 1,
103 "source_block_id": 3,
104 "returned": 1
105 },
106 {
107 "callno": 2,
108 "source_block_id": 0,
109 "returned": 2
110 },
111 {
112 "callno": 3,
113 "source_block_id": 0,
114 "returned": 2
115 },
116 {
117 "callno": 4,
118 "source_block_id": 1,
119 "returned": 3
120 }
121 ],
122 "gcovr/md5": "7b25e7042a6c283ef5ff4184aa8a5bbd"
123 },
124 {
125 "line_number": 10,
126 "function_name": "Foo::work(int)",
127 "count": 1,
128 "branches": [],
129 "calls": [
130 {
131 "callno": 0,
132 "source_block_id": 0,
133 "returned": 1
134 }
135 ],
136 "gcovr/md5": "ea5a1cbe764918679997181a3ea281d3"
137 },
138 {
139 "line_number": 11,
140 "function_name": "Foo::work(int)",
141 "count": 1,
142 "branches": [],
143 "gcovr/md5": "7eefb90de6682989ef933bcadcbb7de9"
144 },
145 {
146 "line_number": 14,
147 "function_name": "main",
148 "count": 1,
149 "branches": [],
150 "gcovr/md5": "853b69efca6192aad15b1a4363e38a64"
151 },
152 {
153 "line_number": 16,
154 "function_name": "main",
155 "count": 1,
156 "branches": [
157 {
158 "branchno": 1,
159 "count": 1,
160 "fallthrough": true,
161 "throw": false,
162 "source_block_id": 0
163 },
164 {
165 "branchno": 2,
166 "count": 0,
167 "fallthrough": false,
168 "throw": true,
169 "source_block_id": 0
170 }
171 ],
172 "calls": [
173 {
174 "callno": 0,
175 "source_block_id": 0,
176 "returned": 1
177 }
178 ],
179 "gcovr/md5": "24293cd6780e791208b4517af39d0960"
180 },
181 {
182 "line_number": 17,
183 "function_name": "main",
184 "count": 1,
185 "branches": [],
186 "gcovr/md5": "c26ba559a5f34d46a49fafed87946fb7"
187 }
188 ],
189 "functions": [
190 {
191 "demangled_name": "Foo::work(int)",
192 "lineno": 5,
193 "execution_count": 1,
194 "blocks_percent": 79.0
195 },
196 {
197 "name": "main",
198 "lineno": 14,
199 "execution_count": 1,
200 "blocks_percent": 100.0
201 }
202 ]
203 }
204 ]
205 }