LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: total_coverage.info Lines: 91.1 % 1887 1720
Test Date: 2026-07-19 08:02:30 Functions: 94.3 % 505 476
Branches: 50.7 % 3792 1922

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.4%83.4%
83.4 % 765 638 51.5 % 685 353 95.8 % 216 207
functional_tests 30.2 % 765 231 20.0 % 685 137 23.6 % 216 51
test_bitcoin 83.4 % 765 638 51.1 % 685 350 95.8 % 216 207
bitcoinkernel_wrapper.h
96.3%96.3%
96.3 % 429 413 49.1 % 2104 1034 94.5 % 217 205
test_bitcoin 95.8 % 428 410 49.9 % 2072 1033 93.5 % 216 202
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 -
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 % 410 402 53.9 % 330 178 100.0 % 15 15
test_bitcoin 91.2 % 410 374 48.2 % 330 159 93.3 % 15 14
functional_tests 97.3 % 410 399 53.6 % 330 177 100.0 % 15 15
chainparams.h
100.0%
100.0 % 33 33 53.3 % 246 131 100.0 % 6 6
test_bitcoin 75.8 % 33 25 43.5 % 232 101 66.7 % 6 4
functional_tests 100.0 % 33 33 60.4 % 154 93 100.0 % 6 6
chainstatemanager_opts.h
100.0%
100.0 % 1 1 - -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
test_bitcoin 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
95.7%95.7%
95.7 % 92 88 59.0 % 78 46 100.0 % 18 18
test_bitcoin 79.3 % 92 73 51.3 % 78 40 66.7 % 18 12
functional_tests 95.7 % 92 88 59.0 % 78 46 100.0 % 18 18
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
functional_tests 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 48.6 % 280 136 87.5 % 8 7
test_bitcoin 92.3 % 52 48 41.7 % 278 116 75.0 % 8 6
functional_tests 100.0 % 52 52 46.5 % 202 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