Branch Coverage

blib/lib/Mite/App.pm.mite.pm
Criterion Covered Total %
branch 28 72 38.8


line true false branch
65 16 0 *{$_;}{'CODE'} ? :
69 0 16 *{$_;}{'CODE'} ? :
79 0 16 ref $_[0] ? :
85 0 16 @_ == 1 ? :
0 16 $meta->{'HAS_BUILDARGS'} ? :
92 0 16 exists $args->{'commands'} ? :
93 0 16 unless do {
96 16 0 if (ref $value eq "HASH")
101 0 0 unless do {
119 0 16 if (exists $args->{'kingpin'})
120 0 0 unless &blessed($args->{'kingpin'})
128 0 16 if (exists $args->{'project'})
130 0 0 unless &blessed($args->{'project'}) and $args->{'project'}->isa("Mite::Project")
137 0 16 unless $meta->{'BUILD'}
16 0 if not $no_build and @{[] unless $meta->{'BUILD'};}
143 0 16 if @unknown
153 0 16 unless $meta->{'BUILD'}
161 16 0 defined ${^GLOBAL_PHASE} ? :
165 0 16 unless $meta->{'DEMOLISH'}
172 0 0 if $e
201 16 0 exists $_[0]{'kingpin'} ? :
203 0 0 unless &blessed($default_value)
212 0 16 unless &blessed($object)
217 0 130 unless @_ == 1
220 114 16 exists $_[0]{'kingpin'} ? :
222 0 16 unless &blessed($default_value)
241 31 0 exists $_[0]{'project'} ? :
243 0 0 unless &blessed($default_value) and $default_value->isa("Mite::Project")
253 0 31 unless &blessed($object)
258 0 26 unless @_ == 1
261 12 14 exists $_[0]{'project'} ? :
263 0 14 unless &blessed($default_value) and $default_value->isa("Mite::Project")
281 0 0 if exists $DOES{$role}
282 0 0 if $role eq "Mite::App"
283 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
286 0 0 if $meta->can("does_role") and $meta->does_role($role)