LCOV - code coverage report
Current view: top level - src/test/util Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 72.1 % 1471 1060
Test Date: 2026-12-01 06:04:45 Functions: 67.5 % 240 162
Branches: 43.0 % 2768 1189

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 72.8 % 272 198 100.0 % 26 26
test_bitcoin 95.5 % 157 150 72.8 % 272 198 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
coins.h
40.0%40.0%
40.0 % 5 2 30.0 % 10 3 50.0 % 2 1
test_bitcoin 40.0 % 5 2 30.0 % 10 3 50.0 % 2 1
common.cpp
0.0%
0.0 % 52 0.0 % 58 0.0 % 21
common.h
40.0%40.0%
40.0 % 15 6 36.8 % 242 89 10.5 % 19 2
test_bitcoin 40.0 % 15 6 47.3 % 188 89 10.5 % 19 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
27.3%27.3%
27.3 % 99 27 13.9 % 180 25 20.0 % 10 2
test_bitcoin 27.3 % 99 27 13.9 % 180 25 20.0 % 10 2
net.cpp
78.8%78.8%
78.8 % 222 175 62.7 % 166 104 71.4 % 42 30
test_bitcoin 78.8 % 222 175 62.7 % 166 104 71.4 % 42 30
net.h
95.3%95.3%
95.3 % 43 41 52.0 % 50 26 87.5 % 8 7
test_bitcoin 95.3 % 43 41 56.5 % 46 26 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.6%76.6%
76.6 % 368 282 39.8 % 698 278 88.0 % 25 22
test_bitcoin 76.6 % 368 282 39.8 % 698 278 88.0 % 25 22
setup_common.h
94.4%94.4%
94.4 % 18 17 50.0 % 28 14 100.0 % 5 5
test_bitcoin 94.4 % 18 17 50.0 % 28 14 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
100.0%
100.0 % 17 17 30.8 % 26 8 100.0 % 10 10
test_bitcoin 100.0 % 17 17 44.4 % 18 8 100.0 % 10 10
transaction_utils.cpp
97.0%97.0%
97.0 % 67 65 49.4 % 154 76 100.0 % 6 6
test_bitcoin 97.0 % 67 65 49.4 % 154 76 100.0 % 6 6
txmempool.cpp
56.5%56.5%
56.5 % 138 78 31.5 % 298 94 75.0 % 8 6
test_bitcoin 56.5 % 138 78 31.5 % 298 94 75.0 % 8 6
txmempool.h
100.0%
100.0 % 5 5 39.9 % 208 83 -
test_bitcoin 100.0 % 5 5 50.0 % 166 83 - 0 0
validation.cpp
20.5%20.5%
20.5 % 78 16 1.7 % 58 1 36.4 % 11 4
test_bitcoin 20.5 % 78 16 1.7 % 58 1 36.4 % 11 4

Generated by: LCOV version 2.0-1