| lib/Contenticious/Content/Node/Directory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 60 | 35 | if ($entry =~ /.md$/ and -f -r $entry) { } |
| 30 | 5 | elsif (-d -r -x $entry) { } | |
| 49 | 14 | 18 | if (-f -r $meta_fn) { } |
| 14 | 4 | elsif (my $index = $self->find_child('index')) { } | |
| 52 | 0 | 14 | unless open my $meta_fh, '<:encoding(UTF-8)', $meta_fn |
| 76 | 6 | 3 | unless $index |
| 91 | 29 | 76 | unless @names |
| 98 | 19 | 57 | unless $node |