LCOV - code coverage report
Current view: top level - src/kernel Coverage Total Hit
Test: total_coverage.info Lines: 91.4 % 1908 1743
Test Date: 2026-08-25 06:30:02 Functions: 94.4 % 522 493
Branches: 50.2 % 3836 1927

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.0%84.0%
84.0 % 780 655 52.1 % 695 362 95.9 % 219 210
functional_tests 29.6 % 780 231 19.9 % 695 138 23.7 % 219 52
test_bitcoin 84.0 % 780 655 51.7 % 695 359 95.9 % 219 210
bitcoinkernel_wrapper.h
96.3%96.3%
96.3 % 435 419 49.2 % 2102 1034 94.8 % 230 218
test_bitcoin 95.9 % 434 416 49.9 % 2070 1033 93.9 % 229 215
functional_tests 83.7 % 98 82 33.9 % 62 21 63.4 % 41 26
caches.h
100.0%
100.0 % 8 8 100.0 % 4 4 100.0 % 1 1
test_bitcoin 100.0 % 8 8 100.0 % 4 4 100.0 % 1 1
functional_tests 100.0 % 8 8 50.0 % 4 2 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 -
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.0%98.0%
98.0 % 409 401 54.0 % 328 177 100.0 % 15 15
test_bitcoin 91.2 % 409 373 48.2 % 328 158 93.3 % 15 14
functional_tests 97.3 % 409 398 53.7 % 328 176 100.0 % 15 15
chainparams.h
100.0%
100.0 % 33 33 52.0 % 250 130 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.9 % 156 95 100.0 % 6 6
chainstatemanager_opts.h
100.0%
100.0 % 1 1 - -
test_bitcoin 100.0 % 1 1 - 0 0 - 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
95.7%95.7%
95.7 % 92 88 57.9 % 76 44 100.0 % 18 18
functional_tests 95.7 % 92 88 57.9 % 76 44 100.0 % 18 18
test_bitcoin 79.3 % 92 73 51.3 % 76 39 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
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
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 % 53 53 42.8 % 318 136 88.9 % 9 8
test_bitcoin 92.5 % 53 49 42.0 % 276 116 77.8 % 9 7
functional_tests 100.0 % 52 52 46.1 % 204 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