lib/Templer/Plugin/FileGlob.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
158 | 1 | 65 | if ($hash{$key} =~ /^file_glob\((.*)\)/) |
182 | 1 | 0 | if ($dirName =~ m[^(.*)/(.*)$]) |
209 | 0 | 5 | if ($file =~ m[^/]) { } |
236 | 0 | 5 | if ($file =~ /\.(jpe?g|png|gif)$/i) { } |
1 | 4 | elsif ($suffix and $file =~ /$suffix$/i) { } | |
242 | 0 | 0 | unless ($@) |
244 | 0 | 0 | if (-e $file) { } |
276 | 4 | 0 | if (open my $handle, '<:utf8', $file) |
294 | 1 | 0 | if ($ref) { } |