Branch Coverage

blib/lib/CatalystX/InjectModule/MI.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
71 0 0 if ($self->debug > 1)
76 0 0 if $self->debug
93 0 0 unless defined $Module->{'name'}
114 0 0 if ($dir eq '__INC__')
115 0 0 if $INC[-1] eq '.'
137 0 0 if ($M->{'_injected'})
165 0 0 if $$all{$m->{'name'}}
176 0 0 unless unlink $persist_f
189 0 0 unless my $cfg = 'Config::Any'->load_files({'files', [$config], 'use_ext', 1})
199 0 0 if ($path eq $m->{'path'})
205 0 0 if defined $mod_config->{'version'}
260 0 0 unless -d $libpath
270 0 0 if grep {/TraitFor/;} $file
273 0 0 if grep {/Model|View|Controller/;} $file
276 0 0 if grep {m[/View/\w*\.pm];} $file
287 0 0 if ($self->_is_installed($module))
295 0 0 if (-f $module_file)
298 0 0 if ($mod->can('install'))
313 0 0 unless ($self->_is_installed($module))
321 0 0 if (-f $module_file)
324 0 0 if ($mod->can('uninstall'))
336 0 0 if -e $self->_persist_file_name($module)
345 0 0 unless DumpFile($persist_f, $module)
358 0 0 unless -d $persist_d
372 0 0 if (not $self->catalyst_plugins->{$p}) { }
391 0 0 unless ($plugin =~ s/^\+(.*)/$1/)
398 0 0 if ($meta and &blessed($meta) and $meta->isa('Moose::Meta::Role')) { }
417 0 0 unless ((caller 1)[3] =~ /::setup\z/)
424 0 0 if $code
426 0 0 unless $code
447 0 0 if (-d $template_dir)
465 0 0 if (-d $static_dir)
499 0 0 unless -f $_
500 0 0 unless /$regex/