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
 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
  66.67% (2/3)
  66.67% (14/21)
  72.73% (8/11)
  66.67% (8/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
  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
  73.68% (14/19)
  84.59% (247/292)
  86.32% (202/234)
  85.25% (104/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
  63.79% (37/58)
  44.58% (662/1485)
  39.57% (888/2244)
  30.04% (277/922)
library/bignum_core.c
  48.39% (15/31)
  47.43% (194/409)
  46.50% (146/314)
  43.48% (60/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)
  22.30% (62/278)
  14.90% (31/208)
  10.00% (7/70)
library/ctr_drbg.c
  47.37% (9/19)
  46.87% (187/399)
  47.03% (182/387)
  30.59% (52/170)
library/debug.c
  66.67% (8/12)
  33.04% (75/227)
  34.59% (55/159)
  20.91% (23/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
  45.83% (11/24)
  32.86% (92/280)
  25.00% (43/172)
  20.21% (19/94)
library/ecdsa.c
   0.00% (0/17)
   0.00% (0/267)
   0.00% (0/338)
   0.00% (0/138)
library/ecp.c
  28.75% (23/80)
  19.08% (270/1415)
  14.69% (338/2301)
  12.98% (116/894)
library/ecp_curves.c
  77.27% (17/22)
  66.34% (268/404)
  65.99% (945/1432)
  51.57% (164/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)
  24.87% (145/583)
  30.89% (118/382)
  35.23% (105/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
  35.00% (7/20)
  17.67% (47/266)
  18.50% (42/227)
  19.23% (25/130)
library/pk_wrap.c
  20.59% (7/34)
  13.86% (46/332)
  13.66% (31/227)
  12.50% (15/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)
  17.27% (148/857)
  18.22% (137/752)
  15.87% (66/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)
  16.27% (211/1297)
  13.26% (205/1546)
  10.33% (87/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
  66.67% (6/9)
  68.23% (204/299)
  88.78% (696/784)
  20.37% (11/54)
library/sha256.c
  58.33% (7/12)
  59.35% (165/278)
  81.36% (419/515)
  40.70% (35/86)
library/sha512.c
  58.33% (7/12)
  59.50% (166/279)
  75.38% (294/390)
  40.70% (35/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
  65.38% (17/26)
  37.65% (125/332)
  62.81% (125/199)
  50.78% (65/128)
library/ssl_msg.c
  67.42% (60/89)
  43.17% (1333/3088)
  45.79% (1141/2492)
  36.59% (393/1074)
library/ssl_tls.c
  28.89% (52/180)
  20.02% (810/4046)
  19.09% (569/2980)
  15.42% (210/1362)
library/ssl_tls12_client.c
  83.87% (26/31)
  52.79% (880/1667)
  52.34% (762/1456)
  46.21% (244/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
  56.52% (13/23)
  56.23% (361/642)
  57.71% (408/707)
  51.81% (200/386)
library/x509_crt.c
  30.91% (17/55)
  36.47% (597/1637)
  27.04% (507/1875)
  26.94% (257/954)
programs/fuzz/common.c
 100.00% (7/7)
  89.47% (51/57)
  88.89% (24/27)
  71.43% (10/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
  25.31% (464/1833)
  19.91% (8583/43101)
  20.58% (9447/45905)
  15.44% (2914/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