LCOV - code coverage report
Current view: top level - src/test/util Coverage Total Hit
Test: total_coverage.info Lines: 67.1 % 1351 907
Test Date: 2026-03-16 05:20:51 Functions: 61.8 % 199 123
Branches: 42.3 % 2430 1027

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 % 85 0.0 % 138 0.0 % 10
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
54.5%54.5%
54.5 % 11 6 30.0 % 120 36 11.8 % 17 2
test_bitcoin 54.5 % 11 6 43.9 % 82 36 11.8 % 17 2
net.cpp
41.2%41.2%
41.2 % 250 103 30.2 % 202 61 29.5 % 44 13
test_bitcoin 41.2 % 250 103 30.2 % 202 61 29.5 % 44 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.4%75.4%
75.4 % 346 261 39.3 % 672 264 85.7 % 21 18
test_bitcoin 75.4 % 346 261 39.3 % 672 264 85.7 % 21 18
txmempool.h
100.0%
100.0 % 5 5 43.0 % 242 104 -
test_bitcoin 100.0 % 5 5 50.0 % 208 104 - 0 0
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
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
str.cpp
100.0%
100.0 % 8 8 66.7 % 18 12 100.0 % 1 1
test_bitcoin 100.0 % 8 8 66.7 % 18 12 100.0 % 1 1
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