Branch Coverage

blib/lib/App/CLI.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
133 42 3 if (@_)
181 0 42 unless $p->getoptions(@app_options)
187 0 55 ref $opt{$_} ? :
198 9 13 unless ref $self
200 22 0 if $self->can('app')
229 4 20 if (exists $alias{$cmd})
233 3 1 if $cmd =~ s/^\+//
239 2 19 unless $cmd
249 2 2 if (defined $pkg) { }
1 1 elsif (do { $self->app_argv }->[0]) { }
272 2 24 unless $cmd and $cmd eq lc $cmd
277 2 22 unless $pkg
281 0 22 unless $pkg->can('run')
283 20 2 defined $data ? :