Branch Coverage

blib/lib/App/Cmd/Command/commands.pm
Criterion Covered Total %
branch 11 34 32.3


line true false branch
39 1 3 $opt->stderr ? :
42 0 0 if ref $_
44 4 0 unless (@cmd_groups)
46 4 32 unless $_ ne "version"
53 0 4 if ($opt->for_completion)
58 0 4 if ($opt->bash_completion)
63 0 4 if ($opt->zsh_completion)
69 7 26 if length $_ > $fmt_width
73 0 8 unless (ref $cmd_set)
103 0 0 unless "Getopt::Long::Descriptive"->can("_completion_for_bash")
115 0 0 unless my $plugin = $app->plugin_for($cmd)
153 0 0 unless $flags_str or @{$completion->{'prev_cases'};}
157 0 0 if (@{$completion->{'prev_cases'};})
184 0 0 unless "Getopt::Long::Descriptive"->can("_completion_for_zsh")
197 0 0 unless my $plugin = $app->plugin_for($cmd)
231 0 0 if (@args) { }
234 0 0 $i < $#args ? :