| line |
true |
false |
branch |
|
32
|
0 |
62 |
if ($is_completion) { } |
|
39
|
62 |
0 |
ref $v eq 'HASH' ? : |
|
40
|
62 |
0 |
if (ref $handler eq 'CODE') |
|
61
|
34 |
6 |
if ($pass_through) { } |
|
63
|
34 |
0 |
unless grep {$_ eq 'pass_through';} @configure |
|
71
|
34 |
6 |
if $pass_through |
|
108
|
0 |
0 |
$stash->{'path'} ? : |
|
|
0 |
97 |
unless grep {$_ eq $k;} @known_cmdspec_keys |
|
119
|
1 |
39 |
unless (_gl_getoptions($ospec, $cmdspec->{'configure'}, $pass_through, $res)) |
|
126
|
0 |
39 |
if ($is_completion) |
|
133
|
34 |
5 |
if ($has_subcommands) |
|
135
|
0 |
34 |
if ($is_completion) |
|
145
|
0 |
34 |
if (defined $res->{'subcommand'}[$stash->{'level'}]) { } |
|
|
29 |
5 |
elsif (@ARGV) { } |
|
|
0 |
5 |
elsif (defined $cmdspec->{'default_subcommand'}) { } |
|
161
|
0 |
29 |
if ($is_completion) |
|
166
|
7 |
22 |
unless ($sc_spec) |
|
168
|
3 |
4 |
$stash->{'path'} ? : |
|
|
7 |
0 |
unless $is_completion |
|
173
|
22 |
0 |
if $push |
|
174
|
9 |
13 |
$stash->{'path'} ? : |
|
193
|
0 |
18 |
if ($ENV{'COMP_SHELL'}) { } |
|
|
0 |
18 |
elsif ($ENV{'COMMAND_LINE'}) { } |
|
201
|
0 |
18 |
if ($ENV{'COMP_LINE'} or $ENV{'COMMAND_LINE'}) |
|
202
|
0 |
0 |
if ($ENV{'COMP_LINE'}) { } |
|
|
0 |
0 |
elsif ($ENV{'COMMAND_LINE'}) { } |
|
225
|
0 |
18 |
if ($is_completion) |
|
234
|
0 |
0 |
if (not $cmdspec{'configure'}) { } |
|
|
0 |
0 |
elsif (grep {$_ eq 'bundling';} @{$cmdspec{'configure'};}) { } |
|
|
0 |
0 |
elsif (grep {$_ eq 'no_bundling';} @{$cmdspec{'configure'};}) { } |
|
252
|
0 |
0 |
if ($type eq 'arg' and $args{'argpos'} < @{$res->{'comp_subcommand_names'} // [];}) |
|
263
|
0 |
0 |
if $cmdspec{'completion'} |
|
267
|
0 |
0 |
if ($shell eq 'bash') { } |
|
|
0 |
0 |
elsif ($shell eq 'tcsh') { } |