Branch Coverage

blib/lib/Mite/Project.pm.mite.pm
Criterion Covered Total %
branch 23 76 30.2


line true false branch
63 0 105 *{$_;}{'CODE'} ? :
67 0 105 *{$_;}{'CODE'} ? :
77 0 108 ref $_[0] ? :
83 0 108 @_ == 1 ? :
0 108 $meta->{'HAS_BUILDARGS'} ? :
91 0 108 exists $args->{'sources'} ? :
93 0 108 unless do {
96 108 0 if (ref $value eq "HASH")
101 0 0 unless do {
103 0 0 if &Scalar::Util::blessed($i)
118 0 108 if (exists $args->{'config'})
120 0 0 unless &blessed($args->{'config'}) and $args->{'config'}->isa("Mite::Config")
128 0 108 if (exists $args->{'_module_fakeout_namespace'})
129 0 0 unless do {
136 0 0 if (defined $args->{'_module_fakeout_namespace'})
142 0 0 unless ref \$args->{'_module_fakeout_namespace'} eq "SCALAR"
147 0 0 unless (do {
163 0 108 exists $args->{'debug'} ? :
165 0 0 unless not ref $value and !defined($value) || $value eq '' || $value eq '0' || $value eq '1'
177 0 108 unless $meta->{'BUILD'}
0 108 if not $no_build and @{[] unless $meta->{'BUILD'};}
184 0 108 if @unknown
194 0 0 unless $meta->{'BUILD'}
202 5 0 defined ${^GLOBAL_PHASE} ? :
206 0 5 unless $meta->{'DEMOLISH'}
213 0 0 if $e
226 0 0 unless do {
230 0 0 unless do {
233 0 0 if (defined $_[1])
234 0 0 unless ref \$_[1] eq "SCALAR"
246 0 519 @_ > 1 ? :
252 0 973 unless @_ == 1
255 870 103 exists $_[0]{'config'} ? :
258 0 103 unless &blessed($default_value) and $default_value->isa("Mite::Config")
274 0 0 unless not ref $_[1] and !defined($_[1]) || $_[1] eq '' || $_[1] eq '0' || $_[1] eq '1'
285 14 315 @_ > 1 ? :
307 0 0 if exists $DOES{$role}
308 0 0 if $role eq "Mite::Project"