Branch Coverage

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


line true false branch
30 0 1 unless ($sock)
38 0 1 unless ($ssh_banner)
45 0 1 unless ($ssh_banner =~ qr/^SSH- (? [^\-]+) - (? [^\s]+) \s? (? .*)? $/x)
62 0 1 if ($username and $password)
64 0 0 unless ($self->_get_reply($sock))