GCC Code Coverage Report


Directory: src/
Date: 2024-12-26 11:11:59
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 2020 2844 71.0%
Functions: 281 294 95.6%
Branches: 560 1409 39.7%

File Lines Functions Branches
base64.c 66.7 66.7% 18 / 27 100.0% 2 / 2 25.0% 3 / 12
buf.c 88.9 88.9% 16 / 18 100.0% 5 / 5 25.0% 1 / 4
ci.c 78.7 78.7% 37 / 47 100.0% 5 / 5 50.0% 9 / 18
client.c 80.6 80.6% 50 / 62 100.0% 4 / 4 56.7% 17 / 30
client_main.c 79.1 79.1% 34 / 43 100.0% 4 / 4 71.4% 10 / 14
cmd_line.c 87.5 87.5% 28 / 32 100.0% 5 / 5 50.0% 7 / 14
command.c 74.2 74.2% 89 / 120 91.7% 11 / 12 50.0% 33 / 66
event_loop.c 84.7 84.7% 111 / 131 100.0% 14 / 14 51.3% 39 / 76
file.c 66.7 66.7% 56 / 84 100.0% 8 / 8 38.5% 20 / 52
git.c 70.9 70.9% 39 / 55 100.0% 6 / 6 15.6% 10 / 64
json.c 73.2 73.2% 112 / 153 100.0% 24 / 24 31.4% 22 / 70
json_rpc.c 65.7 65.7% 201 / 306 94.4% 34 / 36 39.7% 58 / 146
log.c 91.7 91.7% 22 / 24 100.0% 4 / 4 66.7% 4 / 6
net.c 62.6 62.6% 87 / 139 100.0% 9 / 9 32.6% 30 / 92
process.c 48.8 48.8% 41 / 84 62.5% 5 / 8 23.1% 12 / 52
protocol.c 68.7 68.7% 90 / 131 90.9% 10 / 11 50.0% 24 / 48
run_queue.c 73.0 73.0% 81 / 111 93.8% 15 / 16 47.2% 17 / 36
server.c 71.7 71.7% 195 / 272 100.0% 21 / 21 41.8% 61 / 146
server_main.c 79.1 79.1% 34 / 43 100.0% 4 / 4 71.4% 10 / 14
signal.c 81.6 81.6% 31 / 38 100.0% 8 / 8 50.0% 5 / 10
sqlite.c 62.3 62.3% 101 / 162 85.7% 18 / 21 22.1% 21 / 95
storage.c 75.5 75.5% 37 / 49 100.0% 9 / 9 45.0% 9 / 20
storage_sqlite.c 72.5 72.5% 245 / 338 100.0% 23 / 23 42.3% 66 / 156
string.c 27.3 27.3% 6 / 22 50.0% 1 / 2 18.8% 3 / 16
tcp_server.c 71.3 71.3% 87 / 122 100.0% 11 / 11 40.9% 27 / 66
worker.c 70.2 70.2% 106 / 151 100.0% 9 / 9 43.5% 27 / 62
worker_main.c 79.1 79.1% 34 / 43 100.0% 4 / 4 71.4% 10 / 14
worker_queue.c 86.5 86.5% 32 / 37 88.9% 8 / 9 50.0% 5 / 10