blib/lib/Catmandu/DirectoryIndex/UUID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 26 | 69.2 |
line | true | false | branch |
---|---|---|---|
21 | 14 | 0 | if is_string($id) |
29 | 1 | 8 | unless is_uuid($id) |
43 | 1 | 4 | unless is_uuid($id) |
54 | 3 | 0 | is_string($path) && -d $path ? : |
64 | 3 | 1 | unless (-d $path) |
69 | 0 | 3 | if defined $err and scalar @$err |
85 | 1 | 0 | if (is_string($path) and -d $path) |
90 | 0 | 1 | if defined $err and scalar @$err |
102 | 1 | 0 | if (-d $self->base_dir) |
107 | 0 | 1 | if defined $err and scalar @$err |
126 | 5 | 4 | unless ($iter) |
138 | 4 | 5 | unless defined $path |
141 | 0 | 5 | if $^O eq 'MSWin32' |