Branch Coverage

blib/lib/App/Spec/Completion/Bash.pm
Criterion Covered Total %
branch 0 76 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 eq 'file' or $type eq 'dir') { }
0 0 elsif ($opt->completion) { }
365 0 0 if (not ref $def and $def == 1) { }
0 0 elsif (ref $def) { }
366 0 0 unless my $possible_values = $p->values
367 0 0 unless $op = $possible_values->{'op'}
379 0 0 $p->isa('App::Spec::Option') ? :
385 0 0 if ($op) { }
0 0 elsif ($command or $command_string) { }
397 0 0 if ($command) { }
0 0 elsif (defined $command_string) { }
401 0 0 unless (ref $arg)
405 0 0 if (my $replace = $arg->{'replace'})
406 0 0 if (ref $replace eq 'ARRAY') { }
408 0 0 if ($replace->[0] eq 'SHELL_WORDS')
411 0 0 if ($num ne 'CURRENT')
412 0 0 if ($num =~ /^-/) { }
424 0 0 if ($replace eq 'SELF')
492 0 0 if ($enum) { }
0 0 elsif ($type eq 'file' or $type eq 'dir') { }
0 0 elsif ($param->completion) { }