LCOV - code coverage report
Current view: top level Coverage Total Hit
Test: coverage.info Lines: 75.5 % 91925 69384
Test Date: 2025-09-14 08:11:04 Functions: 77.4 % 3275 2536

Directory Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
os_stub/platform_lib_null
0.0%
0.0 % 6 0.0 % 3
unit_test/test_spdm_secured_message
0.9%0.9%
0.9 % 334 3 5.6 % 18 1
os_stub/cryptlib_mbedtls/hmac
4.9%4.9%
4.9 % 246 12 6.9 % 58 4
os_stub/cryptlib_mbedtls/kdf
20.4%20.4%
20.4 % 162 33 16.7 % 24 4
os_stub/platform_lib
50.0%50.0%
50.0 % 12 6 25.0 % 4 1
os_stub/cryptlib_mbedtls/hash
21.2%21.2%
21.2 % 312 66 26.2 % 42 11
unit_test/cmockalib/cmocka/src
21.1%21.1%
21.1 % 1461 308 32.8 % 134 44
os_stub/cryptlib_mbedtls/pem
60.9%60.9%
60.9 % 87 53 40.0 % 5 2
os_stub/debuglib
57.1%57.1%
57.1 % 14 8 50.0 % 2 1
os_stub/mbedtlslib/mbedtls/library
43.2%43.2%
43.2 % 10765 4651 56.5 % 794 449
os_stub/cryptlib_mbedtls/sys_call
70.8%70.8%
70.8 % 24 17 60.0 % 5 3
library/spdm_secured_message_lib
65.1%65.1%
65.1 % 931 606 61.1 % 54 33
os_stub/cryptlib_mbedtls/pk
46.8%46.8%
46.8 % 1644 769 65.7 % 70 46
library/spdm_crypt_lib
41.3%41.3%
41.3 % 2194 906 65.9 % 126 83
os_stub/mbedtlslib/mbedtls/include/mbedtls
58.3%58.3%
58.3 % 36 21 70.0 % 10 7
os_stub/spdm_device_secret_lib_sample
32.7%32.7%
32.7 % 3076 1005 72.3 % 65 47
os_stub/spdm_crypt_ext_lib
24.8%24.8%
24.8 % 129 32 80.0 % 10 8
library/spdm_common_lib
55.2%55.2%
55.2 % 2596 1432 83.3 % 150 125
library/spdm_responder_lib
74.1%74.1%
74.1 % 4411 3268 86.0 % 86 74
unit_test/test_spdm_responder/error_test
97.8%97.8%
97.8 % 1052 1029 93.2 % 44 41
library/spdm_requester_lib
77.1%77.1%
77.1 % 5883 4537 93.2 % 103 96
unit_test/test_spdm_requester/error_test
81.9%81.9%
81.9 % 10913 8935 98.2 % 282 277
unit_test/test_spdm_requester
87.4%87.4%
87.4 % 27468 24005 99.0 % 587 581
unit_test/test_spdm_responder
99.4%99.4%
99.4 % 15823 15722 99.8 % 488 487
os_stub/rnglib
58.3%58.3%
58.3 % 12 7 100.0 % 1 1
include/internal
100.0%
100.0 % 11 11 100.0 % 2 2
os_stub/cryptlib_mbedtls/cipher
74.2%74.2%
74.2 % 66 49 100.0 % 2 2
os_stub/cryptlib_mbedtls/der
57.4%57.4%
57.4 % 47 27 100.0 % 2 2
os_stub/cryptlib_mbedtls/rand
94.4%94.4%
94.4 % 18 17 100.0 % 2 2
os_stub/malloclib
90.9%90.9%
90.9 % 11 10 100.0 % 3 3
os_stub/memlib
90.0%90.0%
90.0 % 30 27 100.0 % 4 4
unit_test/test_spdm_fips
94.7%94.7%
94.7 % 19 18 100.0 % 5 5
unit_test/spdm_transport_test_lib
75.4%75.4%
75.4 % 142 107 100.0 % 7 7
unit_test/test_spdm_crypt
98.4%98.4%
98.4 % 443 436 100.0 % 16 16
unit_test/spdm_unit_test_common
91.2%91.2%
91.2 % 204 186 100.0 % 17 17
library/spdm_crypt_lib/fips
59.9%59.9%
59.9 % 629 377 100.0 % 19 19
unit_test/test_spdm_common
96.4%96.4%
96.4 % 714 688 100.0 % 31 31

Generated by: LCOV version 2.0-1