Coverage Report

Created: 2023-09-29 17:40

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
build/library/psa_crypto_driver_wrappers.c
   0.00% (0/49)
   0.00% (0/896)
   0.00% (0/339)
   0.00% (0/200)
build/library/ssl_debug_helpers_generated.c
  33.33% (2/6)
  36.20% (59/163)
  24.49% (24/98)
  32.22% (29/90)
include/mbedtls/cipher.h
   0.00% (0/15)
   0.00% (0/119)
   0.00% (0/55)
   0.00% (0/12)
include/mbedtls/error.h
   0.00% (0/1)
   0.00% (0/11)
   0.00% (0/1)
- (0/0)
include/mbedtls/pem.h
   0.00% (0/1)
   0.00% (0/4)
   0.00% (0/1)
- (0/0)
include/mbedtls/pk.h
  66.67% (2/3)
  66.67% (14/21)
  72.73% (8/11)
  50.00% (6/12)
include/mbedtls/psa_util.h
   0.00% (0/5)
   0.00% (0/189)
   0.00% (0/5)
- (0/0)
include/mbedtls/ssl.h
   6.67% (1/15)
   6.67% (3/45)
  12.50% (2/16)
- (0/0)
include/mbedtls/ssl_ciphersuites.h
  22.22% (2/9)
  14.85% (15/101)
  17.65% (9/51)
  17.14% (12/70)
include/mbedtls/x509.h
   0.00% (0/1)
   0.00% (0/6)
   0.00% (0/1)
- (0/0)
include/mbedtls/x509_crt.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
include/psa/crypto_compat.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
include/psa/crypto_extra.h
   0.00% (0/13)
   0.00% (0/95)
   0.00% (0/40)
   0.00% (0/28)
include/psa/crypto_struct.h
   0.00% (0/20)
   0.00% (0/103)
   0.00% (0/57)
   0.00% (0/8)
include/psa/crypto_values.h
   0.00% (0/3)
   0.00% (0/11)
   0.00% (0/3)
- (0/0)
library/aes.c
  23.81% (5/21)
   9.57% (81/846)
   9.46% (81/856)
  10.00% (32/320)
library/aesni.c
  50.00% (4/8)
  36.61% (93/254)
  34.38% (11/32)
  37.50% (6/16)
library/alignment.h
 100.00% (6/6)
 100.00% (24/24)
 100.00% (6/6)
- (0/0)
library/aria.c
   0.00% (0/14)
   0.00% (0/417)
   0.00% (0/515)
   0.00% (0/142)
library/asn1parse.c
  47.37% (9/19)
  34.25% (100/292)
  36.75% (86/234)
  34.43% (42/122)
library/asn1write.c
   0.00% (0/20)
   0.00% (0/294)
   0.00% (0/360)
   0.00% (0/140)
library/base64.c
  33.33% (1/3)
  38.85% (61/157)
  48.44% (62/128)
  45.24% (38/84)
library/bignum.c
  58.62% (34/58)
  39.66% (589/1485)
  34.76% (780/2244)
  24.30% (224/922)
library/bignum_core.c
  45.16% (14/31)
  43.03% (176/409)
  39.49% (124/314)
  36.96% (51/138)
library/bignum_core.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
library/bignum_mod.c
   0.00% (0/15)
   0.00% (0/232)
   0.00% (0/164)
   0.00% (0/102)
library/bignum_mod_raw.c
   0.00% (0/15)
   0.00% (0/122)
   0.00% (0/59)
   0.00% (0/34)
library/camellia.c
   0.00% (0/10)
   0.00% (0/399)
   0.00% (0/352)
   0.00% (0/176)
library/ccm.c
   0.00% (0/19)
   0.00% (0/372)
   0.00% (0/305)
   0.00% (0/166)
library/chacha20.c
   0.00% (0/10)
   0.00% (0/156)
   0.00% (0/150)
   0.00% (0/34)
library/chachapoly.c
   0.00% (0/13)
   0.00% (0/217)
   0.00% (0/175)
   0.00% (0/80)
library/cipher.c
   6.67% (2/30)
   1.40% (11/783)
   1.03% (6/580)
   0.83% (3/360)
library/cipher_wrap.c
   0.00% (0/65)
   0.00% (0/329)
   0.00% (0/148)
   0.00% (0/40)
library/cmac.c
   0.00% (0/13)
   0.00% (0/482)
   0.00% (0/341)
   0.00% (0/196)
library/common.h
  33.33% (1/3)
  55.56% (10/18)
  38.46% (5/13)
  37.50% (3/8)
library/constant_time.c
  33.33% (8/24)
  21.58% (60/278)
  13.94% (29/208)
   8.57% (6/70)
library/ctr_drbg.c
  47.37% (9/19)
  46.87% (187/399)
  47.03% (182/387)
  30.59% (52/170)
library/debug.c
  58.33% (7/12)
  28.19% (64/227)
  28.93% (46/159)
  18.18% (20/110)
library/des.c
   0.00% (0/21)
   0.00% (0/432)
   0.00% (0/346)
   0.00% (0/158)
library/dhm.c
  10.00% (2/20)
   4.50% (17/378)
   0.92% (4/437)
   0.52% (1/194)
library/ecdh.c
  33.33% (8/24)
  24.29% (68/280)
  15.12% (26/172)
  11.70% (11/94)
library/ecdsa.c
   0.00% (0/17)
   0.00% (0/267)
   0.00% (0/338)
   0.00% (0/138)
library/ecp.c
  25.00% (20/80)
  13.29% (188/1415)
   8.91% (205/2301)
   7.16% (64/894)
library/ecp_curves.c
  36.36% (8/22)
  22.77% (92/404)
  30.24% (433/1432)
  21.07% (67/318)
library/entropy.c
  25.00% (3/12)
  12.50% (34/272)
   5.85% (11/188)
   2.17% (2/92)
library/entropy_poll.c
   0.00% (0/2)
   0.00% (0/34)
   0.00% (0/19)
   0.00% (0/8)
library/gcm.c
   0.00% (0/14)
   0.00% (0/577)
   0.00% (0/439)
   0.00% (0/226)
library/hash_info.c
  20.00% (1/5)
  17.39% (8/46)
  14.71% (5/34)
  11.54% (3/26)
library/hmac_drbg.c
   0.00% (0/16)
   0.00% (0/305)
   0.00% (0/281)
   0.00% (0/156)
library/md.c
  36.36% (8/22)
  10.98% (64/583)
  13.87% (53/382)
  21.48% (64/298)
library/md5.c
   0.00% (0/9)
   0.00% (0/242)
   0.00% (0/524)
   0.00% (0/44)
library/nist_kw.c
   0.00% (0/8)
   0.00% (0/363)
   0.00% (0/322)
   0.00% (0/162)
library/oid.c
  57.14% (4/7)
  47.62% (40/84)
  32.53% (27/83)
  33.33% (14/42)
library/pem.c
  33.33% (3/9)
  16.41% (54/329)
  15.50% (42/271)
  11.25% (18/160)
library/pk.c
  35.00% (7/20)
  16.17% (43/266)
  17.62% (40/227)
  16.92% (22/130)
library/pk_wrap.c
  17.65% (6/34)
  11.75% (39/332)
  10.13% (23/227)
   5.00% (6/120)
library/pkcs12.c
   0.00% (0/6)
   0.00% (0/238)
   0.00% (0/188)
   0.00% (0/120)
library/pkcs5.c
   0.00% (0/6)
   0.00% (0/192)
   0.00% (0/155)
   0.00% (0/82)
library/pkparse.c
  26.32% (5/19)
   9.22% (79/857)
  11.17% (84/752)
   8.17% (34/416)
library/pkwrite.c
   0.00% (0/9)
   0.00% (0/262)
   0.00% (0/341)
   0.00% (0/140)
library/platform.c
  33.33% (1/3)
  36.36% (4/11)
  33.33% (1/3)
- (0/0)
library/platform_util.c
  50.00% (1/2)
  66.67% (6/9)
  85.71% (6/7)
  50.00% (1/2)
library/poly1305.c
   0.00% (0/10)
   0.00% (0/236)
   0.00% (0/168)
   0.00% (0/36)
library/psa_crypto.c
   0.00% (0/141)
   0.00% (0/3764)
   0.00% (0/5930)
   0.00% (0/2376)
library/psa_crypto_aead.c
   0.00% (0/12)
   0.00% (0/446)
   0.00% (0/286)
   0.00% (0/120)
library/psa_crypto_cipher.c
   0.00% (0/11)
   0.00% (0/394)
   0.00% (0/315)
   0.00% (0/160)
library/psa_crypto_client.c
   0.00% (0/3)
   0.00% (0/34)
   0.00% (0/23)
   0.00% (0/10)
library/psa_crypto_core.h
   0.00% (0/7)
   0.00% (0/29)
   0.00% (0/10)
   0.00% (0/2)
library/psa_crypto_ecp.c
   0.00% (0/8)
   0.00% (0/340)
   0.00% (0/329)
   0.00% (0/124)
library/psa_crypto_hash.c
   0.00% (0/6)
   0.00% (0/295)
   0.00% (0/231)
   0.00% (0/130)
library/psa_crypto_mac.c
   0.00% (0/15)
   0.00% (0/300)
   0.00% (0/509)
   0.00% (0/170)
library/psa_crypto_random_impl.h
   0.00% (0/3)
   0.00% (0/30)
   0.00% (0/4)
- (0/0)
library/psa_crypto_rsa.c
   0.00% (0/14)
   0.00% (0/457)
   0.00% (0/332)
   0.00% (0/130)
library/psa_crypto_slot_management.c
   0.00% (0/14)
   0.00% (0/261)
   0.00% (0/227)
   0.00% (0/104)
library/psa_crypto_slot_management.h
   0.00% (0/3)
   0.00% (0/17)
   0.00% (0/16)
   0.00% (0/6)
library/psa_crypto_storage.c
   0.00% (0/12)
   0.00% (0/198)
   0.00% (0/240)
   0.00% (0/62)
library/psa_its_file.c
   0.00% (0/6)
   0.00% (0/139)
   0.00% (0/117)
   0.00% (0/46)
library/ripemd160.c
   0.00% (0/9)
   0.00% (0/306)
   0.00% (0/1409)
   0.00% (0/44)
library/rsa.c
  27.50% (11/40)
  15.11% (196/1297)
  12.42% (192/1546)
   8.91% (75/842)
library/rsa_alt_helpers.c
   0.00% (0/5)
   0.00% (0/234)
   0.00% (0/429)
   0.00% (0/214)
library/sha1.c
   0.00% (0/9)
   0.00% (0/299)
   0.00% (0/784)
   0.00% (0/54)
library/sha256.c
  50.00% (6/12)
  44.24% (123/278)
  71.46% (368/515)
  30.23% (26/86)
library/sha512.c
  58.33% (7/12)
  59.50% (166/279)
  75.38% (294/390)
  37.21% (32/86)
library/ssl_ciphersuites.c
  45.45% (5/11)
  47.46% (56/118)
  51.47% (35/68)
  47.22% (34/72)
library/ssl_client.c
 100.00% (8/8)
  80.05% (325/406)
  68.30% (278/407)
  46.48% (66/142)
library/ssl_misc.h
  61.54% (16/26)
  32.23% (107/332)
  55.28% (110/199)
  40.62% (52/128)
library/ssl_msg.c
  57.30% (51/89)
  28.69% (886/3088)
  31.18% (777/2492)
  21.88% (235/1074)
library/ssl_tls.c
  28.33% (51/180)
  17.97% (727/4046)
  16.61% (495/2980)
  13.07% (178/1362)
library/ssl_tls12_client.c
  54.84% (17/31)
  29.27% (488/1667)
  27.68% (403/1456)
  26.33% (139/528)
library/ssl_tls12_server.c
   0.00% (0/39)
   0.00% (0/2088)
   0.00% (0/1763)
   0.00% (0/692)
library/timing.c
  75.00% (3/4)
  77.50% (31/40)
  77.78% (14/18)
  70.00% (7/10)
library/x509.c
  47.83% (11/23)
  28.19% (181/642)
  31.12% (220/707)
  21.50% (83/386)
library/x509_crt.c
  20.00% (11/55)
  15.88% (260/1637)
  12.64% (237/1875)
  10.90% (104/954)
programs/fuzz/common.c
 100.00% (7/7)
  89.47% (51/57)
  88.89% (24/27)
  78.57% (11/14)
programs/fuzz/fuzz_dtlsclient.c
 100.00% (1/1)
  74.68% (59/79)
  58.82% (20/34)
  44.44% (8/18)
tests/src/asn1_helpers.c
   0.00% (0/1)
   0.00% (0/33)
   0.00% (0/57)
   0.00% (0/30)
tests/src/bignum_helpers.c
   0.00% (0/4)
   0.00% (0/76)
   0.00% (0/63)
   0.00% (0/30)
tests/src/drivers/platform_builtin_keys.c
   0.00% (0/1)
   0.00% (0/14)
   0.00% (0/10)
   0.00% (0/4)
tests/src/helpers.c
   0.00% (0/15)
   0.00% (0/188)
   0.00% (0/118)
   0.00% (0/58)
tests/src/psa_crypto_helpers.c
   0.00% (0/5)
   0.00% (0/61)
   0.00% (0/55)
   0.00% (0/26)
tests/src/psa_exercise_key.c
   0.00% (0/18)
   0.00% (0/683)
   0.00% (0/1849)
   0.00% (0/650)
tests/src/random.c
   0.00% (0/4)
   0.00% (0/70)
   0.00% (0/37)
   0.00% (0/24)
Totals
  21.22% (389/1833)
  13.78% (5939/43101)
  12.83% (5888/45905)
   9.97% (1881/18874)

Files which contain no functions. (These files contain code pulled into other files by the preprocessor.)

include/mbedtls/aes.h
include/mbedtls/aria.h
include/mbedtls/asn1.h
include/mbedtls/asn1write.h
include/mbedtls/base64.h
include/mbedtls/bignum.h
include/mbedtls/camellia.h
include/mbedtls/ccm.h
include/mbedtls/chacha20.h
include/mbedtls/chachapoly.h
include/mbedtls/cmac.h
include/mbedtls/ctr_drbg.h
include/mbedtls/debug.h
include/mbedtls/des.h
include/mbedtls/dhm.h
include/mbedtls/ecp.h
include/mbedtls/entropy.h
include/mbedtls/gcm.h
include/mbedtls/hmac_drbg.h
include/mbedtls/md.h
include/mbedtls/oid.h
include/mbedtls/pkcs12.h
include/mbedtls/pkcs5.h
include/mbedtls/platform.h
include/mbedtls/platform_util.h
include/mbedtls/private_access.h
include/mbedtls/rsa.h
include/mbedtls/sha256.h
include/mbedtls/sha512.h
include/psa/crypto_builtin_composites.h
include/psa/crypto_builtin_primitives.h
include/psa/crypto_sizes.h
library/aesni.h
library/bn_mul.h
library/entropy_poll.h
library/psa_crypto_storage.h
tests/include/test/macros.h
tests/include/test/psa_exercise_key.h
tests/include/test/psa_helpers.h
Generated by llvm-cov -- llvm version 15.0.0git