OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/4)
11
Condition %:  0.000% (0/36)
12
Condition %:  0.000% (0/38)
13
Condition %:  0.000% (0/1)
1415
Condition %:  0.000% (0/1)
16
Condition %:  23.077% (3/13)
17
Condition %:  44.444% (4/9)
18
Condition %:  55.172% (16/29)
...20
Condition %: 100.000% (4/4)
21
Condition %: 100.000% (1/1)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ssh_sandbox_parent_finish
Name: ssh_sandbox_parent_finish
Prototype: void ssh_sandbox_parent_finish(struct ssh_sandbox *box)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sandbox-seccomp-filter.c
Lines: 366-371
  0.000% (0/1)
21
ssh_sandbox_parent_preauth
Name: ssh_sandbox_parent_preauth
Prototype: void ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sandbox-seccomp-filter.c
Lines: 373-377
  0.000% (0/1)
11
ssh_session2
Name: ssh_session2
Prototype: static int ssh_session2(struct ssh *ssh, struct passwd *pw)
Coverage:  0.000% (0/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1840-1958
  0.000% (0/57)
10916
ssh_session2_open
Name: ssh_session2_open
Prototype: static int ssh_session2_open(struct ssh *ssh)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1794-1838
  0.000% (0/27)
548
ssh_session2_setup
Name: ssh_session2_setup
Prototype: static void ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1751-1791
  0.000% (0/17)
475
ssh_set_app_data
Name: ssh_set_app_data
Prototype: void ssh_set_app_data(struct ssh *ssh, void *app_data)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 162-166
  0.000% (0/1)
11
ssh_set_verify_host_key_callback
Name: ssh_set_verify_host_key_callback
Prototype: int ssh_set_verify_host_key_callback(struct ssh *ssh, int (*cb)(struct sshkey *, struct ssh *))
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 209-219
  0.000% (0/6)
102
ssh_stdio_confirm
Name: ssh_stdio_confirm
Prototype: static void ssh_stdio_confirm(struct ssh *ssh, int id, int success, void *arg)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1636-1641
  0.000% (0/4)
22
ssh_tty_make_modes
Name: ssh_tty_make_modes
Prototype: void ssh_tty_make_modes(struct ssh *ssh, int fd, struct termios *tiop)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 278-336
  0.000% (0/29)
328
ssh_tty_parse_modes
Name: ssh_tty_parse_modes
Prototype: void ssh_tty_parse_modes(struct ssh *ssh, int fd)
Coverage:  0.000% (0/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 342-456
  0.000% (0/60)
7321
ssh_update_card
Name: ssh_update_card
Prototype: int ssh_update_card(int sock, int add, const char *reader_id, const char *pin, u_int life, u_int confirm)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 517-549
  0.000% (0/33)
268
ssh_userauth2
Name: ssh_userauth2
Prototype: void ssh_userauth2(const char *local_user, const char *server_user, char *host, Sensitive *sensitive)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 367-416
  0.000% (0/20)
626
sshauthopt_copy
Name: sshauthopt_copy
Prototype: struct sshauthopt * sshauthopt_copy(const struct sshauthopt *orig)
Coverage:  0.000% (0/67)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 692-733
  0.000% (0/67)
20611
sshauthopt_deserialise
Name: sshauthopt_deserialise
Prototype: int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **optsp)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 873-932
  0.000% (0/52)
4714
sshauthopt_free
Name: sshauthopt_free
Prototype: void sshauthopt_free(struct sshauthopt *opts)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 265-292
  0.000% (0/13)
205
sshauthopt_from_cert
Name: sshauthopt_from_cert
Prototype: struct sshauthopt * sshauthopt_from_cert(struct sshkey *k)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 538-563
  0.000% (0/19)
415
sshauthopt_merge
Name: sshauthopt_merge
Prototype: struct sshauthopt * sshauthopt_merge(const struct sshauthopt *primary, const struct sshauthopt *additional, const char **errstrp)
Coverage:  0.000% (0/196)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 569-687
  0.000% (0/196)
45344
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
sshauthopt_new_with_keys_defaults
Name: sshauthopt_new_with_keys_defaults
Prototype: struct sshauthopt * sshauthopt_new_with_keys_defaults(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 294-309
  0.000% (0/4)
192
sshauthopt_parse
Name: sshauthopt_parse
Prototype: struct sshauthopt * sshauthopt_parse(const char *opts, const char **errstrp)
Coverage:  0.000% (0/152)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 383-536
  0.000% (0/152)
21246
sshauthopt_serialise
Name: sshauthopt_serialise
Prototype: int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int untrusted)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 826-871
  0.000% (0/39)
395
sshd_exchange_identification
Name: sshd_exchange_identification
Prototype: static void sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
Coverage:  0.000% (0/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 366-466
  0.000% (0/80)
27618
sshd_hostkey_sign
Name: sshd_hostkey_sign
Prototype: int sshd_hostkey_sign(struct sshkey *privkey, struct sshkey *pubkey, u_char **signature, size_t *slenp, const u_char *data, size_t dlen, const char *alg, u_int flag)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 2237-2259
  0.000% (0/19)
146
sshkey_cert_check_authority
Name: sshkey_cert_check_authority
Prototype: int sshkey_cert_check_authority(const struct sshkey *k, int want_host, int require_principal, const char *name, const char **reason)
Coverage:  0.000% (0/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2681-2736
  0.000% (0/71)
20920
sshkey_cert_copy
Name: sshkey_cert_copy
Prototype: int sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key)
Coverage:  0.000% (0/76)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1664-1732
  0.000% (0/76)
18318
sshkey_cert_type
Name: sshkey_cert_type
Prototype: const char * sshkey_cert_type(const struct sshkey *k)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1459-1470
  0.000% (0/6)
44
sshkey_check_cert_sigtype
Name: sshkey_check_cert_sigtype
Prototype: int sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2335-2347
  0.000% (0/17)
215
sshkey_check_revoked
Name: sshkey_check_revoked
Prototype: int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Lines: 512-537
  0.000% (0/9)
85
sshkey_check_sigtype
Name: sshkey_check_sigtype
Prototype: int sshkey_check_sigtype(const u_char *sig, size_t siglen, const char *requested_alg)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2374-2391
  0.000% (0/42)
18410
sshkey_drop_cert
Name: sshkey_drop_cert
Prototype: int sshkey_drop_cert(struct sshkey *k)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2505-2514
  0.000% (0/4)
102
sshkey_dump_ec_key
Name: sshkey_dump_ec_key
Prototype: void sshkey_dump_ec_key(const EC_KEY *key)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 3387-3400
  0.000% (0/5)
262
sshkey_dump_ec_point
Name: sshkey_dump_ec_point
Prototype: void sshkey_dump_ec_point(const EC_GROUP *group, const EC_POINT *point)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 3348-3385
  0.000% (0/18)
806
sshkey_enable_maxsign
Name: sshkey_enable_maxsign
Prototype: int sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 4137-4141
  0.000% (0/1)
11
sshkey_format_cert_validity
Name: sshkey_format_cert_validity
Prototype: size_t sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2738-2773
  0.000% (0/23)
236
sshkey_froms
Name: sshkey_froms
Prototype: int sshkey_froms(struct sshbuf *buf, struct sshkey **keyp)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2290-2301
  0.000% (0/4)
72
sshkey_in_file
Name: sshkey_in_file
Prototype: int sshkey_in_file(struct sshkey *key, const char *filename, int strict_type, int check_ca)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Lines: 445-503
  0.000% (0/39)
4913
sshkey_load_private_cert
Name: sshkey_load_private_cert
Prototype: int sshkey_load_private_cert(int type, const char *filename, const char *passphrase, struct sshkey **keyp, int *perm_ok)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Lines: 388-435
  0.000% (0/30)
4814
sshkey_load_private_type
Name: sshkey_load_private_type
Prototype: int sshkey_load_private_type(int type, const char *filename, const char *passphrase, struct sshkey **keyp, char **commentp, int *perm_ok)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Lines: 168-199
  0.000% (0/30)
4310
sshkey_load_private_type_fd
Name: sshkey_load_private_type_fd
Prototype: int sshkey_load_private_type_fd(int fd, int type, const char *passphrase, struct sshkey **keyp, char **commentp)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Lines: 201-224
  0.000% (0/13)
265
sshkey_names_valid2
Name: sshkey_names_valid2
Prototype: int sshkey_names_valid2(const char *names, int allow_wildcard)
Coverage:  0.000% (0/68)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 254-289
  0.000% (0/68)
36016
sshkey_plain_to_blob
Name: sshkey_plain_to_blob
Prototype: int sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 894-898
  0.000% (0/1)
11
sshkey_private_pem_to_blob
Name: sshkey_private_pem_to_blob
Prototype: static int sshkey_private_pem_to_blob(struct sshkey *key, struct sshbuf *blob, const char *_passphrase, const char *comment)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 3773-3822
  0.000% (0/31)
8311
sshkey_private_serialize_maxsign
Name: sshkey_private_serialize_maxsign
Prototype: int sshkey_private_serialize_maxsign(const struct sshkey *k, struct sshbuf *b, u_int32_t maxsign, sshkey_printfn *pr)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 4124-4129
  0.000% (0/1)
11
sshkey_puts
Name: sshkey_puts
Prototype: int sshkey_puts(const struct sshkey *key, struct sshbuf *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 844-848
  0.000% (0/1)
11
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
sshkey_sigalg_by_name
Name: sshkey_sigalg_by_name
Prototype: const char * sshkey_sigalg_by_name(const char *name)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 2352-2368
  0.000% (0/43)
17911
sshkey_signatures_left
Name: sshkey_signatures_left
Prototype: u_int32_t sshkey_signatures_left(const struct sshkey *k)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 4131-4135
  0.000% (0/1)
11
sshpkt_add_padding
Name: sshpkt_add_padding
Prototype: int sshpkt_add_padding(struct ssh *ssh, u_char pad)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2677-2682
  0.000% (0/1)
21
sshpkt_disconnect
Name: sshpkt_disconnect
Prototype: int sshpkt_disconnect(struct ssh *ssh, const char *fmt,...)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2656-2674
  0.000% (0/12)
292
sshpkt_fatal
Name: sshpkt_fatal
Prototype: void sshpkt_fatal(struct ssh *ssh, const char *tag, int r)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 1808-1851
  0.000% (0/26)
3512
sshpkt_fmt_connection_id
Name: sshpkt_fmt_connection_id
Prototype: void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 1796-1803
  0.000% (0/1)
41
sshpkt_get
Name: sshpkt_get
Prototype: int sshpkt_get(struct ssh *ssh, void *valp, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2490-2494
  0.000% (0/1)
11
sshpkt_get_cstring
Name: sshpkt_get_cstring
Prototype: int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2532-2536
  0.000% (0/1)
11
sshpkt_get_string_direct
Name: sshpkt_get_string_direct
Prototype: int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2520-2524
  0.000% (0/1)
11
sshpkt_get_u64
Name: sshpkt_get_u64
Prototype: int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2508-2512
  0.000% (0/1)
11
sshpkt_msg_ignore
Name: sshpkt_msg_ignore
Prototype: int sshpkt_msg_ignore(struct ssh *ssh, u_int nbytes)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2626-2644
  0.000% (0/15)
135
sshpkt_peek_string_direct
Name: sshpkt_peek_string_direct
Prototype: int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2526-2530
  0.000% (0/1)
11
sshpkt_put
Name: sshpkt_put
Prototype: int sshpkt_put(struct ssh *ssh, const void *v, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2423-2427
  0.000% (0/1)
11
sshpkt_put_cstring
Name: sshpkt_put_cstring
Prototype: int sshpkt_put_cstring(struct ssh *ssh, const void *v)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2459-2463
  0.000% (0/1)
11
sshpkt_put_stringb
Name: sshpkt_put_stringb
Prototype: int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2465-2469
  0.000% (0/1)
11
sshpkt_put_u64
Name: sshpkt_put_u64
Prototype: int sshpkt_put_u64(struct ssh *ssh, u_int64_t val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2447-2451
  0.000% (0/1)
11
sshpkt_put_u8
Name: sshpkt_put_u8
Prototype: int sshpkt_put_u8(struct ssh *ssh, u_char val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2435-2439
  0.000% (0/1)
11
start_compression_in
Name: start_compression_in
Prototype: static int start_compression_in(struct ssh *ssh)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 708-723
  0.000% (0/10)
85
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
start_progress_meter
Name: start_progress_meter
Prototype: void start_progress_meter(const char *f, off_t filesize, off_t *ctr)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 249-268
  0.000% (0/4)
222
stat_to_attrib
Name: stat_to_attrib
Prototype: void stat_to_attrib(const struct stat *st, Attrib *a)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 66-81
  0.000% (0/1)
201
status_to_message
Name: status_to_message
Prototype: static const char * status_to_message(u_int32_t status)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 492-508
  0.000% (0/1)
131
stop_progress_meter
Name: stop_progress_meter
Prototype: void stop_progress_meter(void)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 270-283
  0.000% (0/7)
103
store_lastlog_message
Name: store_lastlog_message
Prototype: static void store_lastlog_message(const char *user, uid_t uid)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshlogin.c
Lines: 89-126
  0.000% (0/44)
19511
stravis
Name: stravis
Prototype: int stravis(char **outp, const char *src, int flag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c
Lines: 216-233
  0.000% (0/7)
263
strcmp_maybe_null
Name: strcmp_maybe_null
Prototype: static int strcmp_maybe_null(const char *a, const char *b)
Coverage:  0.000% (0/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1546-1554
  0.000% (0/45)
1899
strdelimw
Name: strdelimw
Prototype: char * strdelimw(char **s)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 295-299
  0.000% (0/1)
11
string_from_portable
Name: string_from_portable
Prototype: static const char * string_from_portable(int pflags)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 240-267
  0.000% (0/37)
1413
strmode
Name: strmode
Prototype: void strmode(int mode, char *p)
Coverage:  0.000% (0/65)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strmode.c
Lines: 42-147
  0.000% (0/65)
7627
strnnsep
Name: strnnsep
Prototype: static char * strnnsep(char **stringp, char *delim)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 184-193
  0.000% (0/6)
42
strvis
Name: strvis
Prototype: int strvis(char *dst, const char *src, int flag)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c
Lines: 160-170
  0.000% (0/4)
62
strvisx
Name: strvisx
Prototype: int strvisx(char *dst, const char *src, size_t len, int flag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c
Lines: 235-249
  0.000% (0/7)
93
subprocess
Name: subprocess
Prototype: pid_t subprocess(const char *tag, struct passwd *pw, const char *command, int ac, char **av, FILE **child, u_int flags)
Coverage:  0.000% (0/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 863-1004
  0.000% (0/78)
21725
suspchild
Name: suspchild
Prototype: static void suspchild(int signo)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 233-242
  0.000% (0/9)
233
sys_auth_passwd
Name: sys_auth_passwd
Prototype: int sys_auth_passwd(struct ssh *ssh, const char *password)
Coverage:  0.000% (0/109)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-passwd.c
Lines: 191-219
  0.000% (0/109)
50921
sys_tun_infilter
Name: sys_tun_infilter
Prototype: int sys_tun_infilter(struct ssh *ssh, struct Channel *c, char *buf, int _len)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/port-net.c
Lines: 304-346
  0.000% (0/14)
204
sys_tun_open
Name: sys_tun_open
Prototype: int sys_tun_open(int tun, int mode, char **ifname)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/port-net.c
Lines: 141-196
  0.000% (0/39)
13811
sys_tun_outfilter
Name: sys_tun_outfilter
Prototype: u_char * sys_tun_outfilter(struct ssh *ssh, struct Channel *c, u_char **data, size_t *dlen)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/port-net.c
Lines: 348-373
  0.000% (0/7)
153
syslogin_perform_login
Name: syslogin_perform_login
Prototype: static int syslogin_perform_login(struct logininfo *li)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 1411-1422
  0.000% (0/1)
61
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
syslogin_write_entry
Name: syslogin_write_entry
Prototype: int syslogin_write_entry(struct logininfo *li)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 1446-1458
  0.000% (0/6)
54
tcpconnect
Name: tcpconnect
Prototype: static int tcpconnect(char *host)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 326-359
  0.000% (0/19)
476
temporarily_use_uid
Name: temporarily_use_uid
Prototype: void temporarily_use_uid(struct passwd *pw)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uidswap.c
Lines: 60-136
  0.000% (0/41)
9113
tilde_expand_paths
Name: tilde_expand_paths
Prototype: static void tilde_expand_paths(char **paths, u_int num_paths)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 215-226
  0.000% (0/4)
62
timeout_connect
Name: timeout_connect
Prototype: static int timeout_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen, int *timeoutp)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 454-487
  0.000% (0/19)
387
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
tolocal
Name: tolocal
Prototype: void tolocal(int argc, char **argv)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 745-801
  0.000% (0/30)
6910
toremote
Name: toremote
Prototype: void toremote(int argc, char **argv)
Coverage:  0.000% (0/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 623-743
  0.000% (0/70)
12922
try_identity
Name: try_identity
Prototype: static int try_identity(Identity *id)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1642-1654
  0.000% (0/9)
83
tun_open
Name: tun_open
Prototype: int tun_open(int tun, int mode, char **ifname)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1027-1103
  0.000% (0/1)
11
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
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_init [umac.c #1]
Name: uhash_init [umac.c #1]
Prototype: static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 957-998
  0.000% (0/10)
224
uhash_init [umac.c #2]
Name: uhash_init [umac.c #2]
Prototype: static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 957-998
  0.000% (0/10)
224
uhash_reset [umac.c #1]
Name: uhash_reset [umac.c #1]
Prototype: static int uhash_reset(uhash_ctx_t pc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 933-948
  0.000% (0/1)
51
Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/4)
11
Condition %:  0.000% (0/36)
12
Condition %:  0.000% (0/38)
13
Condition %:  0.000% (0/1)
1415
Condition %:  0.000% (0/1)
16
Condition %:  23.077% (3/13)
17
Condition %:  44.444% (4/9)
18
Condition %:  55.172% (16/29)
...20
Condition %: 100.000% (4/4)
21
Condition %: 100.000% (1/1)

Generated by Squish Coco 4.2.2