Condition Coverage

blib/lib/MooseX/App.pm
Criterion Covered Total %
condition 15 24 62.5


and 3 conditions

line !l l&&!r l&&r condition
100 68 0 0 scalar @args == 1 and ref $args[0] eq 'HASH'
121 2 63 2 defined $first_argv and lc($first_argv) =~ /^(help|h|\?|usage|-h|--help|-\?|--usage)$/
143 61 0 2 &blessed($return) and $return->isa('MooseX::App::Message::Block')

or 3 conditions

line l !l&&r !l&&!r condition
84 0 1 69 not defined $class or &blessed($class)
91 1 0 68 $metameta->does_role('MooseX::App::Meta::Role::Class::Command') or not $metameta->does_role('MooseX::App::Meta::Role::Class::Base')
96 0 68 0 $ENV{'APP_DEVELOPER'} or $ENV{'HARNESS_ACTIVE'}
121 2 0 63 not defined $first_argv or $first_argv =~ /^\s*$/
2 0 63 not defined $first_argv or $first_argv =~ /^\s*$/ or $first_argv =~ /^-{1,2}\w/