line |
true |
false |
branch |
16
|
0 |
2 |
if ($@) { } |
17
|
0 |
0 |
$VERSION eq '9999.999' ? : |
37
|
0 |
7 |
-t STDOUT ? : |
76
|
0 |
0 |
if (my $command = $self->{'command'}) |
77
|
0 |
0 |
unless $self->_command_options->{$command} |
88
|
0 |
7 |
if grep {/\P{ASCII}/;} @args |
94
|
0 |
7 |
unless my $opts = $self->get_options('args', \@args, 'spec', $self->_early_options, 'config', 'pass_through') |
100
|
0 |
7 |
if ($ENV{'CODEOWNERS_COMPLETIONS'}) |
106
|
0 |
0 |
if $cur eq ($args_copy[$cword] || '') |
112
|
1 |
6 |
if ($opts->{'version'}) |
117
|
1 |
5 |
if ($opts->{'help'}) |
120
|
0 |
5 |
if ($opts->{'manual'}) |
123
|
0 |
5 |
if (defined $opts->{'shell_completion'}) |
131
|
0 |
5 |
unless ($command_options) |
132
|
0 |
0 |
if defined $command |
137
|
1 |
4 |
unless my $more_opts = $self->get_options('args', \@args, 'spec', $command_options) |
151
|
0 |
4 |
unless grep {$_ eq $command;} @commands |
159
|
0 |
4 |
unless $self->{'args'} |
165
|
0 |
12 |
@_ == 1 && ref $_[0] eq 'HASH' ? : |
176
|
0 |
12 |
if (my $fn = $args->{'callback'}) |
185
|
1 |
11 |
unless $p->getoptionsfromarray($args->{'args'}, %options) |
195
|
0 |
0 |
if ($type eq 'bash') { } |
244
|
0 |
0 |
if ($prev eq '--format' or $prev eq '-f') { } |
|
0 |
0 |
elsif ($current =~ /^-/) { } |
251
|
0 |
0 |
if (not $self->command) { } |
276
|
0 |
0 |
if ($op eq '!') { } |
280
|
0 |
0 |
if (length $name > 1) { } |