Branch Coverage

blib/lib/Catalyst/Plugin/PluginLoader.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
46 1 0 if (my $plugins = $class->config->{'Plugin::PluginLoader'}{'plugins'})
49 0 1 unless ref $plugins
51 0 1 if &reftype($plugins) ne 'ARRAY'
55 1 2 s/\A\+// ? :
70 1 2 if ($meta and $meta->blessed and $meta->isa('Moose::Meta::Role')) { }
80 0 1 if ($class->debug)
83 0 0 if (@plugins)
99 0 4 unless ((caller 1)[3] =~ /::setup\z/)
106 4 0 if $code
108 0 4 unless $code