Branch Coverage

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


line true false branch
151 2 35 if (ref $dir eq 'CODE') { }
153 0 2 if ($@) { }
161 23 12 if (-d $dir and -f $dir . '/' . $path)
164 20 3 unless ($in_static_dir)
168 3 3 if ($path =~ m[^$ignore(/|\\)])
170 0 3 if $config->{'debug'}
177 3 77 if ($path =~ /.*\.$ignore_ext$/imsx)
179 0 3 if $config->{'debug'}
186 0 17 if $config->{'debug'}
209 0 17 if ($config->{'expires'})
214 17 0 if (defined $fh) { }
231 1 1 if (-e $full_path) { }
233 0 1 if $config->{'debug'}
237 0 1 if $config->{'debug'}
252 17 0 if ($full_path =~ /.*\.(\S{1,})$/msx) { }
256 15 2 if ($type) { }
257 0 15 if $config->{'debug'}
258 13 2 ref $type ? :
262 0 2 if $config->{'debug'}
268 0 0 if $config->{'debug'}
276 1 2 unless (defined $c->_static_debug_message)
280 1 2 if ($msg)