| line |
true |
false |
branch |
|
16
|
0 |
2 |
if ($@) { } |
|
17
|
0 |
0 |
$VERSION eq '9999.999' ? : |
|
37
|
0 |
7 |
-t STDOUT ? : |
|
77
|
0 |
0 |
if (my $command = $self->{'command'}) |
|
78
|
0 |
0 |
unless $self->_command_options->{$command} |
|
89
|
0 |
7 |
if grep {/\P{ASCII}/;} @args |
|
95
|
0 |
7 |
unless my $opts = $self->get_options("args", \@args, "spec", $self->_early_options, "config", "pass_through") |
|
101
|
0 |
7 |
if ($ENV{'CODEOWNERS_COMPLETIONS'}) |
|
107
|
0 |
0 |
if $cur eq ($args_copy[$cword] || '') |
|
113
|
1 |
6 |
if ($opts->{'version'}) |
|
118
|
1 |
5 |
if ($opts->{'help'}) |
|
121
|
0 |
5 |
if ($opts->{'manual'}) |
|
124
|
0 |
5 |
if (defined $opts->{'shell_completion'}) |
|
132
|
0 |
5 |
unless ($command_options) |
|
133
|
0 |
0 |
if defined $command |
|
138
|
1 |
4 |
unless my $more_opts = $self->get_options("args", \@args, "spec", $command_options) |
|
152
|
0 |
4 |
unless grep {$_ eq $command;} @commands |
|
160
|
0 |
4 |
unless $self->{'args'} |
|
166
|
0 |
12 |
@_ == 1 && ref $_[0] eq 'HASH' ? : |
|
177
|
0 |
12 |
if (my $fn = $args->{'callback'}) |
|
186
|
1 |
11 |
unless $p->getoptionsfromarray($args->{'args'}, %options) |
|
196
|
0 |
0 |
if ($type eq 'bash') { } |
|
245
|
0 |
0 |
if ($prev eq '--format' or $prev eq '-f') { } |
|
|
0 |
0 |
elsif ($current =~ /^-/) { } |
|
252
|
0 |
0 |
if (not $self->command) { } |
|
277
|
0 |
0 |
if ($op eq '!') { } |
|
281
|
0 |
0 |
if (length $name > 1) { } |