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)
78 10 7 if ($option_string =~ / \G ($AUTHKEY_OPTION_NAME_RE) (?:,|[ \t]+)? /cgx)
88 1 6 wantarray ? :
108 9 9 if (exists $$options_ref{'value'}) { }
125 3 2 unless $$_{'value'}
129 3 2 defined $values[0] ? :
3 5 wantarray ? :
147 2 6 if ($$options_ref{'name'} eq $option_name)
148 2 0 if defined $option_value
152 5 1 if ($updated == 0) { }
1 0 elsif ($updated > 1) { }
153 3 2 defined $option_value ? :
162 2 1 unless $$_{'name'} ne $option_name