Branch Coverage

blib/lib/App/Spec/Completion/Zsh.pm
Criterion Covered Total %
branch 0 88 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 =~ /^file(name)?\z/) { }
0 0 elsif ($p->type =~ /^dir(name)?\z/) { }
0 0 elsif ($p->type eq 'user') { }
0 0 elsif ($p->type eq 'host') { }
0 0 elsif ($p->completion) { }
250 0 0 if (not ref $def and $def == 1) { }
0 0 elsif (ref $def) { }
251 0 0 unless my $possible_values = $p->values
252 0 0 unless $op = $possible_values->{'op'}
264 0 0 $p->isa('App::Spec::Option') ? :
270 0 0 if ($op) { }
0 0 elsif ($command or $command_string) { }
282 0 0 if ($command) { }
0 0 elsif (defined $command_string) { }
285 0 0 unless (ref $arg)
289 0 0 if (my $replace = $arg->{'replace'})
290 0 0 if (ref $replace eq 'ARRAY') { }
292 0 0 if ($replace->[0] eq 'SHELL_WORDS')
295 0 0 if ($num ne 'CURRENT')
296 0 0 if ($num =~ /^-/) { }
308 0 0 if ($replace eq 'SELF')
338 0 0 unless keys %$commands
360 0 0 if (ref $_ eq 'ARRAY') { }
371 0 0 length $summary ? :
391 0 0 if ($opt->completion) { }
0 0 elsif ($enum) { }
0 0 elsif ($type =~ /^file(name)?\z/) { }
0 0 elsif ($type =~ /^dir(name)?\z/) { }
0 0 elsif (not ref $type and $type ne 'flag') { }
393 0 0 length $_ > 1 ? :
425 0 0 $opt->multiple ? :
429 0 0 length $_ > 1 ? :