OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
eLOC - Effective Lines of Code: 1
...10
eLOC - Effective Lines of Code: 15
...17
eLOC - Effective Lines of Code: 62
18
eLOC - Effective Lines of Code: 92
19
eLOC - Effective Lines of Code: 148
20
eLOC - Effective Lines of Code: 224
21
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
main
Name: main
Prototype: int main(int ac, char **av)
Coverage:  16.190% (68/420)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1466-2235
 16.190% (68/420)
1019127
server_input_global_request
Name: server_input_global_request
Prototype: static int server_input_global_request(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/248)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 754-861
  0.000% (0/248)
109050
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
sshkey_parse_private2
Name: sshkey_parse_private2
Prototype: static int sshkey_parse_private2(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp, char **commentp)
Coverage:  34.012% (117/344)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 3551-3768
 34.012% (117/344)
124478
cert_option_list
Name: cert_option_list
Prototype: static int cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob, u_int which, int crit)
Coverage:  0.000% (0/276)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 140-252
  0.000% (0/276)
126164
parse_server_match_testspec
Name: parse_server_match_testspec
Prototype: int parse_server_match_testspec(struct connection_info *ci, char *spec)
Coverage:  0.000% (0/267)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2220-2249
  0.000% (0/267)
131045
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
channel_fwd_bind_addr
Name: channel_fwd_bind_addr
Prototype: static const char * channel_fwd_bind_addr(const char *listen_addr, int *wildcardp, int is_client, struct ForwardOptions *fwd_opts)
Coverage:  0.000% (0/319)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 3266-3312
  0.000% (0/319)
150763
do_init
Name: do_init
Prototype: struct sftp_conn * do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, u_int64_t limit_kbps)
Coverage:  0.000% (0/363)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 392-492
  0.000% (0/363)
171576
process_config_line_depth
Name: process_config_line_depth
Prototype: static int process_config_line_depth(Options *options, struct passwd *pw, const char *host, const char *original_host, char *line, const char *filename, int linenum, int *activep, int flags, int depth)
Coverage:  0.000% (0/1004)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 831-1725
  0.000% (0/1004)
2330285
process_server_config_line
Name: process_server_config_line
Prototype: int process_server_config_line(ServerOptions *options, char *line, const char *filename, int linenum, int *activep, struct connection_info *connectinfo)
Coverage:  8.960% (112/1250)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 1199-2171
  8.960% (112/1250)
3096331
Page:<>1
eLOC - Effective Lines of Code: 1
...10
eLOC - Effective Lines of Code: 15
...17
eLOC - Effective Lines of Code: 62
18
eLOC - Effective Lines of Code: 92
19
eLOC - Effective Lines of Code: 148
20
eLOC - Effective Lines of Code: 224
21

Generated by Squish Coco 4.2.2