| line |
true |
false |
branch |
|
14
|
1 |
11 |
ref $$arg_ref{'array_ref'} ne 'ARRAY' ? : |
|
22
|
1 |
25 |
if $arg eq '--' |
|
24
|
0 |
25 |
$$arg_ref{'strict'} ? : |
|
26
|
23 |
2 |
if ($arg =~ s/$rg/$1/) { } |
|
28
|
12 |
11 |
defined $value ? : |
|
31
|
0 |
2 |
unless $$arg_ref{'quiet'} |
|
36
|
0 |
12 |
if ($$self{'opts'}{'help'} and $$arg_ref{'help_coderef'}) |
|
42
|
1 |
11 |
if (not keys %{$$self{'opts'};} and $$arg_ref{'no_args_help'}) |
|
46
|
2 |
10 |
if (ref $$arg_ref{'known_only'} eq 'ARRAY') |
|
52
|
1 |
1 |
unless (exists $lookup{$k}) |
|
58
|
1 |
1 |
if $unknown |
|
61
|
2 |
10 |
if (ref $$arg_ref{'required'} eq 'ARRAY') |
|
65
|
1 |
1 |
unless (exists $$self{'opts'}{$k}) |
|
71
|
1 |
1 |
if $missing |
|
74
|
2 |
10 |
if (ref $$arg_ref{'validate'} eq 'CODE') |
|
75
|
1 |
1 |
unless $$arg_ref{'validate'}($self) |
|
78
|
2 |
10 |
if (ref $$arg_ref{'actions'} eq 'ARRAY') |
|
80
|
2 |
0 |
if (exists $$self{'opts'}{$$k[0]}) |
|
81
|
1 |
1 |
if (ref $$k[1] eq 'CODE') { } |
|
101
|
2 |
0 |
wantarray ? : |
|
|
2 |
26 |
unless $name |
|
102
|
5 |
21 |
if @val |
|
103
|
3 |
23 |
unless exists $$self{'opts'}{$name} |
|
104
|
6 |
17 |
wantarray ? : |