Coverage Report

Created: 2023-09-28 22:20

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
  26.67% (4/15)
  18.49% (22/119)
  47.27% (26/55)
  33.33% (4/12)
include/mbedtls/error.h
 100.00% (1/1)
  45.45% (5/11)
 100.00% (1/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
 100.00% (3/3)
  80.95% (17/21)
  81.82% (9/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
  33.33% (3/9)
  30.69% (31/101)
  43.14% (22/51)
  44.29% (31/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
  33.33% (7/21)
  15.60% (132/846)
  13.55% (116/856)
  15.62% (50/320)
library/aesni.c
  87.50% (7/8)
  83.86% (213/254)
  84.38% (27/32)
  87.50% (14/16)
library/alignment.h
 100.00% (6/6)
 100.00% (24/24)
 100.00% (6/6)
- (0/0)
library/aria.c
  78.57% (11/14)
  53.48% (223/417)
  44.47% (229/515)
  23.24% (33/142)
library/asn1parse.c
  68.42% (13/19)
  80.14% (234/292)
  79.49% (186/234)
  79.51% (97/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
  72.41% (42/58)
  55.02% (817/1485)
  54.32% (1219/2244)
  40.02% (369/922)
library/bignum_core.c
  58.06% (18/31)
  56.97% (233/409)
  57.96% (182/314)
  50.00% (69/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
  50.00% (5/10)
  30.08% (120/399)
  36.08% (127/352)
  23.86% (42/176)
library/ccm.c
  84.21% (16/19)
  59.95% (223/372)
  62.62% (191/305)
  48.80% (81/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
  53.33% (16/30)
  34.48% (270/783)
  39.48% (229/580)
  32.50% (117/360)
library/cipher_wrap.c
  36.92% (24/65)
  31.91% (105/329)
  29.73% (44/148)
  12.50% (5/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)
  66.67% (12/18)
  53.85% (7/13)
  50.00% (4/8)
library/constant_time.c
  66.67% (16/24)
  56.12% (156/278)
  56.73% (118/208)
  45.71% (32/70)
library/ctr_drbg.c
  47.37% (9/19)
  46.87% (187/399)
  47.55% (184/387)
  31.76% (54/170)
library/debug.c
  66.67% (8/12)
  36.56% (83/227)
  35.85% (57/159)
  23.64% (26/110)
library/des.c
   0.00% (0/21)
   0.00% (0/432)
   0.00% (0/346)
   0.00% (0/158)
library/dhm.c
  30.00% (6/20)
  15.61% (59/378)
   9.15% (40/437)
   9.79% (19/194)
library/ecdh.c
  79.17% (19/24)
  59.64% (167/280)
  55.23% (95/172)
  38.30% (36/94)
library/ecdsa.c
  29.41% (5/17)
  14.98% (40/267)
   7.10% (24/338)
   5.07% (7/138)
library/ecp.c
  63.75% (51/80)
  52.58% (744/1415)
  50.33% (1158/2301)
  35.91% (321/894)
library/ecp_curves.c
  50.00% (11/22)
  42.57% (172/404)
  37.01% (530/1432)
  32.39% (103/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
  92.86% (13/14)
  35.36% (204/577)
  41.46% (182/439)
  27.43% (62/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
  63.64% (14/22)
  37.39% (218/583)
  49.21% (188/382)
  48.66% (145/298)
library/md5.c
  66.67% (6/9)
  69.83% (169/242)
  82.06% (430/524)
  25.00% (11/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)
  34.94% (29/83)
  35.71% (15/42)
library/pem.c
  33.33% (3/9)
  16.41% (54/329)
  15.50% (42/271)
  11.25% (18/160)
library/pk.c
  50.00% (10/20)
  30.08% (80/266)
  33.04% (75/227)
  29.23% (38/130)
library/pk_wrap.c
  32.35% (11/34)
  22.59% (75/332)
  19.38% (44/227)
  15.00% (18/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
  36.84% (7/19)
  16.10% (138/857)
  16.49% (124/752)
  14.18% (59/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)
 100.00% (2/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
  37.50% (15/40)
  25.52% (331/1297)
  19.60% (303/1546)
  16.27% (137/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
  77.78% (7/9)
  73.24% (219/299)
  89.92% (705/784)
  33.33% (18/54)
library/sha256.c
  66.67% (8/12)
  62.59% (174/278)
  82.52% (425/515)
  44.19% (38/86)
library/sha512.c
  66.67% (8/12)
  62.72% (175/279)
  76.92% (300/390)
  44.19% (38/86)
library/ssl_ciphersuites.c
  54.55% (6/11)
  52.54% (62/118)
  55.88% (38/68)
  48.61% (35/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
  65.38% (17/26)
  40.96% (136/332)
  65.83% (131/199)
  53.12% (68/128)
library/ssl_msg.c
  77.53% (69/89)
  62.60% (1933/3088)
  59.39% (1480/2492)
  50.37% (541/1074)
library/ssl_tls.c
  38.89% (70/180)
  32.45% (1313/4046)
  27.72% (826/2980)
  22.61% (308/1362)
library/ssl_tls12_client.c
  96.77% (30/31)
  66.35% (1106/1667)
  64.42% (938/1456)
  57.58% (304/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
  52.17% (12/23)
  43.30% (278/642)
  44.70% (316/707)
  39.90% (154/386)
library/x509_crt.c
  30.91% (17/55)
  34.15% (559/1637)
  25.12% (471/1875)
  24.74% (236/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
  35.90% (658/1833)
  28.29% (12194/43101)
  26.84% (12321/45905)
  20.82% (3929/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