OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 1
...10
McCabe - Cyclomatic Complexity: 1
...20
McCabe - Cyclomatic Complexity: 1
...30
McCabe - Cyclomatic Complexity: 2
...40
McCabe - Cyclomatic Complexity: 3
...42
McCabe - Cyclomatic Complexity: 4
43
McCabe - Cyclomatic Complexity: 4
44
McCabe - Cyclomatic Complexity: 4
45
McCabe - Cyclomatic Complexity: 4
4647
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 6
49
McCabe - Cyclomatic Complexity: 6
50
McCabe - Cyclomatic Complexity: 7
...60
McCabe - Cyclomatic Complexity: 41
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
OCSP_resp_find
Name: OCSP_resp_find
Prototype: int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_cl.c
Lines: 236-256
  0.000% (0/14)
145
OPENSSL_gmtime_adj
Name: OPENSSL_gmtime_adj
Prototype: int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/o_time.c
Lines: 76-132
 40.000% (6/15)
305
OPENSSL_init_crypto
Name: OPENSSL_init_crypto
Prototype: int OPENSSL_init_crypto(uint64_t opts, const void *settings)
Coverage:  52.941% (9/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/crypto_init.c
Lines: 43-63
 52.941% (9/17)
155
OPENSSL_uni2asc
Name: OPENSSL_uni2asc
Prototype: char * OPENSSL_uni2asc(const unsigned char *uni, int unilen)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_utl.c
Lines: 102-125
  0.000% (0/15)
255
PKCS12_get_attr_gen
Name: PKCS12_get_attr_gen
Prototype: ASN1_TYPE * PKCS12_get_attr_gen(const struct stack_st_X509_ATTRIBUTE *attrs, int attr_nid)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_attr.c
Lines: 120-138
  0.000% (0/13)
235
PKCS12_pack_p7data
Name: PKCS12_pack_p7data
Prototype: PKCS7 * PKCS12_pack_p7data(struct stack_st_PKCS12_SAFEBAG *sk)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_add.c
Lines: 141-165
  0.000% (0/11)
225
PKCS12_set_mac
Name: PKCS12_set_mac
Prototype: int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_mutl.c
Lines: 143-166
  0.000% (0/13)
155
PKCS7_add_recipient_info
Name: PKCS7_add_recipient_info
Prototype: int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 500-522
 40.000% (4/10)
135
PKCS7_find_digest
Name: PKCS7_find_digest
Prototype: static BIO * PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 629-648
 36.364% (4/11)
295
PKCS7_get_issuer_and_serial
Name: PKCS7_get_issuer_and_serial
Prototype: PKCS7_ISSUER_AND_SERIAL * PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1082-1102
  0.000% (0/13)
365
PKCS7_set_attributes
Name: PKCS7_set_attributes
Prototype: int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1171-1189
  0.000% (0/13)
195
PKCS7_set_cipher
Name: PKCS7_set_cipher
Prototype: int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 581-609
 40.000% (4/10)
165
PKCS7_set_signed_attributes
Name: PKCS7_set_signed_attributes
Prototype: int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1150-1169
  0.000% (0/13)
195
PKCS7_to_TS_TST_INFO
Name: PKCS7_to_TS_TST_INFO
Prototype: TS_TST_INFO * PKCS7_to_TS_TST_INFO(PKCS7 *token)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_asn1.c
Lines: 850-890
  0.000% (0/13)
475
PKCS8_pkey_set0
Name: PKCS8_pkey_set0
Prototype: int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, int version, int ptype, void *pval, unsigned char *penc, int penclen)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 141-154
 53.846% (7/13)
105
RSA_X931_hash_id
Name: RSA_X931_hash_id
Prototype: int RSA_X931_hash_id(int nid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_x931.c
Lines: 149-164
  0.000% (0/9)
65
RSA_set0_crt_params
Name: RSA_set0_crt_params
Prototype: int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_lib.c
Lines: 300-322
  0.000% (0/23)
445
RSA_set0_key
Name: RSA_set0_key
Prototype: int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_lib.c
Lines: 266-286
  0.000% (0/19)
345
SSL_CTX_free
Name: SSL_CTX_free
Prototype: void SSL_CTX_free(SSL_CTX *ctx)
Coverage:  76.923% (10/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1935-1988
 76.923% (10/13)
295
SSL_SESSION_list_remove
Name: SSL_SESSION_list_remove
Prototype: static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_sess.c
Lines: 1017-1047
  0.000% (0/16)
365
SSL_check_private_key
Name: SSL_check_private_key
Prototype: int SSL_check_private_key(const SSL *ssl)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 901-922
  0.000% (0/13)
225
SSL_rstate_string
Name: SSL_rstate_string
Prototype: const char * SSL_rstate_string(const SSL *s)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_stat.c
Lines: 781-801
  0.000% (0/9)
115
SSL_rstate_string_long
Name: SSL_rstate_string_long
Prototype: const char * SSL_rstate_string_long(const SSL *s)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_stat.c
Lines: 323-343
  0.000% (0/9)
115
SSL_select_next_proto
Name: SSL_select_next_proto
Prototype: int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, const unsigned char *server, unsigned int server_len, const unsigned char *client, unsigned int client_len)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1563-1601
 92.308% (12/13)
205
SSL_set_SSL_CTX
Name: SSL_set_SSL_CTX
Prototype: SSL_CTX * SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 2819-2840
  0.000% (0/13)
195
SSL_set_bio
Name: SSL_set_bio
Prototype: void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
Coverage:  53.333% (8/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 574-591
 53.333% (8/15)
165
TS_CONF_set_clock_precision_digits
Name: TS_CONF_set_clock_precision_digits
Prototype: int TS_CONF_set_clock_precision_digits(CONF *conf, const char *section, TS_RESP_CTX *ctx)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_conf.c
Lines: 469-492
  0.000% (0/13)
125
TS_RESP_CTX_add_policy
Name: TS_RESP_CTX_add_policy
Prototype: int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_sign.c
Lines: 240-259
  0.000% (0/13)
155
TS_RESP_CTX_set_accuracy
Name: TS_RESP_CTX_set_accuracy
Prototype: int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx, int secs, int millis, int micros)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_sign.c
Lines: 286-306
  0.000% (0/23)
385
TS_RESP_CTX_set_certs
Name: TS_RESP_CTX_set_certs
Prototype: int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, struct stack_st_X509 *certs)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_sign.c
Lines: 217-238
  0.000% (0/13)
175
TS_check_signer_name
Name: TS_check_signer_name
Prototype: static int TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 702-732
  0.000% (0/17)
365
TS_find_cert
Name: TS_find_cert
Prototype: static int TS_find_cert(struct stack_st_ESS_CERT_ID *cert_ids, X509 *cert)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 322-349
  0.000% (0/19)
135
TS_get_status_text
Name: TS_get_status_text
Prototype: static char * TS_get_status_text(struct stack_st_ASN1_UTF8STRING *text)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 553-580
  0.000% (0/13)
255
TS_verify_cert
Name: TS_verify_cert
Prototype: static int TS_verify_cert(X509_STORE *store, struct stack_st_X509 *untrusted, X509 *signer, struct stack_st_X509 **chain)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 232-267
  0.000% (0/12)
255
UI_get0_action_string
Name: UI_get0_action_string
Prototype: const char * UI_get0_action_string(UI_STRING *uis)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ui/ui_lib.c
Lines: 747-759
  0.000% (0/8)
135
UI_get0_result_string
Name: UI_get0_result_string
Prototype: const char * UI_get0_result_string(UI_STRING *uis)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ui/ui_lib.c
Lines: 761-773
  0.000% (0/8)
135
UI_get_result_maxsize
Name: UI_get_result_maxsize
Prototype: int UI_get_result_maxsize(UI_STRING *uis)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ui/ui_lib.c
Lines: 802-814
  0.000% (0/8)
55
UI_get_result_minsize
Name: UI_get_result_minsize
Prototype: int UI_get_result_minsize(UI_STRING *uis)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ui/ui_lib.c
Lines: 788-800
  0.000% (0/8)
55
X509V3_EXT_add_nconf_sk
Name: X509V3_EXT_add_nconf_sk
Prototype: int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, struct stack_st_X509_EXTENSION **sk)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_conf.c
Lines: 344-364
  0.000% (0/13)
145
X509V3_EXT_get_nid
Name: X509V3_EXT_get_nid
Prototype: const X509V3_EXT_METHOD * X509V3_EXT_get_nid(int nid)
Coverage:  23.077% (3/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_lib.c
Lines: 113-132
 23.077% (3/13)
275
X509_ALGOR_get0
Name: X509_ALGOR_get0
Prototype: void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, const X509_ALGOR *algor)
Coverage:  57.143% (8/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_algor.c
Lines: 178-193
 57.143% (8/14)
115
X509_INFO_free
Name: X509_INFO_free
Prototype: void X509_INFO_free(X509_INFO *x)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_info.c
Lines: 88-107
 53.846% (7/13)
195
X509_NAME_get_index_by_OBJ
Name: X509_NAME_get_index_by_OBJ
Prototype: int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, int lastpos)
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509name.c
Lines: 121-141
 46.154% (6/13)
165
X509_PKEY_free
Name: X509_PKEY_free
Prototype: void X509_PKEY_free(X509_PKEY *x)
Coverage:  13.333% (2/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_pkey.c
Lines: 102-121
 13.333% (2/15)
215
X509_STORE_add_lookup
Name: X509_STORE_add_lookup
Prototype: X509_LOOKUP * X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 277-304
 69.231% (9/13)
265
X509_STORE_new
Name: X509_STORE_new
Prototype: X509_STORE * X509_STORE_new(void)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 195-233
 36.364% (4/11)
405
X509_VERIFY_PARAM_add0_table
Name: X509_VERIFY_PARAM_add0_table
Prototype: int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vpm.c
Lines: 642-665
  0.000% (0/14)
165
X509_alias_set1
Name: X509_alias_set1
Prototype: int X509_alias_set1(X509 *x, const unsigned char *name, int len)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_x509a.c
Lines: 156-172
  0.000% (0/19)
165
X509_check_trust
Name: X509_check_trust
Prototype: int X509_check_trust(X509 *x, int id, int flags)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_trs.c
Lines: 111-140
 53.846% (7/13)
195
X509_keyid_set1
Name: X509_keyid_set1
Prototype: int X509_keyid_set1(X509 *x, const unsigned char *id, int len)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_x509a.c
Lines: 174-190
  0.000% (0/19)
165
X509at_get_attr_by_OBJ
Name: X509at_get_attr_by_OBJ
Prototype: int X509at_get_attr_by_OBJ(const struct stack_st_X509_ATTRIBUTE *sk, const ASN1_OBJECT *obj, int lastpos)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_att.c
Lines: 86-105
  0.000% (0/13)
155
X509v3_get_ext_by_OBJ
Name: X509v3_get_ext_by_OBJ
Prototype: int X509v3_get_ext_by_OBJ(const struct stack_st_X509_EXTENSION *sk, const ASN1_OBJECT *obj, int lastpos)
Coverage:  15.385% (2/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_v3.c
Lines: 88-107
 15.385% (2/13)
155
X509v3_get_ext_by_critical
Name: X509v3_get_ext_by_critical
Prototype: int X509v3_get_ext_by_critical(const struct stack_st_X509_EXTENSION *sk, int crit, int lastpos)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_v3.c
Lines: 109-129
  0.000% (0/19)
165
_SSL_set_tlsext_host_name
Name: _SSL_set_tlsext_host_name
Prototype: static int _SSL_set_tlsext_host_name(SSL *s, const char *name)
Coverage:  26.316% (5/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/s3_lib.c
Lines: 1731-1751
 26.316% (5/19)
515
add_client_CA
Name: add_client_CA
Prototype: static int add_client_CA(struct stack_st_X509_NAME **sk, X509 *x)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_cert.c
Lines: 510-528
  0.000% (0/15)
235
aead_chacha20_poly1305_init
Name: aead_chacha20_poly1305_init
Prototype: static int aead_chacha20_poly1305_init(EVP_AEAD_CTX *ctx, const unsigned char *key, size_t key_len, size_t tag_len)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 45-72
 53.846% (7/13)
175
aead_chacha20_poly1305_seal
Name: aead_chacha20_poly1305_seal
Prototype: static int aead_chacha20_poly1305_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 116-177
 38.462% (5/13)
445
aes_ccm_init_key
Name: aes_ccm_init_key
Prototype: static int aes_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1262-1292
  0.000% (0/15)
285
aes_xts_cipher
Name: aes_xts_cipher
Prototype: static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1169-1187
  0.000% (0/19)
125
aesni_init_key
Name: aesni_init_key
Prototype: static int aesni_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 200-233
  0.000% (0/20)
305
aesni_xts_init_key
Name: aesni_xts_init_key
Prototype: static int aesni_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 318-354
  0.000% (0/16)
215
asn1_GetSequence
Name: asn1_GetSequence
Prototype: int asn1_GetSequence(ASN1_const_CTX *c, long *length)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 317-342
  0.000% (0/15)
185
asn1_primitive_clear
Name: asn1_primitive_clear
Prototype: static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  47.368% (9/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 354-374
 47.368% (9/19)
215
asn1_print_boolean_ctx
Name: asn1_print_boolean_ctx
Prototype: static int asn1_print_boolean_ctx(BIO *out, int boolval, const ASN1_PCTX *pctx)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_prn.c
Lines: 427-450
  0.000% (0/10)
115
asn1_print_obstring_ctx
Name: asn1_print_obstring_ctx
Prototype: static int asn1_print_obstring_ctx(BIO *out, ASN1_STRING *str, int indent, const ASN1_PCTX *pctx)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_prn.c
Lines: 478-493
  0.000% (0/15)
115
bf_cfb64_cipher
Name: bf_cfb64_cipher
Prototype: static int bf_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_bf.c
Lines: 80-80
 66.667% (10/15)
15
bio_nread0
Name: bio_nread0
Prototype: static ssize_t bio_nread0(BIO *bio, char **buf)
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_bio.c
Lines: 259-295
 46.154% (6/13)
345
bitstr_cb
Name: bitstr_cb
Prototype: static int bitstr_cb(const char *elem, int len, void *bitstr)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_gen.c
Lines: 781-801
  0.000% (0/17)
145
bn_i2c
Name: bn_i2c
Prototype: static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage:  86.667% (13/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_bignum.c
Lines: 128-149
 86.667% (13/15)
165
by_file_ctrl
Name: by_file_ctrl
Prototype: static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, char **ret)
Coverage:  76.923% (10/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/by_file.c
Lines: 92-118
 76.923% (10/13)
155
camellia_128_cfb128_cipher
Name: camellia_128_cfb128_cipher
Prototype: static int camellia_128_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 77-77
 66.667% (10/15)
15
camellia_128_cfb1_cipher
Name: camellia_128_cfb1_cipher
Prototype: static int camellia_128_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 98-98
  0.000% (0/15)
15
camellia_128_cfb8_cipher
Name: camellia_128_cfb8_cipher
Prototype: static int camellia_128_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 102-102
  0.000% (0/15)
15
camellia_192_cfb128_cipher
Name: camellia_192_cfb128_cipher
Prototype: static int camellia_192_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 83-83
 66.667% (10/15)
15
camellia_192_cfb1_cipher
Name: camellia_192_cfb1_cipher
Prototype: static int camellia_192_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 99-99
  0.000% (0/15)
15
camellia_192_cfb8_cipher
Name: camellia_192_cfb8_cipher
Prototype: static int camellia_192_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 103-103
  0.000% (0/15)
15
camellia_256_cfb128_cipher
Name: camellia_256_cfb128_cipher
Prototype: static int camellia_256_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 89-89
 66.667% (10/15)
15
camellia_256_cfb1_cipher
Name: camellia_256_cfb1_cipher
Prototype: static int camellia_256_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 100-100
  0.000% (0/15)
15
camellia_256_cfb8_cipher
Name: camellia_256_cfb8_cipher
Prototype: static int camellia_256_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_camellia.c
Lines: 104-104
  0.000% (0/15)
15
cast5_cfb64_cipher
Name: cast5_cfb64_cipher
Prototype: static int cast5_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_cast.c
Lines: 80-80
 66.667% (10/15)
15
cbb_add_u
Name: cbb_add_u
Prototype: static int cbb_add_u(CBB *cbb, uint32_t v, size_t len_len)
Coverage:  73.333% (11/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 131-151
 73.333% (11/15)
125
check_crl_path
Name: check_crl_path
Prototype: static int check_crl_path(X509_STORE_CTX *ctx, X509 *x)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 1306-1339
  0.000% (0/11)
175
check_padding_md
Name: check_padding_md
Prototype: static int check_padding_md(const EVP_MD *md, int padding)
Coverage:  30.769% (4/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_pmeth.c
Lines: 335-355
 30.769% (4/13)
115
check_purpose_ssl_client
Name: check_purpose_ssl_client
Prototype: static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 650-664
 42.105% (8/19)
95
check_purpose_ssl_server
Name: check_purpose_ssl_server
Prototype: static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 666-681
 42.105% (8/19)
95
conn_write
Name: conn_write
Prototype: static int conn_write(BIO *b, const char *in, int inl)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_conn.c
Lines: 399-420
  0.000% (0/13)
165
contract
Name: contract
Prototype: static void contract(_LHASH *lh)
Coverage:  28.571% (4/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/lhash/lhash.c
Lines: 359-392
 28.571% (4/14)
325
crldp_check_crlissuer
Name: crldp_check_crlissuer
Prototype: static int crldp_check_crlissuer(DIST_POINT *dp, X509_CRL *crl, int crl_score)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 1428-1445
  0.000% (0/13)
115
d2i_ASN1_OBJECT
Name: d2i_ASN1_OBJECT
Prototype: ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, long length)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 248-276
  0.000% (0/11)
275
d2i_ECPKParameters
Name: d2i_ECPKParameters
Prototype: EC_GROUP * d2i_ECPKParameters(EC_GROUP ** a, const unsigned char **in, long len)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_asn1.c
Lines: 1297-1320
  0.000% (0/11)
315
def_add_index
Name: def_add_index
Prototype: static int def_add_index(EX_CLASS_ITEM *item, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ex_data.c
Lines: 343-372
 63.636% (7/11)
245
des_cfb1_cipher
Name: des_cfb1_cipher
Prototype: static int des_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_des.c
Lines: 140-167
  0.000% (0/17)
185
dgram_read
Name: dgram_read
Prototype: static int dgram_read(BIO *b, char *out, int outl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_dgram.c
Lines: 248-285
  0.000% (0/15)
255
doall_util_fn
Name: doall_util_fn
Prototype: static void doall_util_fn(_LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func, LHASH_DOALL_ARG_FN_TYPE func_arg, void *arg)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/lhash/lhash.c
Lines: 267-294
100.000% (14/14)
165
dtls1_get_timeout
Name: dtls1_get_timeout
Prototype: struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft)
Coverage:  52.381% (11/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_lib.c
Lines: 309-349
 52.381% (11/21)
265
dtls1_retransmit_message
Name: dtls1_retransmit_message
Prototype: int dtls1_retransmit_message(SSL *s, unsigned short seq, unsigned long frag_off, int *found)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_both.c
Lines: 1023-1114
  0.000% (0/14)
615
dtls1_write_app_data_bytes
Name: dtls1_write_app_data_bytes
Prototype: int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, int len)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_pkt.c
Lines: 1106-1129
 66.667% (10/15)
135
ec_pre_comp_clear_free
Name: ec_pre_comp_clear_free
Prototype: static void ec_pre_comp_clear_free(void *pre_)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_mult.c
Lines: 158-181
  0.000% (0/13)
175
ec_pre_comp_free
Name: ec_pre_comp_free
Prototype: static void ec_pre_comp_free(void *pre_)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_mult.c
Lines: 135-156
 92.308% (12/13)
165
eckey_param2type
Name: eckey_param2type
Prototype: static int eckey_param2type(int *pptype, void **ppval, EC_KEY * ec_key)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_ameth.c
Lines: 71-101
  0.000% (0/18)
315
Page:<>1
McCabe - Cyclomatic Complexity: 1
...10
McCabe - Cyclomatic Complexity: 1
...20
McCabe - Cyclomatic Complexity: 1
...30
McCabe - Cyclomatic Complexity: 2
...40
McCabe - Cyclomatic Complexity: 3
...42
McCabe - Cyclomatic Complexity: 4
43
McCabe - Cyclomatic Complexity: 4
44
McCabe - Cyclomatic Complexity: 4
45
McCabe - Cyclomatic Complexity: 4
4647
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 6
49
McCabe - Cyclomatic Complexity: 6
50
McCabe - Cyclomatic Complexity: 7
...60
McCabe - Cyclomatic Complexity: 41

Generated by Squish Coco 4.2.2