| blib/lib/Text/MicroMason/TemplateDir.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 16 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 7 | 28 | unless $src_type eq 'file' |
| 25 | 21 | 3 | 'File::Spec'->file_name_is_absolute($src_data) || !$current ? : |
| 33 | 24 | 0 | unless @_ |
| 41 | 2 | 8 | unless $src_type eq 'file' |
| 50 | 0 | 28 | if (my $root = $self->{'strict_root'}) |
| 51 | 0 | 0 | if $root eq '1' |
| 53 | 0 | 0 | unless my $root_path = Cwd::abs_path($root) |
| 56 | 0 | 0 | unless $path =~ /\A\Q$root_path\E/ |