Branch Coverage

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


line true false branch
78 0 0 $level > 1 ? :
81 0 0 unless (keys %$commands)
96 0 0 if ($param_args)
99 0 0 if (keys %$commands)
103 0 0 if (@$options and not keys %$commands)
120 0 0 if (keys %$commands)
147 0 0 if ($cmds)
156 0 0 if (keys %$commands)
164 0 0 if ($cmd_state or $subcmd_state)
184 0 0 unless @$parameters
194 0 0 if ($p->multiple)
201 0 0 if (my $enum = $p->enum) { }
0 0 elsif ($p->type eq 'file') { }
0 0 elsif ($p->type eq 'user') { }
0 0 elsif ($p->type eq 'host') { }
0 0 elsif ($p->completion) { }
247 0 0 if (not ref $def and $def == 1) { }
0 0 elsif (ref $def) { }
248 0 0 unless my $possible_values = $p->values
249 0 0 unless $op = $possible_values->{'op'}
261 0 0 $p->isa('App::Spec::Option') ? :
267 0 0 if ($op) { }
0 0 elsif ($command or $command_string) { }
279 0 0 if ($command) { }
0 0 elsif (defined $command_string) { }
282 0 0 unless (ref $arg)
286 0 0 if (my $replace = $arg->{'replace'})
287 0 0 if (ref $replace eq 'ARRAY') { }
289 0 0 if ($replace->[0] eq 'SHELL_WORDS')
292 0 0 if ($num ne 'CURRENT')
293 0 0 if ($num =~ /^-/) { }
305 0 0 if ($replace eq 'SELF')
335 0 0 unless keys %$commands
357 0 0 if (ref $_ eq 'ARRAY') { }
368 0 0 length $summary ? :
388 0 0 if ($opt->completion) { }
0 0 elsif ($enum) { }
0 0 elsif ($type eq 'file' or $type eq 'dir') { }
0 0 elsif (not ref $type and $type ne 'flag') { }
390 0 0 length $_ > 1 ? :
419 0 0 $opt->multiple ? :
423 0 0 length $_ > 1 ? :