| blib/lib/Catmandu/DirectoryIndex/Number.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 28 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 1 | 16 | unless $_[0]->keysize % 3 == 0 |
| 29 | 5 | 176 | unless $id =~ /^\d+$/ |
| 33 | 0 | 176 | if $n_id < 0 |
| 38 | 6 | 170 | if length "$id" > $keysize |
| 67 | 90 | 6 | is_string($path) && -d $path ? : |
| 76 | 15 | 45 | unless (-d $path) |
| 81 | 0 | 15 | if defined $err and scalar @$err |
| 96 | 5 | 0 | if (is_string($path) and -d $path) |
| 101 | 0 | 5 | if defined $err and scalar @$err |
| 114 | 12 | 0 | if (-d $self->base_dir) |
| 119 | 0 | 12 | if defined $err and scalar @$err |
| 137 | 9 | 9 | unless ($iter) |
| 147 | 8 | 10 | unless defined $path |
| 150 | 0 | 10 | if $^O eq 'MSWin32' |