OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
eLOC - Effective Lines of Code: 3096
...9
eLOC - Effective Lines of Code: 26
10
eLOC - Effective Lines of Code: 22
11
eLOC - Effective Lines of Code: 19
12
eLOC - Effective Lines of Code: 16
1314
eLOC - Effective Lines of Code: 10
15
eLOC - Effective Lines of Code: 8
16
eLOC - Effective Lines of Code: 7
17
eLOC - Effective Lines of Code: 5
...20
eLOC - Effective Lines of Code: 1
21
eLOC - Effective Lines of Code: 1
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
bitmap_nbits
Name: bitmap_nbits
Prototype: size_t bitmap_nbits(struct bitmap *b)
Coverage:  78.571% (11/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 140-159
 78.571% (11/14)
134
auth_activate_options
Name: auth_activate_options
Prototype: int auth_activate_options(struct ssh *ssh, struct sshauthopt *opts)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 1077-1089
  0.000% (0/4)
132
ECDSA_SIG_set0
Name: ECDSA_SIG_set0
Prototype: int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 432-443
 50.000% (3/6)
132
DSA_SIG_set0
Name: DSA_SIG_set0
Prototype: int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 405-417
 50.000% (3/6)
132
user_specific_delay
Name: user_specific_delay
Prototype: static double user_specific_delay(const char *user)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 216-233
  0.000% (0/4)
122
strlcpy
Name: strlcpy
Prototype: size_t strlcpy(char *dst, const char *src, size_t siz)
Coverage:  78.947% (15/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strlcpy.c
Lines: 32-56
 78.947% (15/19)
127
ssh_packet_set_maxsize
Name: ssh_packet_set_maxsize
Prototype: int ssh_packet_set_maxsize(struct ssh *ssh, u_int s)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2065-2083
  0.000% (0/9)
123
ssh_packet_rdomain_in
Name: ssh_packet_rdomain_in
Prototype: const char * ssh_packet_rdomain_in(struct ssh *ssh)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 568-577
  0.000% (0/7)
123
ssh_packet_process_incoming
Name: ssh_packet_process_incoming
Prototype: int ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 1736-1755
  0.000% (0/13)
125
ssh_msg_send
Name: ssh_msg_send
Prototype: int ssh_msg_send(int fd, u_char type, struct sshbuf *m)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/msg.c
Lines: 44-63
  0.000% (0/7)
123
ssh_login
Name: ssh_login
Prototype: void ssh_login(Sensitive *sensitive, const char *orighost, struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms)
Coverage:  0.000% (0/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1403-1429
  0.000% (0/3)
121
ssh_compatible_openssl
Name: ssh_compatible_openssl
Prototype: int ssh_compatible_openssl(long headerver, long libver)
Coverage:  16.667% (2/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/openssl-compat.c
Lines: 42-67
 16.667% (2/12)
124
sftp_server_usage
Name: sftp_server_usage
Prototype: static void sftp_server_usage(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1485-1497
  0.000% (0/1)
121
set_control_persist_exit_time
Name: set_control_persist_exit_time
Prototype: static void set_control_persist_exit_time(struct ssh *ssh)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 233-253
  0.000% (0/17)
125
send_data_or_handle
Name: send_data_or_handle
Prototype: static void send_data_or_handle(char type, u_int32_t id, const u_char *data, int dlen)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 535-549
  0.000% (0/11)
123
rsa_hash_alg_oid
Name: rsa_hash_alg_oid
Prototype: static int rsa_hash_alg_oid(int hash_alg, const u_char **oidp, size_t *oidlenp)
Coverage:  77.778% (7/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c
Lines: 380-400
 77.778% (7/9)
125
pubkey_cleanup
Name: pubkey_cleanup
Prototype: static void pubkey_cleanup(Authctxt *authctxt)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1617-1631
  0.000% (0/11)
124
process_mux_terminate
Name: process_mux_terminate
Prototype: static int process_mux_terminate(struct ssh *ssh, u_int rid, Channel *c, struct sshbuf *m, struct sshbuf *reply)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c
Lines: 528-549
  0.000% (0/9)
123
pkcs11_del_provider
Name: pkcs11_del_provider
Prototype: int pkcs11_del_provider(char *provider_id)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 160-172
  0.000% (0/8)
123
parse_rename_flags
Name: parse_rename_flags
Prototype: static int parse_rename_flags(const char *cmd, char **argv, int argc, int *lflag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 460-482
  0.000% (0/7)
124
parse_link_flags
Name: parse_link_flags
Prototype: static int parse_link_flags(const char *cmd, char **argv, int argc, int *sflag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 436-458
  0.000% (0/7)
124
mm_inform_authserv
Name: mm_inform_authserv
Prototype: void mm_inform_authserv(char *service, char *style)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 374-391
  0.000% (0/9)
123
lookup_identity
Name: lookup_identity
Prototype: static Identity * lookup_identity(struct sshkey *key)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 194-204
  0.000% (0/7)
123
log_level_name
Name: log_level_name
Prototype: const char * log_level_name(LogLevel level)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 149-158
  0.000% (0/6)
123
killchild
Name: killchild
Prototype: static void killchild(int signo)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 221-230
  0.000% (0/4)
122
kex_setup
Name: kex_setup
Prototype: int kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX])
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c
Lines: 664-677
  0.000% (0/7)
123
kex_send_newkeys
Name: kex_send_newkeys
Prototype: int kex_send_newkeys(struct ssh *ssh)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c
Lines: 420-436
 36.364% (4/11)
124
kbdint_reset_device
Name: kbdint_reset_device
Prototype: static void kbdint_reset_device(KbdintAuthctxt *kbdintctxt)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c
Lines: 134-142
  0.000% (0/4)
122
is_dir
Name: is_dir
Prototype: static int is_dir(const char *path)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 584-594
  0.000% (0/4)
122
hostfile_read_key
Name: hostfile_read_key
Prototype: int hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret)
Coverage:  58.824% (10/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 162-184
 58.824% (10/17)
125
handle_to_string
Name: handle_to_string
Prototype: static int handle_to_string(int handle, u_char **stringp, int *hlenp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 331-340
  0.000% (0/6)
122
format_rate
Name: format_rate
Prototype: static void format_rate(char *buf, int size, off_t bytes)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 87-104
  0.000% (0/9)
123
do_motd
Name: do_motd
Prototype: void do_motd(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 823-842
  0.000% (0/10)
124
demote_sensitive_data
Name: demote_sensitive_data
Prototype: void demote_sensitive_data(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 487-506
  0.000% (0/10)
124
check_key_not_revoked
Name: check_key_not_revoked
Prototype: static int check_key_not_revoked(struct hostkeys *hostkeys, struct sshkey *k)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 307-324
  0.000% (0/15)
125
channel_find_maxfd
Name: channel_find_maxfd
Prototype: static void channel_find_maxfd(struct ssh_channels *sc)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 407-423
  0.000% (0/13)
123
channel_connect_stdio_fwd
Name: channel_connect_stdio_fwd
Prototype: Channel * channel_connect_stdio_fwd(struct ssh *ssh, const char *host_to_connect, u_short port_to_connect, int in, int out)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 1456-1477
  0.000% (0/1)
121
channel_cancel_cleanup
Name: channel_cancel_cleanup
Prototype: void channel_cancel_cleanup(struct ssh *ssh, int id)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 966-977
  0.000% (0/4)
122
chan_obuf_empty
Name: chan_obuf_empty
Prototype: void chan_obuf_empty(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 145-164
  0.000% (0/7)
124
chachapoly_get_length
Name: chachapoly_get_length
Prototype: int chachapoly_get_length(struct chachapoly_ctx *ctx, u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c
Lines: 106-119
100.000% (4/4)
122
chacha_ivsetup
Name: chacha_ivsetup
Prototype: void chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c
Lines: 80-87
100.000% (5/5)
121
bitmap_to_string
Name: bitmap_to_string
Prototype: int bitmap_to_string(struct bitmap *b, void *p, size_t l)
Coverage:  77.778% (14/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 167-186
 77.778% (14/18)
126
auth_sock_cleanup_proc
Name: auth_sock_cleanup_proc
Prototype: static void auth_sock_cleanup_proc(struct passwd *pw)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 176-186
  0.000% (0/4)
122
auth2_authctxt_reset_info
Name: auth2_authctxt_reset_info
Prototype: void auth2_authctxt_reset_info(Authctxt *authctxt)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 671-677
  0.000% (0/1)
121
addr_invert
Name: addr_invert
Prototype: static int addr_invert(struct xaddr *n)
Coverage:  25.000% (3/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c
Lines: 232-251
 25.000% (3/12)
126
add_string_option
Name: add_string_option
Prototype: static void add_string_option(struct sshbuf *c, const char *name, const char *value)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1573-1588
  0.000% (0/11)
123
_rs_stir
Name: _rs_stir
Prototype: static void _rs_stir(void)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Lines: 116-141
 75.000% (6/8)
123
RSA_get0_key
Name: RSA_get0_key
Prototype: void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 228-237
100.000% (10/10)
124
RSA_get0_crt_params
Name: RSA_get0_crt_params
Prototype: void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, const BIGNUM **iqmp)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 265-275
 50.000% (5/10)
124
DSA_get0_pqg
Name: DSA_get0_pqg
Prototype: void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 159-168
100.000% (10/10)
124
DH_get0_pqg
Name: DH_get0_pqg
Prototype: void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
Coverage:  70.000% (7/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 447-456
 70.000% (7/10)
124
upload_dir
Name: upload_dir
Prototype: int upload_dir(struct sftp_conn *conn, const char *src, const char *dst, int preserve_flag, int print_flag, int resume, int fsync_flag)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 1887-1904
  0.000% (0/4)
112
uhash_final [umac.c #2]
Name: uhash_final [umac.c #2]
Prototype: static int uhash_final(uhash_ctx_t ctx, u_char *res)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1101-1119
  0.000% (0/8)
113
uhash_final [umac.c #1]
Name: uhash_final [umac.c #1]
Prototype: static int uhash_final(uhash_ctx_t ctx, u_char *res)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1101-1119
  0.000% (0/8)
113
tohex
Name: tohex
Prototype: char * tohex(const void *vp, size_t l)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1128-1145
  0.000% (0/7)
113
start_compression_out
Name: start_compression_out
Prototype: static int start_compression_out(struct ssh *ssh, int level)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 688-706
  0.000% (0/15)
116
sshkey_puts_opts
Name: sshkey_puts_opts
Prototype: int sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b, enum sshkey_serialize_rep opts)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 828-842
  0.000% (0/7)
113
sshbuf_get
Name: sshbuf_get
Prototype: int sshbuf_get(struct sshbuf *buf, void *v, size_t len)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c
Lines: 31-42
 88.889% (8/9)
113
sshbuf_consume
Name: sshbuf_consume
Prototype: int sshbuf_consume(struct sshbuf *buf, size_t len)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c
Lines: 363-381
 84.615% (11/13)
115
sshauthopt_new
Name: sshauthopt_new
Prototype: struct sshauthopt * sshauthopt_new(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 254-263
  0.000% (0/4)
112
ssh_put_password
Name: ssh_put_password
Prototype: void ssh_put_password(char *password)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1431-1447
  0.000% (0/4)
112
ssh_hmac_free
Name: ssh_hmac_free
Prototype: void ssh_hmac_free(struct ssh_hmac_ctx *ctx)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 121-135
 71.429% (5/7)
113
sftp_server_cleanup_exit
Name: sftp_server_cleanup_exit
Prototype: void sftp_server_cleanup_exit(int i)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1474-1483
  0.000% (0/6)
112
session_dump
Name: session_dump
Prototype: static void session_dump(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1796-1812
  0.000% (0/4)
112
session_close_by_pid
Name: session_close_by_pid
Prototype: void session_close_by_pid(struct ssh *ssh, pid_t pid, int status)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2375-2388
  0.000% (0/10)
114
send_client_banner
Name: send_client_banner
Prototype: static void send_client_banner(int connection_out, int minor1)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 607-618
  0.000% (0/4)
112
revoke_by_hash
Name: revoke_by_hash
Prototype: static int revoke_by_hash(struct revoked_blob_tree *target, const u_char *p, size_t len)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 418-433
  0.000% (0/7)
113
reduce_mul
Name: reduce_mul
Prototype: static void reduce_mul(crypto_sign_ed25519_ref_fe25519 *r)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 63-81
100.000% (7/7)
113
reduce_add_sub
Name: reduce_add_sub
Prototype: static void reduce_add_sub(crypto_sign_ed25519_ref_fe25519 *r)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 43-61
100.000% (7/7)
113
read_checkpoint
Name: read_checkpoint
Prototype: static unsigned long read_checkpoint(char *cpfile)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 479-493
  0.000% (0/8)
113
put_host_port
Name: put_host_port
Prototype: char * put_host_port(const char *host, u_short port)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 467-478
  0.000% (0/9)
113
plain_key_blob
Name: plain_key_blob
Prototype: static int plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 368-385
  0.000% (0/10)
114
no_identities
Name: no_identities
Prototype: static void no_identities(SocketEntry *e)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 533-546
  0.000% (0/11)
113
mktemp_proto
Name: mktemp_proto
Prototype: void mktemp_proto(char *s, size_t len)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1394-1408
  0.000% (0/14)
114
kexc25519_client
Name: kexc25519_client
Prototype: int kexc25519_client(struct ssh *ssh)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519c.c
Lines: 49-69
 50.000% (4/8)
112
hexchar
Name: hexchar
Prototype: static int hexchar(const char *s)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 698-715
  0.000% (0/19)
115
get_u64
Name: get_u64
Prototype: u_int64_t get_u64(const void *vp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1147-1163
  0.000% (0/1)
111
ga_free
Name: ga_free
Prototype: void ga_free(void)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/groupaccess.c
Lines: 121-133
  0.000% (0/7)
113
fx2txt
Name: fx2txt
Prototype: const char * fx2txt(int status)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 182-208
  0.000% (0/20)
1111
fwd_ident
Name: fwd_ident
Prototype: static const char * fwd_ident(int who, int where)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 465-480
  0.000% (0/19)
117
fudge_opendir
Name: fudge_opendir
Prototype: static void * fudge_opendir(const char *path)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-glob.c
Lines: 47-62
  0.000% (0/4)
112
download_dir
Name: download_dir
Prototype: int download_dir(struct sftp_conn *conn, const char *src, const char *dst, Attrib *dirattrib, int preserve_flag, int print_flag, int resume_flag, int fsync_flag)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 1551-1568
  0.000% (0/4)
112
do_host
Name: do_host
Prototype: static void do_host(char *host)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 606-621
  0.000% (0/13)
115
crypto_sign_ed25519_ref_sc25519_mul
Name: crypto_sign_ed25519_ref_sc25519_mul
Prototype: void crypto_sign_ed25519_ref_sc25519_mul(crypto_sign_ed25519_ref_sc25519 *r, const crypto_sign_ed25519_ref_sc25519 *x, const crypto_sign_ed25519_ref_sc25519 *y)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c
Lines: 193-212
100.000% (12/12)
115
contouch
Name: contouch
Prototype: static void contouch(int s)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 423-430
  0.000% (0/5)
112
compat_pkalg_proposal
Name: compat_pkalg_proposal
Prototype: char * compat_pkalg_proposal(char *pkalg_prop)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/compat.c
Lines: 200-212
  0.000% (0/10)
114
compat_cipher_proposal
Name: compat_cipher_proposal
Prototype: char * compat_cipher_proposal(char *cipher_prop)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/compat.c
Lines: 186-198
  0.000% (0/10)
114
check_quietlogin
Name: check_quietlogin
Prototype: int check_quietlogin(Session *s, const char *command)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 848-867
  0.000% (0/7)
113
check_load
Name: check_load
Prototype: static void check_load(int r, const char *path, const char *message)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 505-523
  0.000% (0/12)
117
check_agent_present
Name: check_agent_present
Prototype: static void check_agent_present(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1735-1749
  0.000% (0/10)
114
channel_stop_listening
Name: channel_stop_listening
Prototype: void channel_stop_listening(struct ssh *ssh)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 669-691
  0.000% (0/14)
119
channel_setup_remote_fwd_listener
Name: channel_setup_remote_fwd_listener
Prototype: int channel_setup_remote_fwd_listener(struct ssh *ssh, struct Forward *fwd, int *allocated_listen_port, struct ForwardOptions *fwd_opts)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 3757-3773
  0.000% (0/7)
113
channel_setup_local_fwd_listener
Name: channel_setup_local_fwd_listener
Prototype: int channel_setup_local_fwd_listener(struct ssh *ssh, struct Forward *fwd, struct ForwardOptions *fwd_opts)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 3680-3691
  0.000% (0/4)
112
channel_send_open
Name: channel_send_open
Prototype: void channel_send_open(struct ssh *ssh, int id)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 883-897
  0.000% (0/7)
113
channel_input_ieof
Name: channel_input_ieof
Prototype: int channel_input_ieof(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 3060-3079
  0.000% (0/15)
115
channel_before_prepare_select
Name: channel_before_prepare_select
Prototype: static void channel_before_prepare_select(struct ssh *ssh)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 2424-2438
  0.000% (0/10)
114
_rs_random_u32
Name: _rs_random_u32
Prototype: static __inline void _rs_random_u32(u_int32_t *val)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Lines: 198-208
100.000% (4/4)
112
DH_set0_key
Name: DH_set0_key
Prototype: int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Lines: 495-508
  0.000% (0/7)
113
Blowfish_stream2word
Name: Blowfish_stream2word
Prototype: u_int32_t Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 402-421
100.000% (7/7)
113
syslogin_perform_logout
Name: syslogin_perform_logout
Prototype: static int syslogin_perform_logout(struct logininfo *li)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 1424-1444
  0.000% (0/5)
102
Page:<>1
eLOC - Effective Lines of Code: 3096
...9
eLOC - Effective Lines of Code: 26
10
eLOC - Effective Lines of Code: 22
11
eLOC - Effective Lines of Code: 19
12
eLOC - Effective Lines of Code: 16
1314
eLOC - Effective Lines of Code: 10
15
eLOC - Effective Lines of Code: 8
16
eLOC - Effective Lines of Code: 7
17
eLOC - Effective Lines of Code: 5
...20
eLOC - Effective Lines of Code: 1
21
eLOC - Effective Lines of Code: 1

Generated by Squish Coco 4.2.2