| lib/LEOCHARRE/Dir.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 24 | 54.1 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 0 | 1 | if $^O =~ /cygwin|MSWin32/ |
| 33 | 0 | 4 | unless $arg |
| 34 | 0 | 4 | unless my $resolved_path = Cwd::abs_path($arg) |
| 36 | 4 | 0 | unless (-d $resolved_path) |
| 37 | 0 | 4 | unless (mkdir $resolved_path) |
| 50 | 1 | 10 | unless $_[0] |
| 51 | 0 | 10 | unless opendir DIR, $_[0] |
| 57 | 0 | 7 | unless $_[0] |
| 58 | 0 | 7 | unless my $abs = Cwd::abs_path($_[0]) |
| 79 | 0 | 10 | unless $ENV{'DOCUMENT_ROOT'} |
| 82 | 0 | 10 | unless $p |
| 84 | 0 | 10 | unless $p =~ s/^$ENV{'DOCUMENT_ROOT'}// |