Branch Coverage

blib/lib/Net/SSH/AuthorizedKey/SSH2.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
36 22 25 if length $string
39 43 4 if length $self->{'email'}
58 0 0 if ($self->accessor_exists($lcfield)) { }
71 0 0 if ($self->comment =~ /\b(.*?)-key/) { }
0 0 elsif (not $self->{'strict'}) { }
85 57 35 unless ($line =~ s/^($KEYTYPE_REGEX)\s*//)
93 0 35 unless ($line =~ s/^(\S+)\s*//)
118 0 2 unless (length $self->$field)
132 0 0 if (exists $VALID_OPTIONS{$option})