OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
...3
Function: chan_is_dead
4
Function: channel_request_rforward_cancel_tcpip
5
Function: client_wait_until_can_do_something
6
Function: delete_all
78
Function: get_ec
9
Function: input_userauth_ext_info
10
Function: load_hostkeys
11
Function: mm_key_allowed
...20
Function: subprocess
21
Function: xasprintf
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
dump_cfg_forwards
Name: dump_cfg_forwards
Prototype: static void dump_cfg_forwards(OpCodes code, u_int count, const struct Forward *fwds)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2510-2546
  0.000% (0/94)
36521
dump_cfg_int
Name: dump_cfg_int
Prototype: static void dump_cfg_int(OpCodes code, int val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2470-2474
  0.000% (0/1)
11
dump_cfg_int
Name: dump_cfg_int
Prototype: static void dump_cfg_int(ServerOpCodes code, int val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2428-2432
  0.000% (0/1)
11
dump_cfg_oct
Name: dump_cfg_oct
Prototype: static void dump_cfg_oct(ServerOpCodes code, int val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2434-2438
  0.000% (0/1)
11
dump_cfg_strarray
Name: dump_cfg_strarray
Prototype: static void dump_cfg_strarray(OpCodes code, u_int count, char **vals)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2490-2497
  0.000% (0/4)
32
dump_cfg_strarray
Name: dump_cfg_strarray
Prototype: static void dump_cfg_strarray(ServerOpCodes code, u_int count, char **vals)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2453-2460
  0.000% (0/4)
32
dump_cfg_strarray_oneline
Name: dump_cfg_strarray_oneline
Prototype: static void dump_cfg_strarray_oneline(OpCodes code, u_int count, char **vals)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2499-2508
  0.000% (0/4)
52
dump_cfg_strarray_oneline
Name: dump_cfg_strarray_oneline
Prototype: static void dump_cfg_strarray_oneline(ServerOpCodes code, u_int count, char **vals)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2462-2475
  0.000% (0/14)
94
dump_cfg_string
Name: dump_cfg_string
Prototype: static void dump_cfg_string(OpCodes code, const char *val)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2482-2488
  0.000% (0/4)
52
dump_cfg_string
Name: dump_cfg_string
Prototype: static void dump_cfg_string(ServerOpCodes code, const char *val)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2446-2451
  0.000% (0/1)
61
dump_client_config
Name: dump_client_config
Prototype: void dump_client_config(Options *o, const char *host)
Coverage:  0.000% (0/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2548-2737
  0.000% (0/45)
19910
dump_config
Name: dump_config
Prototype: void dump_config(ServerOptions *o)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2516-2690
  0.000% (0/33)
12911
dup_strings
Name: dup_strings
Prototype: static int dup_strings(char ***dstp, size_t *ndstp, char **src, size_t nsrc)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 111-136
  0.000% (0/25)
577
ecdsa_generate_private_key
Name: ecdsa_generate_private_key
Prototype: static int ecdsa_generate_private_key(u_int bits, int *nid, EC_KEY **ecdsap)
Coverage:  56.250% (9/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1583-1609
 56.250% (9/16)
396
encode_attrib
Name: encode_attrib
Prototype: int encode_attrib(struct sshbuf *b, const Attrib *a)
Coverage:  0.000% (0/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 153-179
  0.000% (0/32)
1810
encode_constraints
Name: encode_constraints
Prototype: static int encode_constraints(struct sshbuf *m, u_int life, u_int confirm, u_int maxsign)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 395-417
  0.000% (0/24)
148
endian_convert [umac.c #1]
Name: endian_convert [umac.c #1]
Prototype: static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 552-573
  0.000% (0/13)
145
endian_convert [umac.c #2]
Name: endian_convert [umac.c #2]
Prototype: static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 552-573
  0.000% (0/13)
145
ensure_minimum_time_since
Name: ensure_minimum_time_since
Prototype: static void ensure_minimum_time_since(double start, double seconds)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 235-250
  0.000% (0/4)
132
enter_raw_mode
Name: enter_raw_mode
Prototype: void enter_raw_mode(int quiet)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshtty.c
Lines: 68-96
  0.000% (0/13)
1065
env_permitted
Name: env_permitted
Prototype: static int env_permitted(char *env)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c
Lines: 257-276
  0.000% (0/22)
485
equal
Name: equal
Prototype: static crypto_uint32 equal(crypto_uint32 a,crypto_uint32 b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 16-22
100.000% (1/1)
41
equal
Name: equal
Prototype: static unsigned char equal(signed char b,signed char c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Lines: 152-161
100.000% (1/1)
71
errno_to_portable
Name: errno_to_portable
Prototype: static int errno_to_portable(int unixerrno)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 182-214
  0.000% (0/19)
1513
error
Name: error
Prototype: void error(const char *fmt,...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 162-170
  0.000% (0/1)
201
execute_in_shell
Name: execute_in_shell
Prototype: static int execute_in_shell(const char *cmd)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 478-535
  0.000% (0/33)
13911
exited_cleanly
Name: exited_cleanly
Prototype: int exited_cleanly(pid_t pid, const char *tag, const char *cmd, int quiet)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1729-1749
  0.000% (0/13)
475
expand_authorized_keys
Name: expand_authorized_keys
Prototype: char * expand_authorized_keys(const char *filename, struct passwd *pw)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 425-448
  0.000% (0/9)
213
expand_proxy_command
Name: expand_proxy_command
Prototype: static char * expand_proxy_command(const char *proxy_command, const char *user, const char *host, int port)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 88-100
  0.000% (0/1)
151
explicit_bzero
Name: explicit_bzero
Prototype: void explicit_bzero(void *p, size_t n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/explicit_bzero.c
Lines: 36-53
100.000% (4/4)
32
export_dns_rr
Name: export_dns_rr
Prototype: int export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dns.c
Lines: 319-356
  0.000% (0/17)
256
extract_salt
Name: extract_salt
Prototype: static int extract_salt(const char *s, u_int l, u_char *salt, size_t salt_len)
Coverage:  19.672% (12/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 72-117
 19.672% (12/61)
23913
fakepw
Name: fakepw
Prototype: struct passwd * fakepw(void)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 717-738
  0.000% (0/5)
181
fatal
Name: fatal
Prototype: void fatal(const char *fmt,...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 623-632
  0.000% (0/1)
211
fdlim_get
Name: fdlim_get
Prototype: static int fdlim_get(int hard)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 119-134
  0.000% (0/11)
163
fdlim_set
Name: fdlim_set
Prototype: static int fdlim_set(int lim)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 136-155
  0.000% (0/10)
174
fill_default_options
Name: fill_default_options
Prototype: void fill_default_options(Options * options)
Coverage:  0.000% (0/254)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 1930-2129
  0.000% (0/254)
37278
fill_default_options_for_canonicalization
Name: fill_default_options_for_canonicalization
Prototype: void fill_default_options_for_canonicalization(Options *options)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 1915-1924
  0.000% (0/10)
64
fill_default_server_options
Name: fill_default_server_options
Prototype: void fill_default_server_options(ServerOptions *options)
Coverage:  53.160% (143/269)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 258-460
 53.160% (143/269)
40485
filter_list
Name: filter_list
Prototype: static char * filter_list(const char *proposal, const char *filter, int blacklist)
Coverage:  50.000% (15/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 303-330
 50.000% (15/30)
1316
fingerprint_b64
Name: fingerprint_b64
Prototype: static char * fingerprint_b64(const char *alg, u_char *dgst_raw, size_t dgst_raw_len)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 943-965
 41.667% (5/12)
424
fingerprint_bubblebabble
Name: fingerprint_bubblebabble
Prototype: static char * fingerprint_bubblebabble(u_char *dgst_raw, size_t dgst_raw_len)
Coverage:  73.333% (11/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 985-1031
 73.333% (11/15)
445
fingerprint_hex
Name: fingerprint_hex
Prototype: static char * fingerprint_hex(const char *alg, u_char *dgst_raw, size_t dgst_raw_len)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 967-983
 66.667% (6/9)
173
fingerprint_one_key
Name: fingerprint_one_key
Prototype: static void fingerprint_one_key(const struct sshkey *public, const char *comment)
Coverage:  61.538% (8/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 855-874
 61.538% (8/13)
293
fingerprint_private
Name: fingerprint_private
Prototype: static void fingerprint_private(const char *path)
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 876-898
 30.000% (3/10)
314
fingerprint_randomart
Name: fingerprint_randomart
Prototype: static char * fingerprint_randomart(const char *alg, u_char *dgst_raw, size_t dgst_raw_len, const struct sshkey *k)
Coverage:  84.615% (44/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1066-1161
 84.615% (44/52)
6512
flags_from_portable
Name: flags_from_portable
Prototype: static int flags_from_portable(int pflags)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 216-238
  0.000% (0/24)
458
fmprintf
Name: fmprintf
Prototype: int fmprintf(FILE *stream, const char *fmt, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c
Lines: 277-287
  0.000% (0/1)
221
fmt_intarg
Name: fmt_intarg
Prototype: static const char * fmt_intarg(OpCodes code, int val)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2422-2457
  0.000% (0/29)
1616
fmt_intarg
Name: fmt_intarg
Prototype: static const char * fmt_intarg(ServerOpCodes code, int val)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2396-2426
  0.000% (0/24)
1413
fmt_multistate_int
Name: fmt_multistate_int
Prototype: static const char * fmt_multistate_int(int val, const struct multistate *m)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2384-2394
  0.000% (0/7)
83
fmt_scaled
Name: fmt_scaled
Prototype: int fmt_scaled(long long number, char *result)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/fmt_scaled.c
Lines: 218-276
  0.000% (0/44)
4112
fmt_time
Name: fmt_time
Prototype: static char * fmt_time(time_t seconds)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 512-526
  0.000% (0/5)
82
fork_postauth
Name: fork_postauth
Prototype: static void fork_postauth(void)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1567-1576
  0.000% (0/7)
103
format_absolute_time
Name: format_absolute_time
Prototype: void format_absolute_time(uint64_t t, char *buf, size_t len)
Coverage:  0.000% (0/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 2008-2016
  0.000% (0/3)
41
format_forward
Name: format_forward
Prototype: static char * format_forward(u_int ftype, struct Forward *fwd)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c
Lines: 551-585
  0.000% (0/9)
535
format_identity
Name: format_identity
Prototype: static char * format_identity(Identity *id)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 588-606
  0.000% (0/4)
232
format_key
Name: format_key
Prototype: static char * format_key(const struct sshkey *key)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 76-85
  0.000% (0/1)
51
format_listen_addrs
Name: format_listen_addrs
Prototype: static char * format_listen_addrs(struct listenaddr *la)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2477-2514
  0.000% (0/11)
624
format_method_key
Name: format_method_key
Prototype: static char * format_method_key(Authctxt *authctxt)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 273-308
  0.000% (0/8)
663
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
format_size
Name: format_size
Prototype: static void format_size(char *buf, int size, off_t bytes)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 106-117
  0.000% (0/6)
72
format_timestamp
Name: format_timestamp
Prototype: static void format_timestamp(u_int64_t timestamp, char *ts, size_t nts)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 829-843
  0.000% (0/4)
102
forward_equals
Name: forward_equals
Prototype: int forward_equals(const struct Forward *a, const struct Forward *b)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1560-1577
  0.000% (0/19)
137
free_dns_query
Name: free_dns_query
Prototype: static void free_dns_query(struct dns_query *p)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 557-567
  0.000% (0/7)
83
free_dns_response
Name: free_dns_response
Prototype: static void free_dns_response(struct dns_response *p)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 583-594
  0.000% (0/4)
92
free_dns_rr
Name: free_dns_rr
Prototype: static void free_dns_rr(struct dns_rr *p)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 569-581
  0.000% (0/10)
104
free_hostkeys
Name: free_hostkeys
Prototype: void free_hostkeys(struct hostkeys *hostkeys)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 291-305
  0.000% (0/4)
92
free_identity
Name: free_identity
Prototype: static void free_identity(Identity *id)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 184-191
  0.000% (0/1)
41
free_sftp_dirents
Name: free_sftp_dirents
Prototype: void free_sftp_dirents(SFTP_DIRENT **s)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 681-693
  0.000% (0/7)
103
freeargs
Name: freeargs
Prototype: void freeargs(arglist *args)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 904-916
  0.000% (0/7)
133
freerrset
Name: freerrset
Prototype: void freerrset(struct rrsetinfo *rrset)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 348-377
  0.000% (0/25)
249
freeze
Name: freeze
Prototype: static void freeze(unsigned int a[32])
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Lines: 50-60
100.000% (7/7)
73
freezero
Name: freezero
Prototype: void freezero(void *ptr, size_t sz)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/freezero.c
Lines: 24-31
100.000% (4/4)
62
fudge_closedir
Name: fudge_closedir
Prototype: static void fudge_closedir(struct SFTP_OPENDIR *od)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-glob.c
Lines: 103-108
  0.000% (0/1)
21
fudge_lstat
Name: fudge_lstat
Prototype: static int fudge_lstat(const char *path, struct stat *st)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-glob.c
Lines: 110-121
  0.000% (0/4)
52
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
fudge_readdir
Name: fudge_readdir
Prototype: static struct dirent * fudge_readdir(struct SFTP_OPENDIR *od)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-glob.c
Lines: 64-101
  0.000% (0/7)
163
fudge_stat
Name: fudge_stat
Prototype: static int fudge_stat(const char *path, struct stat *st)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-glob.c
Lines: 123-134
  0.000% (0/4)
52
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
fwd_perm_clear
Name: fwd_perm_clear
Prototype: static void fwd_perm_clear(struct permission *perm)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 455-462
  0.000% (0/1)
41
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
g_Ctoc
Name: g_Ctoc
Prototype: static int g_Ctoc(const Char *str, char *buf, u_int len)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 1035-1044
  0.000% (0/7)
43
g_charclass
Name: g_charclass
Prototype: static int g_charclass(const Char **patternp, Char **bufnextp)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 437-462
  0.000% (0/17)
275
g_lstat
Name: g_lstat
Prototype: static int g_lstat(Char *fn, struct stat *sb, _ssh_compat_glob_t *pglob)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 1001-1011
  0.000% (0/7)
103
g_opendir
Name: g_opendir
Prototype: static DIR * g_opendir(Char *str, _ssh_compat_glob_t *pglob)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 983-999
  0.000% (0/11)
164
g_stat
Name: g_stat
Prototype: static int g_stat(Char *fn, struct stat *sb, _ssh_compat_glob_t *pglob)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 1013-1023
  0.000% (0/7)
103
g_strchr
Name: g_strchr
Prototype: static Char * g_strchr(const Char *str, int ch)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 1025-1033
  0.000% (0/7)
83
g_strncmp
Name: g_strncmp
Prototype: static int g_strncmp(const Char *s1, const char *s2, size_t n)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 422-435
  0.000% (0/10)
84
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
ga_init
Name: ga_init
Prototype: int ga_init(const char *user, gid_t base)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/groupaccess.c
Lines: 49-78
  0.000% (0/17)
456
ga_match
Name: ga_match
Prototype: int ga_match(char * const *groups, int n)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/groupaccess.c
Lines: 84-94
  0.000% (0/8)
64
ga_match_pattern_list
Name: ga_match_pattern_list
Prototype: int ga_match_pattern_list(const char *group_pattern)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/groupaccess.c
Lines: 100-116
  0.000% (0/10)
75
gcd
Name: gcd
Prototype: static int gcd(int a, int b)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c
Lines: 118-131
  0.000% (0/4)
72
ge
Name: ge
Prototype: static crypto_uint32 ge(crypto_uint32 a,crypto_uint32 b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 24-31
100.000% (1/1)
51
ge25519_mixadd2
Name: ge25519_mixadd2
Prototype: static void ge25519_mixadd2(crypto_sign_ed25519_ref_ge25519 *r, const ge25519_aff *q)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Lines: 83-104
100.000% (1/1)
191
gen_candidates
Name: gen_candidates
Prototype: int gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 242-446
  0.000% (0/94)
11730
get_connection_info
Name: get_connection_info
Prototype: struct connection_info * get_connection_info(int populate, int use_dns)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 911-925
  0.000% (0/4)
92
get_decode_stat
Name: get_decode_stat
Prototype: static Attrib * get_decode_stat(struct sftp_conn *conn, u_int expected_id, int quiet)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 288-331
  0.000% (0/28)
419
get_decode_statvfs
Name: get_decode_statvfs
Prototype: static int get_decode_statvfs(struct sftp_conn *conn, struct sftp_statvfs *st, u_int expected_id, int quiet)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 333-390
  0.000% (0/52)
539
Page:<>1
Function: BSDgetopt
...3
Function: chan_is_dead
4
Function: channel_request_rforward_cancel_tcpip
5
Function: client_wait_until_can_do_something
6
Function: delete_all
78
Function: get_ec
9
Function: input_userauth_ext_info
10
Function: load_hostkeys
11
Function: mm_key_allowed
...20
Function: subprocess
21
Function: xasprintf

Generated by Squish Coco 4.2.2