Debian Codegraph @

tests/decisions/reference/decisions-neg-delta/gcc-9/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": 2,
48 "count": 1,
49 "fallthrough": true,
50 "throw": false,
51 "source_block_id": 0
52 },
53 {
54 "branchno": 3,
55 "count": 0,
56 "fallthrough": false,
57 "throw": true,
58 "source_block_id": 0
59 }
60 ],
61 "calls": [
62 {
63 "callno": 0,
64 "source_block_id": 0,
65 "returned": 1
66 },
67 {
68 "callno": 1,
69 "source_block_id": 0,
70 "returned": 1
71 },
72 {
73 "callno": 4,
74 "source_block_id": 1,
75 "returned": 1
76 }
77 ],
78 "gcovr/md5": "531c09b5b187d2a095229382a14585af"
79 },
80 {
81 "line_number": 8,
82 "function_name": "Foo::work(int)",
83 "count": 3,
84 "branches": [
85 {
86 "branchno": 3,
87 "count": 2,
88 "fallthrough": true,
89 "throw": false,
90 "source_block_id": 0
91 },
92 {
93 "branchno": 4,
94 "count": 1,
95 "fallthrough": false,
96 "throw": false,
97 "source_block_id": 0
98 }
99 ],
100 "gcovr/decision": {
101 "type": "conditional",
102 "count_true": 2,
103 "count_false": 1
104 },
105 "calls": [
106 {
107 "callno": 0,
108 "source_block_id": 3,
109 "returned": 1
110 },
111 {
112 "callno": 1,
113 "source_block_id": 3,
114 "returned": 1
115 },
116 {
117 "callno": 2,
118 "source_block_id": 0,
119 "returned": 3
120 },
121 {
122 "callno": 5,
123 "source_block_id": 1,
124 "returned": 2
125 },
126 {
127 "callno": 6,
128 "source_block_id": 1,
129 "returned": 2
130 }
131 ],
132 "gcovr/md5": "7b25e7042a6c283ef5ff4184aa8a5bbd"
133 },
134 {
135 "line_number": 11,
136 "function_name": "Foo::work(int)",
137 "count": 1,
138 "branches": [],
139 "gcovr/md5": "7eefb90de6682989ef933bcadcbb7de9"
140 },
141 {
142 "line_number": 14,
143 "function_name": "main",
144 "count": 1,
145 "branches": [],
146 "gcovr/md5": "853b69efca6192aad15b1a4363e38a64"
147 },
148 {
149 "line_number": 16,
150 "function_name": "main",
151 "count": 1,
152 "branches": [
153 {
154 "branchno": 1,
155 "count": 1,
156 "fallthrough": true,
157 "throw": false,
158 "source_block_id": 0
159 },
160 {
161 "branchno": 2,
162 "count": 0,
163 "fallthrough": false,
164 "throw": true,
165 "source_block_id": 0
166 }
167 ],
168 "calls": [
169 {
170 "callno": 0,
171 "source_block_id": 0,
172 "returned": 1
173 }
174 ],
175 "gcovr/md5": "24293cd6780e791208b4517af39d0960"
176 },
177 {
178 "line_number": 17,
179 "function_name": "main",
180 "count": 1,
181 "branches": [],
182 "gcovr/md5": "c26ba559a5f34d46a49fafed87946fb7"
183 }
184 ],
185 "functions": [
186 {
187 "demangled_name": "Foo::work(int)",
188 "lineno": 5,
189 "execution_count": 1,
190 "blocks_percent": 74.0
191 },
192 {
193 "name": "main",
194 "lineno": 14,
195 "execution_count": 1,
196 "blocks_percent": 100.0
197 }
198 ]
199 }
200 ]
201 }