| blib/lib/Text/MicroMason/TemplatePath.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 0 | 16 | if 'File::Spec'->file_name_is_absolute($src_data) |
| 21 | 6 | 10 | if $current |
| 26 | 9 | 16 | unless -e $fn |
| 38 | 0 | 12 | if (my $root = $self->{'strict_root'}) |
| 41 | 0 | 0 | unless $path =~ m[\A\Q$root\E(/|(?<=/))(?!\.\.)] |
| 52 | 2 | 4 | unless $src_type eq 'file' |