OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Condition %: 100.000% (1/1)
...5
Condition %:  45.455% (5/11)
6
Condition %:  26.374% (24/91)
7
Condition %:  0.000% (0/1)
8
Condition %:  0.000% (0/33)
910
Condition %:  0.000% (0/9)
11
Condition %:  0.000% (0/22)
12
Condition %:  0.000% (0/119)
13
Condition %:  0.000% (0/53)
...20
Condition %:  0.000% (0/19)
21
Condition %:  0.000% (0/1)
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ssh_krl_from_blob
Name: ssh_krl_from_blob
Prototype: int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp, const struct sshkey **sign_ca_keys, size_t nsign_ca_keys)
Coverage:  0.000% (0/159)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 983-1216
  0.000% (0/159)
23749
ssh_krl_free
Name: ssh_krl_free
Prototype: void ssh_krl_free(struct ssh_krl *krl)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 163-192
  0.000% (0/20)
417
ssh_krl_file_contains_key
Name: ssh_krl_file_contains_key
Prototype: int ssh_krl_file_contains_key(const char *path, const struct sshkey *key)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 1333-1366
  0.000% (0/23)
559
ssh_krl_check_key
Name: ssh_krl_check_key
Prototype: int ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 1316-1331
  0.000% (0/10)
84
ssh_kill_proxy_command
Name: ssh_kill_proxy_command
Prototype: void ssh_kill_proxy_command(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 256-265
  0.000% (0/4)
62
ssh_keysign
Name: ssh_keysign
Prototype: static int ssh_keysign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen)
Coverage:  0.000% (0/64)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1804-1916
  0.000% (0/64)
19322
ssh_kex2
Name: ssh_kex2
Prototype: void ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 157-241
  0.000% (0/24)
597
ssh_input_space
Name: ssh_input_space
Prototype: int ssh_input_space(struct ssh *ssh, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 307-311
  0.000% (0/1)
11
ssh_init_stdio_forwarding
Name: ssh_init_stdio_forwarding
Prototype: static void ssh_init_stdio_forwarding(struct ssh *ssh)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1643-1663
  0.000% (0/12)
304
ssh_init_forwarding
Name: ssh_init_forwarding
Prototype: static void ssh_init_forwarding(struct ssh *ssh, char **ifname)
Coverage:  0.000% (0/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1665-1733
  0.000% (0/34)
7710
ssh_hmac_update_buffer
Name: ssh_hmac_update_buffer
Prototype: int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 98-102
  0.000% (0/1)
11
ssh_get_authentication_socket
Name: ssh_get_authentication_socket
Prototype: int ssh_get_authentication_socket(int *fdp)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 86-120
  0.000% (0/19)
536
ssh_get_app_data
Name: ssh_get_app_data
Prototype: void * ssh_get_app_data(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 168-172
  0.000% (0/1)
11
ssh_gai_strerror
Name: ssh_gai_strerror
Prototype: const char * ssh_gai_strerror(int gaierr)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 139-145
  0.000% (0/6)
152
ssh_free_identitylist
Name: ssh_free_identitylist
Prototype: void ssh_free_identitylist(struct ssh_identitylist *idl)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 302-316
  0.000% (0/13)
155
ssh_fetch_identitylist
Name: ssh_fetch_identitylist
Prototype: int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 228-300
  0.000% (0/52)
7016
ssh_exchange_identification
Name: ssh_exchange_identification
Prototype: void ssh_exchange_identification(int timeout_ms)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 624-709
  0.000% (0/94)
28325
ssh_err
Name: ssh_err
Prototype: const char * ssh_err(int n)
Coverage:  0.000% (0/120)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssherr.c
Lines: 22-147
  0.000% (0/120)
6561
ssh_dispatch_run_fatal
Name: ssh_dispatch_run_fatal
Prototype: void ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 128-135
  0.000% (0/4)
32
ssh_dispatch_run
Name: ssh_dispatch_run
Prototype: int ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 87-126
  0.000% (0/37)
3511
ssh_dispatch_init
Name: ssh_dispatch_init
Prototype: void ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 61-67
  0.000% (0/4)
32
ssh_create_socket
Name: ssh_create_socket
Prototype: static int ssh_create_socket(struct addrinfo *ai)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 333-420
  0.000% (0/44)
12416
ssh_crc32
Name: ssh_crc32
Prototype: u_int32_t ssh_crc32(const u_char *buf, u_int32_t size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/crc32.c
Lines: 96-105
  0.000% (0/4)
52
ssh_connect_direct
Name: ssh_connect_direct
Prototype: static int ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, struct sockaddr_storage *hostaddr, u_short port, int family, int connection_attempts, int *timeout_ms, int want_keepalive)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 498-585
  0.000% (0/38)
12112
ssh_connect
Name: ssh_connect
Prototype: int ssh_connect(struct ssh *ssh, const char *host, struct addrinfo *addrs, struct sockaddr_storage *hostaddr, u_short port, int family, int connection_attempts, int *timeout_ms, int want_keepalive)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 587-605
  0.000% (0/43)
18611
ssh_confirm_remote_forward
Name: ssh_confirm_remote_forward
Prototype: static void ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1579-1627
  0.000% (0/27)
419
ssh_close_authentication_socket
Name: ssh_close_authentication_socket
Prototype: void ssh_close_authentication_socket(int sock)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 171-176
  0.000% (0/4)
22
ssh_askpass
Name: ssh_askpass
Prototype: static char * ssh_askpass(char *askpass, const char *msg)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readpass.c
Lines: 50-109
  0.000% (0/42)
14613
ssh_agent_sign
Name: ssh_agent_sign
Prototype: int ssh_agent_sign(int sock, const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 340-390
  0.000% (0/39)
5311
ssh_add_identity_constrained
Name: ssh_add_identity_constrained
Prototype: int ssh_add_identity_constrained(int sock, const struct sshkey *key, const char *comment, u_int life, u_int confirm, u_int maxsign)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 423-471
  0.000% (0/44)
3318
ssh2_capable
Name: ssh2_capable
Prototype: static int ssh2_capable(int remote_major, int remote_minor)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 207-221
  0.000% (0/10)
75
speed_to_baud
Name: speed_to_baud
Prototype: static int speed_to_baud(speed_t speed)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 72-156
  0.000% (0/40)
2121
special_char_encode
Name: special_char_encode
Prototype: static u_int special_char_encode(cc_t c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 250-258
  0.000% (0/1)
11
special_char_decode
Name: special_char_decode
Prototype: static cc_t special_char_decode(u_int c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 263-271
  0.000% (0/1)
11
source
Name: source
Prototype: void source(int argc, char **argv)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 803-913
  0.000% (0/94)
17031
sockaddr_is_local
Name: sockaddr_is_local
Prototype: static int sockaddr_is_local(struct sockaddr *hostaddr)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 762-775
  0.000% (0/6)
264
sock_set_v6only
Name: sock_set_v6only
Prototype: void sock_set_v6only(int s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1530-1540
  0.000% (0/4)
162
skip_space
Name: skip_space
Prototype: static void skip_space(char **cpp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 525-533
  0.000% (0/6)
32
sink
Name: sink
Prototype: void sink(int argc, char **argv)
Coverage:  0.000% (0/372)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 969-1274
  0.000% (0/372)
74685
sigterm_handler
Name: sigterm_handler
Prototype: static void sigterm_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 318-322
  0.000% (0/1)
11
signal_handler
Name: signal_handler
Prototype: static void signal_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 220-225
  0.000% (0/1)
21
sign_and_send_pubkey
Name: sign_and_send_pubkey
Prototype: static int sign_and_send_pubkey(struct ssh *ssh, Authctxt *authctxt, Identity *id)
Coverage:  0.000% (0/108)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1181-1338
  0.000% (0/108)
15127
sighup_restart
Name: sighup_restart
Prototype: static void sighup_restart(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 297-312
  0.000% (0/4)
262
sighup_handler
Name: sighup_handler
Prototype: static void sighup_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 284-291
  0.000% (0/1)
91
sigdie
Name: sigdie
Prototype: void sigdie(const char *fmt,...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 172-183
  0.000% (0/1)
11
sigchld_handler
Name: sigchld_handler
Prototype: static void sigchld_handler(int sig)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 257-273
  0.000% (0/9)
333
sig_winch
Name: sig_winch
Prototype: static void sig_winch(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 286-290
  0.000% (0/1)
11
sig2name
Name: sig2name
Prototype: static char * sig2name(int sig)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2224-2243
  0.000% (0/40)
5314
sieve_large
Name: sieve_large
Prototype: static void sieve_large(u_int32_t s)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 184-235
  0.000% (0/30)
2310
show_other_keys
Name: show_other_keys
Prototype: static int show_other_keys(struct hostkeys *hostkeys, struct sshkey *key)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1450-1489
  0.000% (0/18)
406
show_options
Name: show_options
Prototype: static void show_options(struct sshbuf *optbuf, int in_critical)
Coverage:  0.000% (0/249)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1946-1988
  0.000% (0/249)
120150
shadow_pw
Name: shadow_pw
Prototype: char * shadow_pw(struct passwd *pw)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Lines: 134-162
  0.000% (0/4)
72
sglob_comp
Name: sglob_comp
Prototype: static int sglob_comp(const void *aa, const void *bb)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 900-926
  0.000% (0/42)
17810
sftpio
Name: sftpio
Prototype: static int sftpio(void *_bwlimit, size_t amount)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 99-106
  0.000% (0/1)
31
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
sftp_server_main
Name: sftp_server_main
Prototype: int sftp_server_main(int argc, char **argv, struct passwd *user_pw)
Coverage:  0.000% (0/139)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1499-1710
  0.000% (0/139)
26545
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
sftp_proto_version
Name: sftp_proto_version
Prototype: u_int sftp_proto_version(struct sftp_conn *conn)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 494-498
  0.000% (0/1)
11
setscreensize
Name: setscreensize
Prototype: static void setscreensize(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 292-306
  0.000% (0/10)
163
setproctitle
Name: setproctitle
Prototype: void setproctitle(const char *fmt, ...)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/setproctitle.c
Lines: 122-167
  0.000% (0/18)
406
setlogin
Name: setlogin
Prototype: int setlogin(const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-misc.c
Lines: 67-70
  0.000% (0/1)
11
set_utmp_time
Name: set_utmp_time
Prototype: void set_utmp_time(struct logininfo *li, struct utmp *ut)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 635-644
  0.000% (0/1)
21
set_reuseaddr
Name: set_reuseaddr
Prototype: int set_reuseaddr(int fd)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 170-180
  0.000% (0/4)
172
set_rdomain
Name: set_rdomain
Prototype: int set_rdomain(int fd, const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 205-234
  0.000% (0/1)
21
set_process_rdomain
Name: set_process_rdomain
Prototype: static void set_process_rdomain(struct ssh *ssh, const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1387-1424
  0.000% (0/1)
11
set_nonblock
Name: set_nonblock
Prototype: int set_nonblock(int fd)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 91-113
  0.000% (0/10)
374
set_nodelay
Name: set_nodelay
Prototype: void set_nodelay(int fd)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 148-167
  0.000% (0/10)
374
set_log_handler
Name: set_log_handler
Prototype: void set_log_handler(log_handler_fn *handler, void *ctx)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 383-388
  0.000% (0/1)
21
set_fwdpermit_from_authopts
Name: set_fwdpermit_from_authopts
Prototype: static void set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 296-335
  0.000% (0/29)
419
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
set_addrinfo_port
Name: set_addrinfo_port
Prototype: static void set_addrinfo_port(struct addrinfo *addrs, int port)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 557-574
  0.000% (0/16)
286
session_x11_req
Name: session_x11_req
Prototype: static int session_x11_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2006-2036
  0.000% (0/18)
435
session_window_change_req
Name: session_window_change_req
Prototype: static int session_window_change_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1903-1913
  0.000% (0/4)
72
session_unused
Name: session_unused
Prototype: void session_unused(int id)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1734-1753
  0.000% (0/6)
192
session_tty_list
Name: session_tty_list
Prototype: static char * session_tty_list(void)
Coverage:  0.000% (0/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2445-2471
  0.000% (0/61)
22212
session_subsystem_req
Name: session_subsystem_req
Prototype: static int session_subsystem_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1966-2004
  0.000% (0/80)
35519
session_shell_req
Name: session_shell_req
Prototype: static int session_shell_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2038-2043
  0.000% (0/4)
62
session_setup_x11fwd
Name: session_setup_x11fwd
Prototype: int session_setup_x11fwd(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2482-2556
  0.000% (0/28)
539
session_set_fds
Name: session_set_fds
Prototype: void session_set_fds(struct ssh *ssh, Session *s, int fdin, int fdout, int fderr, int ignore_fderr, int is_tty)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2165-2179
  0.000% (0/4)
62
session_pty_req
Name: session_pty_req
Prototype: static int session_pty_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1915-1964
  0.000% (0/53)
20113
session_pty_cleanup2
Name: session_pty_cleanup2
Prototype: void session_pty_cleanup2(Session *s)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2185-2216
  0.000% (0/18)
206
session_pty_cleanup
Name: session_pty_cleanup
Prototype: void session_pty_cleanup(Session *s)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2218-2222
  0.000% (0/1)
11
session_proctitle
Name: session_proctitle
Prototype: void session_proctitle(Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2473-2480
  0.000% (0/4)
52
session_open
Name: session_open
Prototype: int session_open(Authctxt *authctxt, int chanid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1814-1830
  0.000% (0/9)
183
session_new
Name: session_new
Prototype: Session * session_new(void)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1755-1794
  0.000% (0/18)
386
session_input_channel_req
Name: session_input_channel_req
Prototype: int session_input_channel_req(struct ssh *ssh, Channel *c, const char *rtype)
Coverage:  0.000% (0/304)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2123-2163
  0.000% (0/304)
148666
session_get_remote_name_or_ip
Name: session_get_remote_name_or_ip
Prototype: const char * session_get_remote_name_or_ip(struct ssh *ssh, u_int utmp_size, int use_dns)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2626-2636
  0.000% (0/9)
63
session_exit_message
Name: session_exit_message
Prototype: static void session_exit_message(struct ssh *ssh, Session *s, int status)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2293-2342
  0.000% (0/14)
565
session_exec_req
Name: session_exec_req
Prototype: static int session_exec_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2045-2055
  0.000% (0/4)
62
session_env_req
Name: session_env_req
Prototype: static int session_env_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2069-2102
  0.000% (0/14)
216
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_destroy_all
Name: session_destroy_all
Prototype: void session_destroy_all(struct ssh *ssh, void (*closefunc)(Session *))
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2430-2443
  0.000% (0/10)
94
session_close_x11
Name: session_close_x11
Prototype: static void session_close_x11(struct ssh *ssh, int id)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2245-2259
  0.000% (0/7)
93
session_close_single_x11
Name: session_close_single_x11
Prototype: static void session_close_single_x11(struct ssh *ssh, int id, void *arg)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2261-2291
  0.000% (0/10)
434
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
session_close_by_channel
Name: session_close_by_channel
Prototype: void session_close_by_channel(struct ssh *ssh, int id, void *arg)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2394-2428
  0.000% (0/16)
226
session_close
Name: session_close
Prototype: void session_close(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2344-2373
  0.000% (0/10)
244
session_by_x11_channel
Name: session_by_x11_channel
Prototype: static Session * session_by_x11_channel(int id)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1865-1886
  0.000% (0/15)
215
session_by_tty
Name: session_by_tty
Prototype: Session * session_by_tty(char *tty)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1832-1846
  0.000% (0/41)
1779
session_by_pid
Name: session_by_pid
Prototype: static Session * session_by_pid(pid_t pid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1888-1901
  0.000% (0/9)
133
Page:<>1
Condition %: 100.000% (1/1)
...5
Condition %:  45.455% (5/11)
6
Condition %:  26.374% (24/91)
7
Condition %:  0.000% (0/1)
8
Condition %:  0.000% (0/33)
910
Condition %:  0.000% (0/9)
11
Condition %:  0.000% (0/22)
12
Condition %:  0.000% (0/119)
13
Condition %:  0.000% (0/53)
...20
Condition %:  0.000% (0/19)
21
Condition %:  0.000% (0/1)

Generated by Squish Coco 4.2.2