LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: total_coverage.info Lines: 91.5 % 1782 1630
Test Date: 2026-04-07 04:59:12 Functions: 93.5 % 460 430
Branches: 50.3 % 3506 1764

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
84.1%84.1%
84.1 % 700 589 52.1 % 629 328 95.5 % 198 189
test_bitcoin 84.1 % 700 589 51.7 % 629 325 95.5 % 198 189
functional_tests 32.7 % 700 229 21.6 % 629 136 25.8 % 198 51
bitcoinkernel_wrapper.h
95.9%95.9%
95.9 % 394 378 49.3 % 1836 906 93.4 % 196 183
test_bitcoin 95.4 % 393 375 50.2 % 1804 905 92.3 % 195 180
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
functional_tests 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
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 50.8 % 246 125 100.0 % 1 1
test_bitcoin 76.9 % 26 20 43.3 % 224 97 100.0 % 1 1
functional_tests 100.0 % 26 26 58.9 % 146 86 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
functional_tests 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
94.9%94.9%
94.9 % 99 94 57.8 % 90 52 100.0 % 18 18
functional_tests 94.9 % 99 94 57.8 % 90 52 100.0 % 18 18
test_bitcoin 79.8 % 99 79 48.9 % 90 44 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 86.0 % 43 37 62.5 % 32 20 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 43.0 % 314 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