| 1 | { |
| 2 | "gcovr/format_version": "0.14", |
| 3 | "files": [ |
| 4 | { |
| 5 | "file": "lib.c", |
| 6 | "lines": [ |
| 7 | { |
| 8 | "line_number": 4, |
| 9 | "function_name": "foo", |
| 10 | "count": 2, |
| 11 | "branches": [], |
| 12 | "gcovr/md5": "69fb94284e99eab36821cf19f0ac3b2f" |
| 13 | }, |
| 14 | { |
| 15 | "line_number": 5, |
| 16 | "function_name": "foo", |
| 17 | "count": 2, |
| 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": 1, |
| 29 | "fallthrough": false, |
| 30 | "throw": false, |
| 31 | "source_block_id": 0 |
| 32 | } |
| 33 | ], |
| 34 | "gcovr/md5": "bcb3b1b99a21a2a65ea96effd8a8bb89" |
| 35 | }, |
| 36 | { |
| 37 | "line_number": 6, |
| 38 | "function_name": "foo", |
| 39 | "count": 1, |
| 40 | "branches": [], |
| 41 | "gcovr/md5": "5d1e6f3017f24bee35e821720c83e4d7" |
| 42 | }, |
| 43 | { |
| 44 | "line_number": 9, |
| 45 | "function_name": "foo", |
| 46 | "count": 1, |
| 47 | "branches": [], |
| 48 | "gcovr/md5": "4071653b480e72354bcfb2b2e78f92fd" |
| 49 | } |
| 50 | ], |
| 51 | "functions": [ |
| 52 | { |
| 53 | "name": "foo", |
| 54 | "lineno": 4, |
| 55 | "execution_count": 2, |
| 56 | "blocks_percent": 100.0 |
| 57 | } |
| 58 | ] |
| 59 | }, |
| 60 | { |
| 61 | "file": "test/main.c", |
| 62 | "lines": [ |
| 63 | { |
| 64 | "line_number": 4, |
| 65 | "function_name": "main", |
| 66 | "count": 1, |
| 67 | "branches": [], |
| 68 | "gcovr/md5": "d9d7d650613a8ac26f6dfe250d77e8ea" |
| 69 | }, |
| 70 | { |
| 71 | "line_number": 5, |
| 72 | "function_name": "main", |
| 73 | "count": 3, |
| 74 | "branches": [], |
| 75 | "calls": [ |
| 76 | { |
| 77 | "callno": 0, |
| 78 | "source_block_id": 0, |
| 79 | "returned": 1 |
| 80 | }, |
| 81 | { |
| 82 | "callno": 1, |
| 83 | "source_block_id": 1, |
| 84 | "returned": 1 |
| 85 | } |
| 86 | ], |
| 87 | "gcovr/md5": "dc768c8e1b15f4a864f2a7eddcdf98d7" |
| 88 | }, |
| 89 | { |
| 90 | "line_number": 7, |
| 91 | "function_name": "main", |
| 92 | "count": 2, |
| 93 | "branches": [ |
| 94 | { |
| 95 | "branchno": 0, |
| 96 | "count": 1, |
| 97 | "fallthrough": true, |
| 98 | "throw": false, |
| 99 | "source_block_id": 2 |
| 100 | }, |
| 101 | { |
| 102 | "branchno": 1, |
| 103 | "count": 0, |
| 104 | "fallthrough": false, |
| 105 | "throw": false, |
| 106 | "source_block_id": 2 |
| 107 | }, |
| 108 | { |
| 109 | "branchno": 2, |
| 110 | "count": 0, |
| 111 | "fallthrough": true, |
| 112 | "throw": false, |
| 113 | "source_block_id": 2 |
| 114 | }, |
| 115 | { |
| 116 | "branchno": 3, |
| 117 | "count": 1, |
| 118 | "fallthrough": false, |
| 119 | "throw": false, |
| 120 | "source_block_id": 2 |
| 121 | } |
| 122 | ], |
| 123 | "gcovr/md5": "96f3bff1e93bc1ebe1bd098ac20dfee2" |
| 124 | } |
| 125 | ], |
| 126 | "functions": [ |
| 127 | { |
| 128 | "name": "main", |
| 129 | "lineno": 4, |
| 130 | "execution_count": 1, |
| 131 | "blocks_percent": 88.0 |
| 132 | } |
| 133 | ] |
| 134 | } |
| 135 | ] |
| 136 | } |