Branch Coverage

blib/lib/CatalystX/InjectComponent.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
23 0 0 if ('Class::Inspector'->loaded($package))
35 0 0 if ($given{'catalyst'}) { }
42 0 0 unless $into
43 0 0 unless $component
45 0 0 unless (loaded $component)
46 0 0 unless eval "require $component;"
50 0 0 unless ($as =~ /^(?:Controller|Model|View)::/ or $given{'skip_mvc_renaming'})
53 0 0 if ($component->isa("Catalyst::$_"))
58 0 0 unless $category
63 0 0 unless (loaded $component_package)
64 0 0 unless eval "package $component_package; use parent qw/$component/; 1;"