LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 87.4 % 1829 1598
Test Date: 2026-05-17 07:09:40 Functions: 90.9 % 473 430
Branches: 47.8 % 3710 1774

File Sort by file name Line Coverage ( hide details ) Sort by line coverage Branch Coverage Sort by branch coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit Rate Total Hit
bitcoinkernel.cpp
82.9%82.9%
82.9 % 738 612 51.1 % 653 334 95.7 % 207 198
test_bitcoin 82.9 % 738 612 51.1 % 653 334 95.7 % 207 198
bitcoinkernel_wrapper.h
95.1%95.1%
95.1 % 409 389 49.2 % 2022 994 92.0 % 200 184
test_bitcoin 95.3 % 408 389 49.9 % 1990 994 92.5 % 199 184
caches.h
100.0%
100.0 % 8 8 66.7 % 6 4 100.0 % 1 1
test_bitcoin 100.0 % 8 8 66.7 % 6 4 100.0 % 1 1
chain.cpp
63.2%63.2%
63.2 % 19 12 41.7 % 12 5 50.0 % 2 1
test_bitcoin 63.2 % 19 12 41.7 % 12 5 50.0 % 2 1
chain.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
chainparams.cpp
90.9%90.9%
90.9 % 405 368 47.5 % 320 152 92.9 % 14 13
test_bitcoin 90.9 % 405 368 47.5 % 320 152 92.9 % 14 13
chainparams.h
76.9%76.9%
76.9 % 26 20 34.2 % 284 97 100.0 % 1 1
test_bitcoin 76.9 % 26 20 43.3 % 224 97 100.0 % 1 1
chainstatemanager_opts.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
checks.cpp
75.0%75.0%
75.0 % 4 3 25.0 % 4 1 100.0 % 1 1
test_bitcoin 75.0 % 4 3 25.0 % 4 1 100.0 % 1 1
coinstats.cpp
80.6%80.6%
80.6 % 93 75 52.4 % 82 43 66.7 % 18 12
test_bitcoin 80.6 % 93 75 52.4 % 82 43 66.7 % 18 12
context.cpp
100.0%
100.0 % 8 8 50.0 % 4 2 100.0 % 2 2
test_bitcoin 100.0 % 8 8 50.0 % 4 2 100.0 % 2 2
disconnected_transactions.cpp
95.3%95.3%
95.3 % 43 41 65.6 % 32 21 100.0 % 7 7
test_bitcoin 95.3 % 43 41 65.6 % 32 21 100.0 % 7 7
disconnected_transactions.h
100.0%
100.0 % 2 2 50.0 % 2 1 100.0 % 1 1
test_bitcoin 100.0 % 2 2 50.0 % 2 1 100.0 % 1 1
mempool_entry.h
92.3%92.3%
92.3 % 52 48 41.0 % 278 114 75.0 % 8 6
test_bitcoin 92.3 % 52 48 41.6 % 274 114 75.0 % 8 6
mempool_removal_reason.cpp
66.7%66.7%
66.7 % 9 6 57.1 % 7 4 100.0 % 1 1
test_bitcoin 66.7 % 9 6 57.1 % 7 4 100.0 % 1 1
notifications_interface.h
36.4%36.4%
36.4 % 11 4 - 20.0 % 10 2
test_bitcoin 36.4 % 11 4 - 0 0 20.0 % 10 2

Generated by: LCOV version 2.0-1