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 |
54 |
$highlight ? : |
148
|
58 |
36 |
length $_ > 1 ? : |
151
|
47 |
11 |
if (length $string > $maxlength) |
155
|
0 |
58 |
if ($opt->required) |
158
|
3 |
55 |
if ($opt->mapping) { } |
|
15 |
40 |
elsif ($opt->multiple) { } |
182
|
38 |
44 |
if ($param->type eq 'flag') |
185
|
24 |
58 |
if ($param->multiple) |
188
|
3 |
79 |
if ($param->mapping) |
191
|
47 |
35 |
@flags ? : |
200
|
12 |
70 |
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
|
119 |
0 |
if (my $aliases = $opt->aliases) |
273
|
38 |
81 |
unless ($opt->type eq 'flag') |
277
|
33 |
86 |
if ($opt->multiple) |
278
|
28 |
5 |
if ($opt->type eq 'flag') { } |
|
5 |
0 |
elsif ($opt->mapping) { } |