Branch Coverage

blib/lib/Mite/Project.pm.mite.pm
Criterion Covered Total %
branch 23 80 28.7


line true false branch
65 0 106 *{$_;}{'CODE'} ? :
69 0 106 *{$_;}{'CODE'} ? :
79 0 109 ref $_[0] ? :
85 0 109 @_ == 1 ? :
0 109 $meta->{'HAS_BUILDARGS'} ? :
93 0 109 exists $args->{'sources'} ? :
95 0 109 unless do {
98 109 0 if (ref $value eq "HASH")
103 0 0 unless do {
105 0 0 if &Scalar::Util::blessed($i)
120 0 109 if (exists $args->{'config'})
122 0 0 unless &blessed($args->{'config'}) and $args->{'config'}->isa("Mite::Config")
130 0 109 if (exists $args->{'_module_fakeout_namespace'})
131 0 0 unless do {
138 0 0 if (defined $args->{'_module_fakeout_namespace'})
144 0 0 unless ref \$args->{'_module_fakeout_namespace'} eq "SCALAR"
149 0 0 unless (do {
165 0 109 exists $args->{'debug'} ? :
167 0 0 unless not ref $value and !defined($value) || $value eq '' || $value eq '0' || $value eq '1'
179 0 109 unless $meta->{'BUILD'}
0 109 if not $no_build and @{[] unless $meta->{'BUILD'};}
186 0 109 if @unknown
196 0 0 unless $meta->{'BUILD'}
204 5 0 defined ${^GLOBAL_PHASE} ? :
208 0 5 unless $meta->{'DEMOLISH'}
215 0 0 if $e
228 0 0 unless do {
232 0 0 unless do {
235 0 0 if (defined $_[1])
236 0 0 unless ref \$_[1] eq "SCALAR"
248 0 515 @_ > 1 ? :
254 0 936 unless @_ == 1
257 832 104 exists $_[0]{'config'} ? :
260 0 104 unless &blessed($default_value) and $default_value->isa("Mite::Config")
276 0 0 unless not ref $_[1] and !defined($_[1]) || $_[1] eq '' || $_[1] eq '0' || $_[1] eq '1'
287 14 309 @_ > 1 ? :
309 0 0 if exists $DOES{$role}
310 0 0 if $role eq "Mite::Project"
311 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
314 0 0 if $meta->can("does_role") and $meta->does_role($role)