LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: total_coverage.info Lines: 91.4 % 1793 1639
Test Date: 2026-04-27 06:58:15 Functions: 93.5 % 464 434
Branches: 49.3 % 3726 1837

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
83.9%83.9%
83.9 % 710 596 52.1 % 633 330 95.5 % 200 191
test_bitcoin 83.9 % 710 596 51.7 % 633 327 95.5 % 200 191
functional_tests 32.3 % 710 229 21.5 % 633 136 25.5 % 200 51
bitcoinkernel_wrapper.h
95.8%95.8%
95.8 % 401 384 47.9 % 2036 975 93.4 % 198 185
functional_tests 83.7 % 98 82 33.9 % 62 21 63.4 % 41 26
test_bitcoin 95.2 % 400 381 50.1 % 1944 974 92.4 % 197 182
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
functional_tests 100.0 % 8 8 66.7 % 6 4 100.0 % 1 1
chain.cpp
100.0%
100.0 % 19 19 75.0 % 12 9 100.0 % 2 2
test_bitcoin 63.2 % 19 12 41.7 % 12 5 50.0 % 2 1
functional_tests 100.0 % 19 19 75.0 % 12 9 100.0 % 2 2
chain.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
functional_tests 100.0 % 1 1 50.0 % 2 1 - 0 0
chainparams.cpp
98.0%98.0%
98.0 % 405 397 54.1 % 320 173 100.0 % 14 14
test_bitcoin 90.9 % 405 368 47.5 % 320 152 92.9 % 14 13
functional_tests 97.3 % 405 394 53.8 % 320 172 100.0 % 14 14
chainparams.h
100.0%
100.0 % 26 26 52.4 % 250 131 100.0 % 1 1
functional_tests 100.0 % 26 26 61.0 % 146 89 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
functional_tests 100.0 % 1 1 - 0 0 - 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
functional_tests 75.0 % 4 3 25.0 % 4 1 100.0 % 1 1
coinstats.cpp
96.8%96.8%
96.8 % 93 90 58.5 % 82 48 100.0 % 18 18
functional_tests 96.8 % 93 90 58.5 % 82 48 100.0 % 18 18
test_bitcoin 80.6 % 93 75 51.2 % 82 42 66.7 % 18 12
context.cpp
100.0%
100.0 % 8 8 50.0 % 4 2 100.0 % 2 2
functional_tests 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
functional_tests 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
functional_tests 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
100.0%
100.0 % 52 52 40.4 % 334 135 87.5 % 8 7
test_bitcoin 92.3 % 52 48 41.6 % 274 114 75.0 % 8 6
functional_tests 100.0 % 52 52 48.0 % 198 95 87.5 % 8 7
mempool_removal_reason.cpp
77.8%77.8%
77.8 % 9 7 71.4 % 7 5 100.0 % 1 1
test_bitcoin 66.7 % 9 6 57.1 % 7 4 100.0 % 1 1
functional_tests 77.8 % 9 7 71.4 % 7 5 100.0 % 1 1
notifications_interface.h
36.4%36.4%
36.4 % 11 4 - 30.0 % 10 3
test_bitcoin 36.4 % 11 4 - 0 0 20.0 % 10 2
functional_tests 36.4 % 11 4 - 0 0 30.0 % 10 3

Generated by: LCOV version 2.0-1