line |
true |
false |
branch |
38
|
4 |
12 |
unless $args{'highlights'} |
55
|
11 |
5 |
if @$cmds |
56
|
4 |
12 |
if (keys %$subcmds) |
61
|
3 |
1 |
if ($highlights{'subcommands'}) { } |
74
|
0 |
4 |
if (@$cmds) { } |
79
|
7 |
1 |
if (exists $keys{$key}) |
90
|
11 |
15 |
if (length $name > $maxlength) |
97
|
8 |
8 |
if (@$parameters) |
104
|
8 |
16 |
$highlight ? : |
107
|
8 |
16 |
if ($highlight) |
112
|
24 |
0 |
if ($param->required) |
115
|
0 |
24 |
if ($param->mapping) { } |
|
6 |
18 |
elsif ($param->multiple) { } |
125
|
13 |
11 |
if (length $name > $maxlength) |
136
|
16 |
0 |
if (@$options) |
144
|
4 |
58 |
$highlight ? : |
148
|
62 |
36 |
length $_ > 1 ? : |
151
|
49 |
13 |
if (length $string > $maxlength) |
155
|
0 |
62 |
if ($opt->required) |
158
|
3 |
59 |
if ($opt->mapping) { } |
|
15 |
44 |
elsif ($opt->multiple) { } |
182
|
38 |
48 |
if ($param->type eq 'flag') |
185
|
24 |
62 |
if ($param->multiple) |
188
|
3 |
83 |
if ($param->mapping) |
191
|
47 |
39 |
@flags ? : |
200
|
12 |
74 |
if ($highlights->[$i]) |
212
|
28 |
76 |
defined $lengths->[$_] ? : |
218
|
24 |
4 |
wantarray ? : |
247
|
0 |
0 |
if ($shell eq 'zsh') { } |
|
0 |
0 |
elsif ($shell eq 'bash') { } |
270
|
127 |
0 |
if (my $aliases = $opt->aliases) |
273
|
46 |
81 |
unless ($opt->type eq 'flag') |
277
|
33 |
94 |
if ($opt->multiple) |
278
|
28 |
5 |
if ($opt->type eq 'flag') { } |
|
5 |
0 |
elsif ($opt->mapping) { } |