| lib/Mojolicious/Plugin/Fondation/Action/Templates.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 10 | 22 | 139 | unless $share_dir and -d $share_dir |
| 13 | 52 | 87 | unless -d $templates_dir |
| 38 | 12 | 171 | unless $file->basename =~ /\.(?:html?|txt|xml|json)\.ep$/iu |
| 58 | 69 | 18 | unless -d $zone_base |
| 67 | 0 | 30 | unless $basename =~ /\.(html|js)\.ep$/iu |
| 79 | 18 | 12 | if ($type eq 'html') { } |