LCOV - code coverage report
Current view: top level - src/test/util Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 74.1 % 1378 1021
Test Date: 2026-07-17 06:52:43 Functions: 72.9 % 214 156
Branches: 43.5 % 2556 1111

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
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
chainstate.h
98.0%98.0%
98.0 % 49 48 46.2 % 132 61 71.4 % 21 15
test_bitcoin 98.0 % 49 48 48.4 % 126 61 71.4 % 21 15
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
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
common.h
46.2%46.2%
46.2 % 13 6 30.7 % 202 62 11.1 % 18 2
test_bitcoin 46.2 % 13 6 46.3 % 134 62 11.1 % 18 2
coverage.cpp
100.0%
100.0 % 1 1 - 100.0 % 1 1
test_bitcoin 100.0 % 1 1 - 0 0 100.0 % 1 1
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
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
mining.cpp
0.0%
0.0 % 75 0.0 % 130 0.0 % 9
net.cpp
69.7%69.7%
69.7 % 254 177 49.5 % 206 102 66.7 % 45 30
test_bitcoin 69.7 % 254 177 49.5 % 206 102 66.7 % 45 30
net.h
92.9%92.9%
92.9 % 42 39 55.6 % 36 20 87.5 % 8 7
test_bitcoin 92.9 % 42 39 55.6 % 36 20 87.5 % 8 7
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
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
random.h
100.0%
100.0 % 2 2 - -
test_bitcoin 100.0 % 2 2 - 0 0 - 0 0
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
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
setup_common.cpp
76.2%76.2%
76.2 % 357 272 39.5 % 686 271 87.5 % 24 21
test_bitcoin 76.2 % 357 272 39.5 % 686 271 87.5 % 24 21
setup_common.h
94.4%94.4%
94.4 % 18 17 50.0 % 30 15 100.0 % 5 5
test_bitcoin 94.4 % 18 17 53.6 % 28 15 100.0 % 5 5
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
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
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
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
txmempool.h
100.0%
100.0 % 5 5 41.7 % 252 105 -
test_bitcoin 100.0 % 5 5 50.0 % 210 105 - 0 0
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

Generated by: LCOV version 2.0-1