blib/lib/File/Symlink/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
39 | 0 | 1 | unless (-l $link_path1) |
43 | 0 | 1 | unless (-l $link_path2) |
49 | 0 | 1 | unless (defined $dest_path1) |
54 | 0 | 1 | unless (defined $dest_path2) |
59 | 0 | 1 | if ("File::Spec"->file_name_is_absolute($dest_path1)) |
63 | 0 | 1 | if ("File::Spec"->file_name_is_absolute($dest_path2)) |
73 | 0 | 1 | if ($dest_path2 eq $new_dest_path2) |
77 | 0 | 1 | unless (unlink $link_path2) |
81 | 0 | 1 | unless (symlink $new_dest_path2, $link_path2) |