OpenCoverage

OpenSSH Test Coverage

Functions

Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
...17
Function: ssh_packet_get_ecpoint
18
Function: sshauthopt_parse
19
Function: sshkey_is_cert
20
Function: subprocess
21
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
xasprintf
Name: xasprintf
Prototype: int xasprintf(char **ret, const char *fmt, ...)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 104-118
  0.000% (0/6)
262
xauth_valid_string
Name: xauth_valid_string
Prototype: static int xauth_valid_string(const char *s)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 372-384
  0.000% (0/17)
153
xcalloc
Name: xcalloc
Prototype: void * xcalloc(size_t nmemb, size_t size)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 52-66
 41.667% (5/12)
144
xcrypt
Name: xcrypt
Prototype: char * xcrypt(const char *password, const char *salt)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Lines: 98-127
  0.000% (0/4)
72
xmalloc
Name: xmalloc
Prototype: void * xmalloc(size_t size)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 39-50
 42.857% (3/7)
93
xreallocarray
Name: xreallocarray
Prototype: void * xreallocarray(void *ptr, size_t nmemb, size_t size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 68-78
 50.000% (2/4)
82
xrecallocarray
Name: xrecallocarray
Prototype: void * xrecallocarray(void *ptr, size_t onmemb, size_t nmemb, size_t size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 80-90
 50.000% (2/4)
82
xstrdup
Name: xstrdup
Prototype: char * xstrdup(const char *str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 92-102
100.000% (1/1)
61
xstrsep
Name: xstrsep
Prototype: static char * xstrsep(char **str, const char *delim)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 162-178
  0.000% (0/7)
253
zero_pad [umac.c #1]
Name: zero_pad [umac.c #1]
Prototype: static void zero_pad(UINT8 *p, int nbytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 642-662
  0.000% (0/13)
135
zero_pad [umac.c #2]
Name: zero_pad [umac.c #2]
Prototype: static void zero_pad(UINT8 *p, int nbytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 642-662
  0.000% (0/13)
135
Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
...17
Function: ssh_packet_get_ecpoint
18
Function: sshauthopt_parse
19
Function: sshkey_is_cert
20
Function: subprocess
21

Generated by Squish Coco 4.2.2