LCOV - code coverage report
Current view: top level - src/test/util Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 67.5 % 1357 916
Test Date: 2026-06-19 07:35:23 Functions: 63.0 % 208 131
Branches: 42.8 % 2404 1030

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
mining.cpp
0.0%
0.0 % 75 0.0 % 130 0.0 % 9
coverage.cpp
100.0%
100.0 % 1 1 - 100.0 % 1 1
test_bitcoin 100.0 % 1 1 - 0 0 100.0 % 1 1
random.h
100.0%
100.0 % 2 2 - -
test_bitcoin 100.0 % 2 2 - 0 0 - 0 0
common.h
46.2%46.2%
46.2 % 13 6 30.3 % 122 37 11.1 % 18 2
test_bitcoin 46.2 % 13 6 44.0 % 84 37 11.1 % 18 2
net.cpp
40.6%40.6%
40.6 % 254 103 30.6 % 206 63 28.9 % 45 13
test_bitcoin 40.6 % 254 103 30.6 % 206 63 28.9 % 45 13
txmempool.cpp
57.2%57.2%
57.2 % 138 79 31.1 % 302 94 75.0 % 8 6
test_bitcoin 57.2 % 138 79 31.1 % 302 94 75.0 % 8 6
validation.cpp
27.3%27.3%
27.3 % 44 12 37.5 % 8 3 33.3 % 9 3
test_bitcoin 27.3 % 44 12 37.5 % 8 3 33.3 % 9 3
setup_common.cpp
75.6%75.6%
75.6 % 348 263 39.4 % 678 267 85.7 % 21 18
test_bitcoin 75.6 % 348 263 39.4 % 678 267 85.7 % 21 18
time.h
93.8%93.8%
93.8 % 16 15 45.0 % 20 9 100.0 % 9 9
test_bitcoin 93.8 % 16 15 45.0 % 20 9 100.0 % 9 9
txmempool.h
100.0%
100.0 % 5 5 48.1 % 216 104 -
test_bitcoin 100.0 % 5 5 50.0 % 208 104 - 0 0
chainstate.h
98.0%98.0%
98.0 % 49 48 48.4 % 126 61 71.4 % 21 15
test_bitcoin 98.0 % 49 48 48.4 % 126 61 71.4 % 21 15
coins.cpp
100.0%
100.0 % 9 9 50.0 % 2 1 100.0 % 1 1
test_bitcoin 100.0 % 9 9 50.0 % 2 1 100.0 % 1 1
script.h
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
json.cpp
100.0%
100.0 % 5 5 50.0 % 14 7 100.0 % 1 1
test_bitcoin 100.0 % 5 5 50.0 % 14 7 100.0 % 1 1
net.h
61.1%61.1%
61.1 % 36 22 50.0 % 30 15 57.1 % 7 4
test_bitcoin 61.1 % 36 22 50.0 % 30 15 57.1 % 7 4
transaction_utils.cpp
97.2%97.2%
97.2 % 72 70 51.0 % 102 52 100.0 % 6 6
test_bitcoin 97.2 % 72 70 51.0 % 102 52 100.0 % 6 6
blockfilter.cpp
100.0%
100.0 % 9 9 57.1 % 14 8 100.0 % 1 1
test_bitcoin 100.0 % 9 9 57.1 % 14 8 100.0 % 1 1
setup_common.h
100.0%
100.0 % 12 12 57.1 % 14 8 100.0 % 3 3
test_bitcoin 100.0 % 12 12 57.1 % 14 8 100.0 % 3 3
random.cpp
76.5%76.5%
76.5 % 17 13 62.5 % 16 10 100.0 % 2 2
test_bitcoin 76.5 % 17 13 62.5 % 16 10 100.0 % 2 2
poolresourcetester.h
98.1%98.1%
98.1 % 54 53 68.9 % 90 62 100.0 % 5 5
test_bitcoin 98.1 % 54 53 68.9 % 90 62 100.0 % 5 5
logging.cpp
86.7%86.7%
86.7 % 15 13 70.0 % 20 14 100.0 % 3 3
test_bitcoin 86.7 % 15 13 70.0 % 20 14 100.0 % 3 3
cluster_linearize.h
95.5%95.5%
95.5 % 157 150 71.8 % 262 188 100.0 % 26 26
test_bitcoin 95.5 % 157 150 71.8 % 262 188 100.0 % 26 26
script.cpp
100.0%
100.0 % 3 3 75.0 % 8 6 100.0 % 1 1
test_bitcoin 100.0 % 3 3 75.0 % 8 6 100.0 % 1 1
str.h
100.0%
100.0 % 15 15 95.0 % 20 19 100.0 % 9 9
test_bitcoin 100.0 % 15 15 95.0 % 20 19 100.0 % 9 9

Generated by: LCOV version 2.0-1