Branch Coverage

blib/lib/Plack/Middleware/Debug/LazyLoadModules.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
10 3 2 unless $self->elements
27 122 0 if $filter and _is_regexp($filter) and not $module =~ /$filter/
28 362 125 if ($preload and $modules{$module}) { }
3 123 elsif ($lazy and not $modules{$module}) { }
58 123 242 if ($self->class and $module_path =~ /\.pm$/)
66 122 0 ref $_[0] eq 'Regexp' ? :
73 8 5 if $element eq $e