Branch Coverage

blib/lib/Mite/Project.pm
Criterion Covered Total %
branch 28 56 50.0


line true false branch
121 0 95 if $self->debug
134 88 0 unless eval {
139 0 11 if $mop_package
151 2 0 unless my $mop_file = $self->_project_mopper_file
164 0 0 if (my $yuck = $self->_module_fakeout_namespace)
170 0 0 if $self->debug
250 0 86 if ($self->{'_already'}{$file}++)
251 0 0 if $self->debug
255 0 86 if (defined $self->_project_mopper_file and $file eq $self->_project_mopper_file)
257 0 0 if $self->debug
261 0 86 if $self->debug
265 0 86 if (defined $self->_module_fakeout_namespace)
274 0 0 unless eval "$code; 1"
280 86 0 if (my $pm_file = eval {
285 0 0 unless eval $file->slurp
299 10 21 if -d $path
300 4 17 unless $path =~ /\.pm$/
301 2 15 if $path =~ /\.mite\.pm$/
324 13 33 if -d $path
325 10 23 if $path =~ /\.mite\.pm$/
336 0 4 if $self->debug
345 0 1 if $self->debug
371 0 9 if $self->debug
375 9 0 unless -e $self->config->config_file
388 0 4 if $self->debug
391 0 4 if $shim_package eq "Mite::Shim"
420 0 12 if ref $dir
423 4 8 if -e $shim