Branch Coverage

blib/lib/Config/OpenSSH/Authkey/Entry/Options.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
30 2 2 if (defined $option_string)
65 7 17 if ($option_string =~ / \G ($AUTHKEY_OPTION_NAME_RE)="( (?: \\"|[^"] )*? )" (?:,|[ \t]+)? /cgx)
77 10 7 if ($option_string =~ / \G ($AUTHKEY_OPTION_NAME_RE) (?:,|[ \t]+)? /cgx)
86 1 6 wantarray ? :
106 9 9 if (exists $options_ref->{'value'}) { }
124 3 2 unless $_->{'value'}
127 3 2 defined $values[0] ? :
3 5 wantarray ? :
145 2 6 if ($options_ref->{'name'} eq $option_name)
146 2 0 if defined $option_value
150 5 1 if ($updated == 0) { }
1 0 elsif ($updated > 1) { }
151 3 2 defined $option_value ? :
160 2 1 unless $_->{'name'} ne $option_name