LCOV - code coverage report
Current view: top level - src/test/util Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 76.1 % 1079 821
Test Date: 2024-08-28 04:44:32 Functions: 58.1 % 167 97
Branches: 44.1 % 2210 975

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 % 76 0.0 % 124 0.0 % 9
setup_common.h
73.3%73.3%
73.3 % 15 11 40.0 % 80 32 9.1 % 33 3
test_bitcoin 100.0 % 11 11 50.0 % 64 32 10.3 % 29 3
random.h
100.0%
100.0 % 12 12 55.8 % 138 77 -
test_bitcoin 100.0 % 12 12 96.2 % 80 77 - 0 0
txmempool.h
100.0%
100.0 % 5 5 36.8 % 334 123 -
test_bitcoin 100.0 % 5 5 50.0 % 246 123 - 0 0
poolresourcetester.h
98.1%98.1%
98.1 % 52 51 68.9 % 90 62 45.5 % 11 5
test_bitcoin 98.1 % 52 51 68.9 % 90 62 100.0 % 5 5
net.h
54.2%54.2%
54.2 % 72 39 50.0 % 44 22 50.0 % 22 11
test_bitcoin 55.7 % 70 39 55.0 % 40 22 50.0 % 22 11
chainstate.h
98.0%98.0%
98.0 % 49 48 46.1 % 128 59 71.4 % 21 15
test_bitcoin 98.0 % 49 48 48.4 % 122 59 71.4 % 21 15
setup_common.cpp
75.3%75.3%
75.3 % 340 256 41.2 % 656 270 75.0 % 24 18
test_bitcoin 75.3 % 340 256 41.2 % 656 270 75.0 % 24 18
txmempool.cpp
56.8%56.8%
56.8 % 88 50 31.4 % 172 54 80.0 % 5 4
test_bitcoin 56.8 % 88 50 31.4 % 172 54 80.0 % 5 4
cluster_linearize.h
93.5%93.5%
93.5 % 124 116 66.7 % 174 116 85.7 % 7 6
test_bitcoin 100.0 % 116 116 70.7 % 164 116 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
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
index.cpp
100.0%
100.0 % 6 6 75.0 % 4 3 100.0 % 1 1
test_bitcoin 100.0 % 6 6 75.0 % 4 3 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.h
100.0%
100.0 % 1 1 - 100.0 % 1 1
test_bitcoin 100.0 % 1 1 - 0 0 100.0 % 1 1
script.cpp
100.0%
100.0 % 3 3 66.7 % 6 4 100.0 % 1 1
test_bitcoin 100.0 % 3 3 66.7 % 6 4 100.0 % 1 1
str.cpp
100.0%
100.0 % 8 8 71.4 % 14 10 100.0 % 1 1
test_bitcoin 100.0 % 8 8 71.4 % 14 10 100.0 % 1 1
random.cpp
73.3%73.3%
73.3 % 15 11 57.1 % 14 8 100.0 % 2 2
test_bitcoin 73.3 % 15 11 57.1 % 14 8 100.0 % 2 2
script.h
100.0%
100.0 % 8 8 - 100.0 % 2 2
test_bitcoin 100.0 % 8 8 - 0 0 100.0 % 2 2
logging.cpp
92.9%92.9%
92.9 % 14 13 59.1 % 22 13 100.0 % 3 3
test_bitcoin 92.9 % 14 13 59.1 % 22 13 100.0 % 3 3
transaction_utils.cpp
95.9%95.9%
95.9 % 49 47 51.4 % 70 36 100.0 % 3 3
test_bitcoin 95.9 % 49 47 51.4 % 70 36 100.0 % 3 3
validation.cpp
100.0%
100.0 % 12 12 50.0 % 2 1 100.0 % 3 3
test_bitcoin 100.0 % 12 12 50.0 % 2 1 100.0 % 3 3
net.cpp
93.5%93.5%
93.5 % 92 86 56.8 % 88 50 100.0 % 6 6
test_bitcoin 93.5 % 92 86 56.8 % 88 50 100.0 % 6 6
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