| blib/lib/NVMPL/Platform/Unix.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 20 | 15.0 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 0 | 1 | if (-l $link or -e $link) |
| 18 | 0 | 0 | unless unlink $link |
| 21 | 0 | 1 | unless symlink $target, $link |
| 34 | 1 | 0 | if (-d $dir) { } |
| 51 | 0 | 0 | unless -d $target_dir |
| 54 | 0 | 0 | unless system($cmd) == 0 |
| 57 | 0 | 0 | unless opendir my $dh, $target_dir |
| 58 | 0 | 0 | if /^node-v/ |
| 61 | 0 | 0 | if (@subdirs == 1) |
| 63 | 0 | 0 | unless system("mv '${inner}'/& '${target_dir}'/") == 0 |