| blib/lib/RSH/LockFile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 72 | 0 | 0 | unless (defined $filename) |
| 76 | 0 | 0 | if (-e $lock_file) { } |
| 91 | 0 | 5 | unless (defined $filename) |
| 97 | 1 | 4 | if (defined $args{'net_fs_safe'} and $args{'net_fs_safe'} eq '1') { } |
| 180 | 2 | 5 | unless (defined $fh) |
| 181 | 1 | 4 | if ($$self{'net_fs_safe'}) { } |
| 190 | 2 | 5 | if ($@) |
| 202 | 5 | 0 | if (-e $filename) |
| 213 | 1 | 4 | if ($$self{'net_fs_safe'}) |
| 216 | 5 | 0 | if ($id_val eq $id) { } |
| 217 | 0 | 5 | unless unlink $filename |
| 223 | 0 | 5 | if ($@) |