| line |
true |
false |
branch |
|
38
|
7 |
12 |
unless $args{'highlights'} |
|
55
|
12 |
7 |
if @$cmds |
|
56
|
6 |
13 |
if (keys %$subcmds) |
|
61
|
3 |
3 |
if ($highlights{'subcommands'}) { } |
|
74
|
0 |
6 |
if (@$cmds) { } |
|
79
|
10 |
2 |
if (exists $keys{$key}) |
|
92
|
16 |
22 |
if (length $name > $maxlength) |
|
99
|
9 |
10 |
if (@$parameters) |
|
106
|
8 |
17 |
$highlight ? : |
|
109
|
8 |
17 |
if ($highlight) |
|
114
|
24 |
1 |
if ($param->required) |
|
117
|
0 |
25 |
if ($param->mapping) { } |
|
|
6 |
19 |
elsif ($param->multiple) { } |
|
129
|
14 |
11 |
if (length $name > $maxlength) |
|
140
|
19 |
0 |
if (@$options) |
|
148
|
4 |
65 |
$highlight ? : |
|
152
|
69 |
40 |
length $_ > 1 ? : |
|
155
|
55 |
14 |
if (length $string > $maxlength) |
|
159
|
0 |
69 |
if ($opt->required) |
|
162
|
3 |
66 |
if ($opt->mapping) { } |
|
|
16 |
50 |
elsif ($opt->multiple) { } |
|
188
|
70 |
79 |
if ($param->type eq "flag") |
|
191
|
31 |
118 |
if ($param->multiple) |
|
194
|
4 |
145 |
if ($param->mapping) |
|
197
|
83 |
66 |
@flags ? : |
|
206
|
12 |
88 |
if ($highlights->[$i]) |
|
218
|
34 |
90 |
defined $lengths->[$_] ? : |
|
224
|
28 |
6 |
wantarray ? : |
|
253
|
0 |
0 |
if ($shell eq 'zsh') { } |
|
|
0 |
0 |
elsif ($shell eq 'bash') { } |
|
276
|
139 |
0 |
if (my $aliases = $opt->aliases) |
|
279
|
49 |
90 |
unless ($opt->type eq "flag") |
|
283
|
34 |
105 |
if ($opt->multiple) |
|
284
|
29 |
5 |
if ($opt->type eq 'flag') { } |
|
|
5 |
0 |
elsif ($opt->mapping) { } |