line |
true |
false |
branch |
62
|
4 |
10 |
unless substr($msg, -1) eq "\n" |
71
|
12 |
12 |
unless defined $extra |
72
|
5 |
19 |
unless $self->{'_attr'}{$item} |
84
|
16 |
28 |
if (length $_ == 1) { } |
92
|
24 |
2 |
if ($type) { } |
|
0 |
2 |
elsif ($label) { } |
93
|
10 |
14 |
if ($label) { } |
97
|
8 |
6 |
$type eq 'i' ? : |
115
|
16 |
56 |
if (exists $DEFER_ARGS{$_->{'name'}}) { } |
124
|
4 |
68 |
ref $arg->{'help'} && ref $arg->{'help'} eq 'ARRAY' ? : |
125
|
4 |
68 |
$arg->{'label'} && ref $arg->{'label'} && ref $arg->{'label'} eq 'ARRAY' ? : |
130
|
52 |
26 |
if ($help =~ /^\s*-/) { } |
135
|
6 |
20 |
if $i < $#$help_array |
140
|
12 |
60 |
if ($help_string =~ /%s/) { } |
141
|
12 |
0 |
defined $arg->{'default'} ? : |
165
|
5 |
1 |
if $self->{'_attr'}{'url'} |
178
|
4 |
0 |
$self->_usage ? : |
179
|
4 |
0 |
$self->_options ? : |
198
|
35 |
369 |
if (defined $self->{$name}) { } |
215
|
2 |
286 |
if ($arg->{'required'} and not defined $$self{$arg->{'name'}}) |
219
|
2 |
22 |
if (@missing) |
231
|
2 |
30 |
if $self->{'usage'} |
232
|
2 |
28 |
if $self->{'version'} |
233
|
4 |
24 |
if $self->{'help'} |
247
|
0 |
15 |
if $@ |
254
|
3 |
12 |
unless exists $Config->{$section} |
263
|
12 |
13 |
if defined $self->{'_spec'} |
272
|
0 |
65 |
if (/\s/ and /^[^"']/ || /[^"']$/) { } |
|
1 |
64 |
elsif ($_ eq '') { } |
295
|
39 |
229 |
if $key =~ /^_/ |
298
|
26 |
203 |
if exists $DEFAULT{$key} and $hash->{$key} eq $DEFAULT{$key} |
299
|
52 |
151 |
if grep {$key eq $_;} 'help', 'usage', 'version', 'extra-opts' |
300
|
102 |
49 |
unless defined $hash->{$key} |
304
|
47 |
2 |
if ($spec =~ /[=:].+$/) { } |
306
|
30 |
17 |
ref $hash->{$key} eq 'ARRAY' ? : |
308
|
33 |
32 |
if (length $key > 1) { } |
319
|
0 |
2 |
length $key > 1 ? : |
323
|
12 |
13 |
wantarray ? : |
341
|
0 |
15 |
if ($extopts =~ /^([^\@]*)@(.*?)\s*$/) |
357
|
2 |
30 |
if $args->{'verbose'} and $args->{'verbose'} >= 3 |
370
|
177 |
17 |
if ($_[0] =~ /^(spec|help|required|default)$/ and scalar(@_) % 2 == 0) { } |
411
|
0 |
35 |
unless $ok |
419
|
0 |
32 |
unless $ok |