Coverage Report

Created: 2023-12-13 20:05

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/873)
   0.00% (0/340)
   0.00% (0/200)
build/library/ssl_debug_helpers_generated.c
  16.67% (1/6)
  21.12% (34/161)
   5.10% (5/98)
   2.22% (2/90)
include/mbedtls/cipher.h
   0.00% (0/15)
   0.00% (0/103)
   0.00% (0/55)
   0.00% (0/12)
include/mbedtls/error.h
 100.00% (1/1)
  50.00% (5/10)
 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% (6/9)
  80.00% (4/5)
- (0/0)
include/mbedtls/psa_util.h
   0.00% (0/6)
   0.00% (0/204)
   0.00% (0/22)
   0.00% (0/18)
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)
  31.19% (34/109)
  43.14% (22/51)
  44.29% (31/70)
include/mbedtls/x509.h
   0.00% (0/1)
   0.00% (0/5)
   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/94)
   0.00% (0/40)
   0.00% (0/28)
include/psa/crypto_struct.h
   0.00% (0/20)
   0.00% (0/105)
   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)
  10.07% (92/914)
  11.13% (108/970)
   9.94% (31/312)
library/aesni.c
  50.00% (4/8)
  37.25% (95/255)
  34.38% (11/32)
  37.50% (6/16)
library/aria.c
   0.00% (0/15)
   0.00% (0/427)
   0.00% (0/449)
   0.00% (0/146)
library/asn1parse.c
  61.11% (11/18)
  76.89% (203/264)
  78.85% (179/227)
  78.33% (94/120)
library/asn1write.c
   0.00% (0/20)
   0.00% (0/292)
   0.00% (0/359)
   0.00% (0/140)
library/base64.c
  33.33% (1/3)
  39.47% (60/152)
  48.44% (62/128)
  45.24% (38/84)
library/bignum.c
  61.90% (39/63)
  47.60% (794/1668)
  40.88% (1008/2466)
  32.16% (328/1020)
library/camellia.c
   0.00% (0/10)
   0.00% (0/416)
   0.00% (0/401)
   0.00% (0/168)
library/ccm.c
   0.00% (0/19)
   0.00% (0/383)
   0.00% (0/318)
   0.00% (0/174)
library/chacha20.c
   0.00% (0/10)
   0.00% (0/182)
   0.00% (0/149)
   0.00% (0/38)
library/chachapoly.c
   0.00% (0/13)
   0.00% (0/233)
   0.00% (0/279)
   0.00% (0/80)
library/cipher.c
   6.67% (2/30)
   1.45% (12/825)
   1.38% (10/727)
   0.84% (3/356)
library/cipher_wrap.c
   0.00% (0/65)
   0.00% (0/313)
   0.00% (0/148)
   0.00% (0/40)
library/cmac.c
   0.00% (0/14)
   0.00% (0/499)
   0.00% (0/345)
   0.00% (0/198)
library/constant_time.c
  34.78% (8/23)
  23.68% (63/266)
  15.27% (31/203)
  10.29% (7/68)
library/ctr_drbg.c
  47.37% (9/19)
  47.81% (186/389)
  47.94% (186/388)
  31.40% (54/172)
library/debug.c
  66.67% (8/12)
  33.74% (83/246)
  34.59% (55/159)
  20.91% (23/110)
library/des.c
   0.00% (0/21)
   0.00% (0/441)
   0.00% (0/328)
   0.00% (0/166)
library/dhm.c
  30.00% (6/20)
  15.46% (60/388)
  10.59% (56/529)
   9.79% (19/194)
library/ecdh.c
  45.83% (11/24)
  34.67% (104/300)
  26.41% (75/284)
  19.32% (17/88)
library/ecdsa.c
  29.41% (5/17)
  14.80% (45/304)
  11.67% (56/480)
   3.62% (5/138)
library/ecp.c
  29.49% (23/78)
  17.97% (258/1436)
  14.59% (370/2536)
  11.48% (98/854)
library/ecp_curves.c
  45.45% (10/22)
  42.17% (167/396)
  37.86% (571/1508)
  32.56% (112/344)
library/entropy.c
  25.00% (3/12)
  13.23% (34/257)
   5.91% (11/186)
   2.17% (2/92)
library/entropy_poll.c
   0.00% (0/2)
   0.00% (0/34)
   0.00% (0/18)
   0.00% (0/8)
library/gcm.c
   0.00% (0/14)
   0.00% (0/589)
   0.00% (0/539)
   0.00% (0/236)
library/hmac_drbg.c
   0.00% (0/16)
   0.00% (0/284)
   0.00% (0/279)
   0.00% (0/156)
library/md.c
  36.36% (8/22)
  18.35% (102/556)
  20.57% (79/384)
  28.00% (84/300)
library/md5.c
   0.00% (0/9)
   0.00% (0/236)
   0.00% (0/444)
   0.00% (0/44)
library/nist_kw.c
   0.00% (0/8)
   0.00% (0/382)
   0.00% (0/317)
   0.00% (0/162)
library/oid.c
  57.14% (4/7)
  47.25% (43/91)
  34.94% (29/83)
  35.71% (15/42)
library/pem.c
  33.33% (3/9)
  16.67% (48/288)
  15.50% (42/271)
  11.25% (18/160)
library/pk.c
  30.00% (6/20)
  16.86% (43/255)
  15.93% (47/295)
  17.86% (20/112)
library/pk_wrap.c
  26.47% (9/34)
  18.73% (59/315)
  17.62% (40/227)
  13.33% (16/120)
library/pkcs12.c
   0.00% (0/5)
   0.00% (0/211)
   0.00% (0/184)
   0.00% (0/118)
library/pkcs5.c
   0.00% (0/4)
   0.00% (0/195)
   0.00% (0/180)
   0.00% (0/100)
library/pkparse.c
  36.84% (7/19)
  15.59% (133/853)
  17.26% (140/811)
  14.18% (59/416)
library/pkwrite.c
   0.00% (0/9)
   0.00% (0/266)
   0.00% (0/387)
   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)
  62.50% (5/8)
  85.71% (6/7)
  50.00% (1/2)
library/poly1305.c
   0.00% (0/10)
   0.00% (0/249)
   0.00% (0/148)
   0.00% (0/36)
library/psa_crypto.c
   0.00% (0/138)
   0.00% (0/3722)
   0.00% (0/5796)
   0.00% (0/2358)
library/psa_crypto_aead.c
   0.00% (0/12)
   0.00% (0/477)
   0.00% (0/359)
   0.00% (0/150)
library/psa_crypto_cipher.c
   0.00% (0/11)
   0.00% (0/384)
   0.00% (0/315)
   0.00% (0/160)
library/psa_crypto_client.c
   0.00% (0/3)
   0.00% (0/33)
   0.00% (0/23)
   0.00% (0/10)
library/psa_crypto_core.h
   0.00% (0/7)
   0.00% (0/28)
   0.00% (0/10)
   0.00% (0/2)
library/psa_crypto_ecp.c
   0.00% (0/7)
   0.00% (0/278)
   0.00% (0/280)
   0.00% (0/106)
library/psa_crypto_hash.c
   0.00% (0/7)
   0.00% (0/330)
   0.00% (0/247)
   0.00% (0/146)
library/psa_crypto_mac.c
   0.00% (0/15)
   0.00% (0/293)
   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/473)
   0.00% (0/332)
   0.00% (0/130)
library/psa_crypto_slot_management.c
   0.00% (0/14)
   0.00% (0/262)
   0.00% (0/227)
   0.00% (0/104)
library/psa_crypto_slot_management.h
   0.00% (0/3)
   0.00% (0/16)
   0.00% (0/16)
   0.00% (0/6)
library/psa_crypto_storage.c
   0.00% (0/12)
   0.00% (0/184)
   0.00% (0/196)
   0.00% (0/62)
library/psa_its_file.c
   0.00% (0/6)
   0.00% (0/123)
   0.00% (0/115)
   0.00% (0/46)
library/ripemd160.c
   0.00% (0/9)
   0.00% (0/297)
   0.00% (0/1329)
   0.00% (0/44)
library/rsa.c
  28.95% (11/38)
  17.80% (235/1320)
  14.36% (251/1748)
  10.52% (85/808)
library/rsa_alt_helpers.c
   0.00% (0/5)
   0.00% (0/261)
   0.00% (0/429)
   0.00% (0/214)
library/sha1.c
   0.00% (0/9)
   0.00% (0/304)
   0.00% (0/752)
   0.00% (0/54)
library/sha256.c
  70.00% (7/10)
  59.33% (159/268)
  83.03% (455/548)
  39.47% (30/76)
library/sha512.c
  70.00% (7/10)
  64.86% (179/276)
  80.00% (372/465)
  42.11% (32/76)
library/ssl_ciphersuites.c
  54.55% (6/11)
  57.72% (71/123)
  56.52% (39/69)
  59.46% (44/74)
library/ssl_client.c
 100.00% (8/8)
  80.78% (332/411)
  71.16% (264/371)
  46.38% (64/138)
library/ssl_misc.h
  62.50% (15/24)
  34.21% (104/304)
  61.88% (112/181)
  47.37% (54/114)
library/ssl_msg.c
  69.41% (59/85)
  43.80% (1361/3107)
  47.22% (1114/2359)
  37.45% (388/1036)
library/ssl_tls.c
  29.52% (49/166)
  21.69% (833/3841)
  21.35% (563/2637)
  18.13% (215/1186)
library/ssl_tls12_client.c
  83.87% (26/31)
  57.06% (1014/1777)
  57.71% (782/1355)
  49.80% (255/512)
library/ssl_tls12_server.c
   0.00% (0/37)
   0.00% (0/2137)
   0.00% (0/1626)
   0.00% (0/674)
library/timing.c
  75.00% (3/4)
  84.62% (33/39)
  77.78% (14/18)
  70.00% (7/10)
library/x509.c
  52.17% (12/23)
  44.23% (257/581)
  44.90% (317/706)
  40.16% (155/386)
library/x509_crt.c
  30.91% (17/55)
  38.01% (639/1681)
  27.57% (520/1886)
  27.59% (266/964)
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)
  77.63% (59/76)
  58.82% (20/34)
  44.44% (8/18)
tests/src/asn1_helpers.c
   0.00% (0/1)
   0.00% (0/33)
   0.00% (0/56)
   0.00% (0/30)
tests/src/drivers/platform_builtin_keys.c
   0.00% (0/1)
   0.00% (0/16)
   0.00% (0/10)
   0.00% (0/4)
tests/src/helpers.c
   0.00% (0/16)
   0.00% (0/184)
   0.00% (0/122)
   0.00% (0/60)
tests/src/psa_crypto_helpers.c
   0.00% (0/5)
   0.00% (0/52)
   0.00% (0/55)
   0.00% (0/26)
tests/src/psa_exercise_key.c
   0.00% (0/18)
   0.00% (0/721)
   0.00% (0/1841)
   0.00% (0/650)
tests/src/random.c
   0.00% (0/4)
   0.00% (0/69)
   0.00% (0/37)
   0.00% (0/24)
Totals
  24.36% (420/1724)
  19.12% (8102/42376)
  17.52% (8054/45958)
  14.71% (2697/18338)

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/psa/crypto_builtin_composites.h
include/psa/crypto_builtin_primitives.h
include/psa/crypto_sizes.h
library/aesni.h
library/bn_mul.h
library/common.h
library/entropy_poll.h
library/psa_crypto_its.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