Branch Coverage

blib/lib/Net/Prober/ssh.pm
Criterion Covered Total %
branch 4 10 40.0


line true false branch
27 0 1 unless ($sock)
35 0 1 unless ($ssh_banner)
42 0 1 unless ($ssh_banner =~ qr/^SSH- (? [^\-]+) - (? [^\s]+) \s? (? .*)? $/x)
59 0 1 if ($username and $password)
61 0 0 unless ($self->_get_reply($sock))