| lib/WRT/Renderer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 20 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 1 | 0 | if (-e $publish_dir) { } |
| 28 | 0 | 1 | unless (-d $publish_dir) |
| 34 | 0 | 0 | if (@{$path_err;}) |
| 54 | 12 | 5 | if ($target =~ $wrt->entrypath_expr) |
| 56 | 0 | 12 | if @{$path_err;} |
| 68 | 0 | 5 | if (-d "$entry_dir/$target") |
| 77 | 0 | 5 | if @{$path_err;} |
| 88 | 0 | 14 | unless open my $fh, '>', $file |
| 102 | 5 | 17 | if /index$/ |
| 103 | 16 | 1 | if ($File::Find::name =~ m[^ \Q$entry_dir\E / (.*) $]x) |