Branch Coverage

blib/lib/Catalyst/Plugin/Static/Simple.pm
Criterion Covered Total %
branch 31 44 70.4


line true false branch
152 2 34 if (ref $dir eq 'CODE') { }
154 0 2 if ($@) { }
162 22 12 if (-d $dir and -f $dir . '/' . $path)
165 19 3 unless ($in_static_dir)
169 3 3 if ($path =~ m[^$ignore(/|\\)])
171 0 3 if $config->{'debug'}
178 3 72 if ($path =~ /.*\.$ignore_ext$/imsx)
180 0 3 if $config->{'debug'}
187 0 16 if $config->{'debug'}
210 0 16 if ($config->{'expires'})
215 16 0 if (defined $fh) { }
232 1 1 if (-e $full_path) { }
234 0 1 if $config->{'debug'}
238 0 1 if $config->{'debug'}
253 16 0 if ($full_path =~ /.*\.(\S{1,})$/msx) { }
257 14 2 if ($type) { }
258 0 14 if $config->{'debug'}
259 12 2 ref $type ? :
263 0 2 if $config->{'debug'}
269 0 0 if $config->{'debug'}
277 1 2 unless (defined $c->_static_debug_message)
281 1 2 if ($msg)