OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/4)
...17
Condition %:  44.444% (4/9)
18
Condition %:  55.172% (16/29)
19
Condition %:  78.571% (11/14)
20
Condition %: 100.000% (4/4)
21
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
sshpkt_put_u32
Name: sshpkt_put_u32
Prototype: int sshpkt_put_u32(struct ssh *ssh, u_int32_t val)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2441-2445
100.000% (1/1)
11
sshpkt_putb
Name: sshpkt_putb
Prototype: int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2429-2433
100.000% (1/1)
11
sshpkt_start
Name: sshpkt_start
Prototype: int sshpkt_start(struct ssh *ssh, u_char type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 2573-2583
100.000% (1/1)
51
strdelim
Name: strdelim
Prototype: char * strdelim(char **s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 286-290
100.000% (1/1)
11
sub
Name: sub
Prototype: static void sub(unsigned int out[32],const unsigned int a[32],const unsigned int b[32])
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Lines: 20-32
100.000% (4/4)
92
times19
Name: times19
Prototype: static crypto_uint32 times19(crypto_uint32 a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 33-36
100.000% (1/1)
11
times38
Name: times38
Prototype: static crypto_uint32 times38(crypto_uint32 a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 38-41
100.000% (1/1)
11
timingsafe_bcmp
Name: timingsafe_bcmp
Prototype: int timingsafe_bcmp(const void *b1, const void *b2, size_t n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/timingsafe_bcmp.c
Lines: 23-32
100.000% (4/4)
52
uuencode
Name: uuencode
Prototype: int uuencode(const u_char *src, u_int srclength, char *target, size_t targsize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c
Lines: 43-48
100.000% (1/1)
51
verbose
Name: verbose
Prototype: void verbose(const char *fmt,...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 210-218
100.000% (1/1)
201
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
Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/4)
...17
Condition %:  44.444% (4/9)
18
Condition %:  55.172% (16/29)
19
Condition %:  78.571% (11/14)
20
Condition %: 100.000% (4/4)
21

Generated by Squish Coco 4.2.2