Branch Coverage

blib/lib/App/Spec/Completion/Bash.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
87 0 0 if defined $summary
91 0 0 length $_ > 1 ? :
98 0 0 if ($o->type eq 'flag') { }
116 0 0 wantarray ? :
140 0 0 length $summary ? :
146 0 0 if (keys %$commands)
159 0 0 if $flags_string
160 0 0 if $options_string
167 0 0 if (keys %$subcommands or @$cmd_options or @$parameters) { }
189 0 0 if (@$options)
197 0 0 if (@$parameters)
209 0 0 if (keys %$commands)
289 0 0 $length > 1 ? :
290 0 0 if $length > $maxlength
297 0 0 if $type eq "flag"
300 0 0 if (defined $summary)
309 0 0 length $n > 1 ? :
314 0 0 length $summary ? :
323 0 0 if ($enum) { }
0 0 elsif ($type =~ /^file(name)?\z/) { }
0 0 elsif ($type =~ /^dir(name)?\z/) { }
0 0 elsif ($opt->completion) { }
380 0 0 if (not ref $def and $def == 1) { }
0 0 elsif (ref $def) { }
381 0 0 unless my $possible_values = $p->values
382 0 0 unless $op = $possible_values->{'op'}
394 0 0 $p->isa('App::Spec::Option') ? :
400 0 0 if ($op) { }
0 0 elsif ($command or $command_string) { }
412 0 0 if ($command) { }
0 0 elsif (defined $command_string) { }
416 0 0 unless (ref $arg)
420 0 0 if (my $replace = $arg->{'replace'})
421 0 0 if (ref $replace eq 'ARRAY') { }
423 0 0 if ($replace->[0] eq "SHELL_WORDS")
426 0 0 if ($num ne "CURRENT")
427 0 0 if ($num =~ /^-/) { }
439 0 0 if ($replace eq "SELF")
507 0 0 if ($enum) { }
0 0 elsif ($type =~ /^file(name)?\z/) { }
0 0 elsif ($type =~ /^dir(name)?\z/) { }
0 0 elsif ($param->completion) { }