LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: total_coverage.info Lines: 90.9 % 1847 1678
Test Date: 2026-06-07 07:49:58 Functions: 93.8 % 480 450
Branches: 50.1 % 3730 1867

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.6%82.6%
82.6 % 741 612 51.0 % 661 337 95.7 % 207 198
test_bitcoin 82.6 % 741 612 50.5 % 661 334 95.7 % 207 198
functional_tests 31.2 % 741 231 20.7 % 661 137 24.6 % 207 51
bitcoinkernel_wrapper.h
95.9%95.9%
95.9 % 411 394 49.2 % 2018 993 93.5 % 201 188
test_bitcoin 95.4 % 410 391 49.9 % 1986 992 92.5 % 200 185
functional_tests 83.7 % 98 82 33.9 % 62 21 63.4 % 41 26
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 -
functional_tests 100.0 % 1 1 50.0 % 2 1 - 0 0
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
chainparams.cpp
98.1%98.1%
98.1 % 411 403 53.9 % 332 179 100.0 % 15 15
functional_tests 97.3 % 411 400 53.6 % 332 178 100.0 % 15 15
test_bitcoin 91.2 % 411 375 48.2 % 332 160 93.3 % 15 14
chainparams.h
100.0%
100.0 % 33 33 52.0 % 252 131 100.0 % 6 6
test_bitcoin 72.7 % 33 24 43.1 % 232 100 50.0 % 6 3
functional_tests 100.0 % 33 33 60.4 % 154 93 100.0 % 6 6
chainstatemanager_opts.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
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
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
test_bitcoin 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
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
functional_tests 100.0 % 2 2 50.0 % 2 1 100.0 % 1 1
mempool_entry.h
100.0%
100.0 % 52 52 42.7 % 314 134 87.5 % 8 7
test_bitcoin 92.3 % 52 48 41.6 % 274 114 75.0 % 8 6
functional_tests 100.0 % 52 52 47.5 % 198 94 87.5 % 8 7
mempool_removal_reason.cpp
77.8%77.8%
77.8 % 9 7 71.4 % 7 5 100.0 % 1 1
functional_tests 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
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