Branch Coverage

blib/lib/Convert/SSH2.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
162 2 2 if (not $self->key =~ /\n/) { }
163 2 0 if (-e $self->key) { }
203 0 4 unless $b64
205 0 4 unless my $blob = decode_base64 $b64
221 0 4 unless unpack 'A*', $parts[0] eq 'ssh-rsa'
224 4 0 if (length $parts[1] <= 4) { }
293 0 0 unless $path
295 0 0 if (-e $path)
299 0 0 unless $self->_has_output