LCOV - code coverage report
Current view: top level - src/leveldb/util Coverage Total Hit
Test: total_coverage.info Lines: 73.9 % 1145 846
Test Date: 2026-06-27 07:20:58 Functions: 78.4 % 171 134
Branches: 45.9 % 717 329

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
arena.cc
100.0%
100.0 % 35 35 78.6 % 14 11 100.0 % 5 5
functional_tests 100.0 % 35 35 78.6 % 14 11 100.0 % 5 5
test_bitcoin 94.3 % 35 33 71.4 % 14 10 100.0 % 5 5
arena.h
100.0%
100.0 % 10 10 75.0 % 4 3 100.0 % 1 1
functional_tests 100.0 % 10 10 75.0 % 4 3 100.0 % 1 1
test_bitcoin 100.0 % 10 10 75.0 % 4 3 100.0 % 1 1
bloom.cc
100.0%
100.0 % 40 40 69.2 % 26 18 100.0 % 6 6
functional_tests 100.0 % 40 40 69.2 % 26 18 100.0 % 6 6
test_bitcoin 100.0 % 40 40 69.2 % 26 18 100.0 % 6 6
cache.cc
90.4%90.4%
90.4 % 198 179 59.4 % 106 63 90.6 % 32 29
functional_tests 84.8 % 198 168 53.8 % 106 57 90.6 % 32 29
test_bitcoin 85.9 % 198 170 57.5 % 106 61 84.4 % 32 27
coding.cc
80.6%80.6%
80.6 % 108 87 59.4 % 32 19 92.9 % 14 13
functional_tests 80.6 % 108 87 59.4 % 32 19 92.9 % 14 13
test_bitcoin 80.6 % 108 87 59.4 % 32 19 92.9 % 14 13
coding.h
100.0%
100.0 % 40 40 87.5 % 8 7 100.0 % 3 3
functional_tests 100.0 % 40 40 87.5 % 8 7 100.0 % 3 3
test_bitcoin 100.0 % 40 40 87.5 % 8 7 100.0 % 3 3
comparator.cc
100.0%
100.0 % 30 30 68.8 % 32 22 85.7 % 7 6
functional_tests 100.0 % 30 30 68.8 % 32 22 85.7 % 7 6
test_bitcoin 100.0 % 30 30 68.8 % 32 22 85.7 % 7 6
crc32c.cc
20.0%20.0%
20.0 % 45 9 17.9 % 28 5 100.0 % 2 2
functional_tests 20.0 % 45 9 17.9 % 28 5 100.0 % 2 2
test_bitcoin 20.0 % 45 9 17.9 % 28 5 100.0 % 2 2
crc32c.h
100.0%
100.0 % 6 6 50.0 % 4 2 -
test_bitcoin 100.0 % 6 6 50.0 % 4 2 - 0 0
functional_tests 100.0 % 6 6 50.0 % 4 2 - 0 0
env.cc
85.7%85.7%
85.7 % 49 42 48.0 % 50 24 60.0 % 20 12
test_bitcoin 85.7 % 49 42 48.0 % 50 24 60.0 % 20 12
functional_tests 85.7 % 49 42 48.0 % 50 24 60.0 % 20 12
env_posix.cc
63.8%63.8%
63.8 % 401 256 35.2 % 270 95 73.8 % 65 48
test_bitcoin 62.6 % 401 251 33.7 % 270 91 70.8 % 65 46
functional_tests 63.8 % 401 256 35.2 % 270 95 73.8 % 65 48
filter_policy.cc
100.0%
100.0 % 1 1 - 50.0 % 2 1
test_bitcoin 100.0 % 1 1 - 0 0 50.0 % 2 1
functional_tests 100.0 % 1 1 - 0 0 50.0 % 2 1
hash.cc
100.0%
100.0 % 24 24 100.0 % 6 6 100.0 % 1 1
functional_tests 100.0 % 24 24 100.0 % 6 6 100.0 % 1 1
test_bitcoin 100.0 % 24 24 100.0 % 6 6 100.0 % 1 1
logging.cc
73.8%73.8%
73.8 % 42 31 60.0 % 20 12 60.0 % 5 3
test_bitcoin 40.5 % 42 17 30.0 % 20 6 20.0 % 5 1
functional_tests 73.8 % 42 31 60.0 % 20 12 60.0 % 5 3
mutexlock.h
100.0%
100.0 % 4 4 50.0 % 40 20 -
functional_tests 100.0 % 4 4 50.0 % 40 20 - 0 0
test_bitcoin 100.0 % 4 4 50.0 % 40 20 - 0 0
no_destructor.h
100.0%
100.0 % 3 3 - -
functional_tests 100.0 % 3 3 - 0 0 - 0 0
test_bitcoin 100.0 % 3 3 - 0 0 - 0 0
options.cc
100.0%
100.0 % 1 1 - 100.0 % 1 1
test_bitcoin 100.0 % 1 1 - 0 0 100.0 % 1 1
functional_tests 100.0 % 1 1 - 0 0 100.0 % 1 1
posix_logger.h
0.0%
0.0 % 44 0.0 % 44 0.0 % 4
random.h
83.3%83.3%
83.3 % 12 10 62.5 % 8 5 -
test_bitcoin 83.3 % 12 10 62.5 % 8 5 - 0 0
functional_tests 83.3 % 12 10 62.5 % 8 5 - 0 0
status.cc
73.1%73.1%
73.1 % 52 38 68.0 % 25 17 100.0 % 3 3
test_bitcoin 34.6 % 52 18 48.0 % 25 12 66.7 % 3 2
functional_tests 73.1 % 52 38 68.0 % 25 17 100.0 % 3 3

Generated by: LCOV version 2.0-1