OpenCoverage

OpenSSH Test Coverage

Sources

Page:<>12
Condition %:  0.000% (0/5)
SourceCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
verify.c
Source: verify.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/verify.c
Coverage: 100.000% (1/1)
100.000% (1/1)
341
timingsafe_bcmp.c
Source: timingsafe_bcmp.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/timingsafe_bcmp.c
Coverage: 100.000% (4/4)
100.000% (4/4)
52
smult_curve25519_ref.c
Source: smult_curve25519_ref.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Coverage: 100.000% (101/101)
100.000% (101/101)
18241
poly1305.c
Source: poly1305.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/poly1305.c
Coverage: 100.000% (20/20)
100.000% (20/20)
9510
freezero.c
Source: freezero.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/freezero.c
Coverage: 100.000% (4/4)
100.000% (4/4)
62
explicit_bzero.c
Source: explicit_bzero.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/explicit_bzero.c
Coverage: 100.000% (4/4)
100.000% (4/4)
32
fe25519.c
Source: fe25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Coverage:  96.800% (121/125)
 96.800% (121/125)
20057
ed25519.c
Source: ed25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ed25519.c
Coverage:  95.455% (42/44)
 95.455% (42/44)
7417
ge25519.c
Source: ge25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Coverage:  83.333% (35/42)
 83.333% (35/42)
15824
sshbuf-getput-basic.c
Source: sshbuf-getput-basic.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c
Coverage:  81.509% (216/265)
 81.509% (216/265)
40095
chacha.c
Source: chacha.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c
Coverage:  80.556% (29/36)
 80.556% (29/36)
14613
strlcat.c
Source: strlcat.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strlcat.c
Coverage:  80.000% (12/15)
 80.000% (12/15)
175
strlcpy.c
Source: strlcpy.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strlcpy.c
Coverage:  78.947% (15/19)
 78.947% (15/19)
127
cipher-chachapoly.c
Source: cipher-chachapoly.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c
Coverage:  77.273% (17/22)
 77.273% (17/22)
5410
bcrypt_pbkdf.c
Source: bcrypt_pbkdf.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c
Coverage:  75.000% (36/48)
 75.000% (36/48)
7014
sshbuf.c
Source: sshbuf.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c
Coverage:  73.367% (146/199)
 73.367% (146/199)
27370
uuencode.c
Source: uuencode.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c
Coverage:  70.370% (19/27)
 70.370% (19/27)
369
bitmap.c
Source: bitmap.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Coverage:  68.807% (75/109)
 68.807% (75/109)
12439
arc4random.c
Source: arc4random.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Coverage:  67.692% (44/65)
 67.692% (44/65)
14026
base64.c
Source: base64.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/base64.c
Coverage:  66.981% (71/106)
 66.981% (71/106)
14937
sc25519.c
Source: sc25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c
Coverage:  64.844% (83/128)
 64.844% (83/128)
17157
sshbuf-getput-crypto.c
Source: sshbuf-getput-crypto.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c
Coverage:  63.636% (70/110)
 63.636% (70/110)
16138
recallocarray.c
Source: recallocarray.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/recallocarray.c
Coverage:  56.757% (21/37)
 56.757% (21/37)
658
sshbuf-misc.c
Source: sshbuf-misc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-misc.c
Coverage:  56.701% (55/97)
 56.701% (55/97)
20929
blowfish.c
Source: blowfish.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Coverage:  55.714% (39/70)
 55.714% (39/70)
19032
bsd-signal.c
Source: bsd-signal.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-signal.c
Coverage:  53.846% (7/13)
 53.846% (7/13)
395
hmac.c
Source: hmac.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Coverage:  52.381% (33/63)
 52.381% (33/63)
8123
digest-openssl.c
Source: digest-openssl.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Coverage:  50.602% (42/83)
 50.602% (42/83)
14233
hash.c
Source: hash.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hash.c
Coverage:  50.000% (2/4)
 50.000% (2/4)
52
bsd-closefrom.c
Source: bsd-closefrom.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-closefrom.c
Coverage:  50.000% (15/30)
 50.000% (15/30)
286
kexc25519.c
Source: kexc25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519.c
Coverage:  47.500% (19/40)
 47.500% (19/40)
418
kexc25519c.c
Source: kexc25519c.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519c.c
Coverage:  47.458% (28/59)
 47.458% (28/59)
10917
kexecdhc.c
Source: kexecdhc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdhc.c
Coverage:  47.368% (36/76)
 47.368% (36/76)
17322
kexgex.c
Source: kexgex.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgex.c
Coverage:  46.939% (23/49)
 46.939% (23/49)
345
chacha_private.h
Source: chacha_private.h
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h
Coverage:  46.875% (15/32)
 46.875% (15/32)
12113
kexgexs.c
Source: kexgexs.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexs.c
Coverage:  46.789% (51/109)
 46.789% (51/109)
19025
ssh-ed25519.c
Source: ssh-ed25519.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ed25519.c
Coverage:  46.512% (60/129)
 46.512% (60/129)
34133
kexc25519s.c
Source: kexc25519s.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519s.c
Coverage:  46.296% (25/54)
 46.296% (25/54)
10816
libressl-api-compat.c
Source: libressl-api-compat.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c
Coverage:  46.284% (137/296)
 46.284% (137/296)
490100
kexdhc.c
Source: kexdhc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdhc.c
Coverage:  45.977% (40/87)
 45.977% (40/87)
16528
kexecdhs.c
Source: kexecdhs.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdhs.c
Coverage:  45.714% (32/70)
 45.714% (32/70)
15320
kexecdh.c
Source: kexecdh.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdh.c
Coverage:  45.714% (16/35)
 45.714% (16/35)
295
kexdh.c
Source: kexdh.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdh.c
Coverage:  45.714% (16/35)
 45.714% (16/35)
295
kexgexc.c
Source: kexgexc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexc.c
Coverage:  45.690% (53/116)
 45.690% (53/116)
22430
kexdhs.c
Source: kexdhs.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdhs.c
Coverage:  45.122% (37/82)
 45.122% (37/82)
15927
ssh-ecdsa.c
Source: ssh-ecdsa.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ecdsa.c
Coverage:  44.604% (62/139)
 44.604% (62/139)
36836
ssh_api.c
Source: ssh_api.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Coverage:  44.308% (144/325)
 44.308% (144/325)
76494
entropy.c
Source: entropy.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/entropy.c
Coverage:  42.857% (3/7)
 42.857% (3/7)
133
match.c
Source: match.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Coverage:  42.731% (97/227)
 42.731% (97/227)
84655
ssh-dss.c
Source: ssh-dss.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-dss.c
Coverage:  41.912% (57/136)
 41.912% (57/136)
38837
setproctitle.c
Source: setproctitle.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/setproctitle.c
Coverage:  41.071% (23/56)
 41.071% (23/56)
12316
strtonum.c
Source: strtonum.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strtonum.c
Coverage:  40.000% (12/30)
 40.000% (12/30)
717
addrmatch.c
Source: addrmatch.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c
Coverage:  39.057% (116/297)
 39.057% (116/297)
59899
xmalloc.c
Source: xmalloc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Coverage:  38.235% (13/34)
 38.235% (13/34)
7114
sshkey.c
Source: sshkey.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Coverage:  38.175% (1146/3002)
 38.175% (1146/3002)
7457913
reallocarray.c
Source: reallocarray.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/reallocarray.c
Coverage:  30.000% (3/10)
 30.000% (3/10)
192
utf8.c
Source: utf8.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c
Coverage:  29.878% (98/328)
 29.878% (98/328)
129078
ssh-rsa.c
Source: ssh-rsa.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c
Coverage:  28.731% (129/449)
 28.731% (129/449)
1604118
hostfile.c
Source: hostfile.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Coverage:  26.726% (151/565)
 26.726% (151/565)
1467150
kex.c
Source: kex.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c
Coverage:  25.405% (204/803)
 25.405% (204/803)
2660211
authfile.c
Source: authfile.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c
Coverage:  24.934% (94/377)
 24.934% (94/377)
902122
packet.c
Source: packet.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Coverage:  24.750% (346/1398)
 24.750% (346/1398)
1954433
cipher.c
Source: cipher.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c
Coverage:  22.849% (77/337)
 22.849% (77/337)
978101
log.c
Source: log.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Coverage:  20.149% (27/134)
 20.149% (27/134)
46470
bsd-misc.c
Source: bsd-misc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-misc.c
Coverage:  20.000% (3/15)
 20.000% (3/15)
435
dh.c
Source: dh.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c
Coverage:  18.750% (42/224)
 18.750% (42/224)
76766
openssl-compat.c
Source: openssl-compat.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/openssl-compat.c
Coverage:  16.667% (2/12)
 16.667% (2/12)
124
atomicio.c
Source: atomicio.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c
Coverage:  15.068% (11/73)
 15.068% (11/73)
17622
vis.c
Source: vis.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c
Coverage:  14.573% (29/199)
 14.573% (29/199)
18837
getopt_long.c
Source: getopt_long.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c
Coverage:  13.897% (46/331)
 13.897% (46/331)
57674
servconf.c
Source: servconf.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Coverage:  12.549% (321/2558)
 12.549% (321/2558)
6420713
ssh-keygen.c
Source: ssh-keygen.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Coverage:  10.882% (275/2527)
 10.882% (275/2527)
7250708
dispatch.c
Source: dispatch.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Coverage:  9.375% (6/64)
  9.375% (6/64)
5722
sshd.c
Source: sshd.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Coverage:  7.449% (80/1074)
  7.449% (80/1074)
2388344
compat.c
Source: compat.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/compat.c
Coverage:  7.246% (5/69)
  7.246% (5/69)
23825
misc.c
Source: misc.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Coverage:  6.370% (83/1303)
  6.370% (83/1303)
3680381
mac.c
Source: mac.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c
Coverage:  6.250% (12/192)
  6.250% (12/192)
66658
xcrypt.c
Source: xcrypt.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Coverage:  0.000% (0/21)
  0.000% (0/21)
549
umac.c #2
Source: umac.c #2
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c
Coverage:  0.000% (0/143)
  0.000% (0/143)
29663
umac.c #1
Source: umac.c #1
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c
Coverage:  0.000% (0/143)
  0.000% (0/143)
27563
uidswap.c
Source: uidswap.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uidswap.c
Coverage:  0.000% (0/96)
  0.000% (0/96)
15228
ttymodes.h
Source: ttymodes.h
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.h
Coverage:  0.000% (0/824)
  0.000% (0/824)
644222
ttymodes.c
Source: ttymodes.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Coverage:  0.000% (0/171)
  0.000% (0/171)
22973
strmode.c
Source: strmode.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strmode.c
Coverage:  0.000% (0/65)
  0.000% (0/65)
7627
sshtty.c
Source: sshtty.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshtty.c
Coverage:  0.000% (0/26)
  0.000% (0/26)
12510
sshpty.c
Source: sshpty.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshpty.c
Coverage:  0.000% (0/66)
  0.000% (0/66)
24021
sshlogin.c
Source: sshlogin.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshlogin.c
Coverage:  0.000% (0/47)
  0.000% (0/47)
21314
ssherr.c
Source: ssherr.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssherr.c
Coverage:  0.000% (0/120)
  0.000% (0/120)
6561
sshconnect2.c
Source: sshconnect2.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Coverage:  0.000% (0/1137)
  0.000% (0/1137)
2820310
sshconnect.c
Source: sshconnect.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Coverage:  0.000% (0/866)
  0.000% (0/866)
2143260
ssh.c
Source: ssh.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Coverage:  0.000% (0/1773)
  0.000% (0/1773)
5817471
ssh-pkcs11.c
Source: ssh-pkcs11.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Coverage:  0.000% (0/351)
  0.000% (0/351)
810108
ssh-pkcs11-helper.c
Source: ssh-pkcs11-helper.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c
Coverage:  0.000% (0/224)
  0.000% (0/224)
47472
ssh-pkcs11-client.c
Source: ssh-pkcs11-client.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-client.c
Coverage:  0.000% (0/136)
  0.000% (0/136)
20943
ssh-keysign.c
Source: ssh-keysign.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keysign.c
Coverage:  0.000% (0/266)
  0.000% (0/266)
79074
ssh-keyscan.c
Source: ssh-keyscan.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Coverage:  0.000% (0/472)
  0.000% (0/472)
1158146
ssh-agent.c
Source: ssh-agent.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Coverage:  0.000% (0/758)
  0.000% (0/758)
1472248
ssh-add.c
Source: ssh-add.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-add.c
Coverage:  0.000% (0/429)
  0.000% (0/429)
1227140
sftp.c
Source: sftp.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Coverage:  0.000% (0/1259)
  0.000% (0/1259)
2604416
sftp-server.c
Source: sftp-server.c
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Coverage:  0.000% (0/967)
  0.000% (0/967)
1826301
Page:<>12
Condition %:  0.000% (0/5)

Generated by Squish Coco 4.2.2