Branch Coverage

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


line true false branch
90 0 0 length $_ > 1 ? :
97 0 0 if ($o->type eq 'flag') { }
115 0 0 wantarray ? :
138 0 0 length $summary ? :
144 0 0 if (keys %$commands)
157 0 0 if $flags_string
158 0 0 if $options_string
165 0 0 if (keys %$subcommands or @$cmd_options or @$parameters) { }
187 0 0 if (@$options)
195 0 0 if (@$parameters)
207 0 0 if (keys %$commands)
287 0 0 $length > 1 ? :
288 0 0 if $length > $maxlength
295 0 0 if $type eq 'flag'
304 0 0 length $n > 1 ? :
309 0 0 length $summary ? :
318 0 0 if ($enum) { }
0 0 elsif ($type =~ /^file(name)?\z/) { }
0 0 elsif ($type =~ /^dir(name)?\z/) { }
0 0 elsif ($opt->completion) { }
375 0 0 if (not ref $def and $def == 1) { }
0 0 elsif (ref $def) { }
376 0 0 unless my $possible_values = $p->values
377 0 0 unless $op = $possible_values->{'op'}
389 0 0 $p->isa('App::Spec::Option') ? :
395 0 0 if ($op) { }
0 0 elsif ($command or $command_string) { }
407 0 0 if ($command) { }
0 0 elsif (defined $command_string) { }
411 0 0 unless (ref $arg)
415 0 0 if (my $replace = $arg->{'replace'})
416 0 0 if (ref $replace eq 'ARRAY') { }
418 0 0 if ($replace->[0] eq 'SHELL_WORDS')
421 0 0 if ($num ne 'CURRENT')
422 0 0 if ($num =~ /^-/) { }
434 0 0 if ($replace eq 'SELF')
502 0 0 if ($enum) { }
0 0 elsif ($type =~ /^file(name)?\z/) { }
0 0 elsif ($type =~ /^dir(name)?\z/) { }
0 0 elsif ($param->completion) { }