| 1 | { |
| 2 | "gcovr/format_version": "0.14", |
| 3 | "files": [ |
| 4 | { |
| 5 | "file": "func.h", |
| 6 | "lines": [ |
| 7 | { |
| 8 | "line_number": 3, |
| 9 | "function_name": "foo(int)", |
| 10 | "count": 1, |
| 11 | "branches": [], |
| 12 | "gcovr/md5": "bb4aae5e443f387349849f9a5a813e31" |
| 13 | }, |
| 14 | { |
| 15 | "line_number": 5, |
| 16 | "function_name": "foo(int)", |
| 17 | "count": 1, |
| 18 | "branches": [], |
| 19 | "gcovr/md5": "bb4aae5e443f387349849f9a5a813e31" |
| 20 | }, |
| 21 | { |
| 22 | "line_number": 7, |
| 23 | "function_name": "foo(int)", |
| 24 | "count": 2, |
| 25 | "branches": [ |
| 26 | { |
| 27 | "branchno": 0, |
| 28 | "count": 0, |
| 29 | "fallthrough": true, |
| 30 | "throw": false, |
| 31 | "source_block_id": 0 |
| 32 | }, |
| 33 | { |
| 34 | "branchno": 1, |
| 35 | "count": 2, |
| 36 | "fallthrough": false, |
| 37 | "throw": false, |
| 38 | "source_block_id": 0 |
| 39 | } |
| 40 | ], |
| 41 | "gcovr/md5": "81fff94209b659e33b1459a477e1e747" |
| 42 | }, |
| 43 | { |
| 44 | "line_number": 8, |
| 45 | "function_name": "foo(int)", |
| 46 | "count": 0, |
| 47 | "branches": [], |
| 48 | "gcovr/md5": "2c49a86f5754f8103995fc6d32bc207e" |
| 49 | }, |
| 50 | { |
| 51 | "line_number": 10, |
| 52 | "function_name": "foo(int)", |
| 53 | "count": 2, |
| 54 | "branches": [], |
| 55 | "gcovr/md5": "9e509d19a37174e72bead0ea24176228" |
| 56 | } |
| 57 | ], |
| 58 | "functions": [ |
| 59 | { |
| 60 | "demangled_name": "foo(int)", |
| 61 | "lineno": 5, |
| 62 | "execution_count": 2, |
| 63 | "blocks_percent": 75.0 |
| 64 | } |
| 65 | ] |
| 66 | }, |
| 67 | { |
| 68 | "file": "main.c", |
| 69 | "lines": [ |
| 70 | { |
| 71 | "line_number": 5, |
| 72 | "function_name": "main", |
| 73 | "count": 2, |
| 74 | "branches": [], |
| 75 | "gcovr/md5": "2a787a1309f19379bb0e3d8434d2a18d" |
| 76 | }, |
| 77 | { |
| 78 | "line_number": 6, |
| 79 | "function_name": "main", |
| 80 | "count": 2, |
| 81 | "branches": [], |
| 82 | "calls": [ |
| 83 | { |
| 84 | "callno": 0, |
| 85 | "source_block_id": 0, |
| 86 | "returned": 2 |
| 87 | } |
| 88 | ], |
| 89 | "gcovr/md5": "c18608b3fe9a00042c41d97d382d1e07" |
| 90 | }, |
| 91 | { |
| 92 | "line_number": 8, |
| 93 | "function_name": "main", |
| 94 | "count": 2, |
| 95 | "branches": [], |
| 96 | "gcovr/md5": "c26ba559a5f34d46a49fafed87946fb7" |
| 97 | } |
| 98 | ], |
| 99 | "functions": [ |
| 100 | { |
| 101 | "name": "main", |
| 102 | "lineno": 5, |
| 103 | "execution_count": 2, |
| 104 | "blocks_percent": 100.0 |
| 105 | } |
| 106 | ] |
| 107 | } |
| 108 | ] |
| 109 | } |