Branch Coverage

blib/lib/Mite/App/Command.pm.mite.pm
Criterion Covered Total %
branch 21 50 42.0


line true false branch
66 80 80 *{$_;}{'CODE'} ? :
70 0 160 *{$_;}{'CODE'} ? :
80 0 80 ref $_[0] ? :
86 0 80 @_ == 1 ? :
0 80 $meta->{'HAS_BUILDARGS'} ? :
91 0 80 unless exists $args->{'app'}
92 0 80 unless &blessed($args->{'app'})
97 80 0 if ref $self->{'app'}
101 0 80 if (exists $args->{'kingpin_command'})
102 0 0 unless &blessed($args->{'kingpin_command'})
109 0 80 unless $meta->{'BUILD'}
80 0 if not $no_build and @{[] unless $meta->{'BUILD'};}
114 0 80 if @unknown
124 0 80 unless $meta->{'BUILD'}
132 80 0 defined ${^GLOBAL_PHASE} ? :
136 0 80 unless $meta->{'DEMOLISH'}
143 0 0 if $e
168 0 109 unless &blessed($object)
181 0 88 unless @_ == 1
185 8 80 exists $_[0]{'kingpin_command'} ? :
187 0 80 unless &blessed($default_value)
200 0 0 if exists $DOES{$role}
201 0 0 if $role eq "Mite::App::Command"
202 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
205 0 0 if $meta->can("does_role") and $meta->does_role($role)