blib/lib/Pid/File/Flock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 21 | 23.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
184 | 0 | 0 | 0 | $@ and $@ ne "x\n" |
0 | 0 | 0 | $@ and $@ ne "x\n" and $@ =~ /^(.+)\n?/ | |
205 | 0 | 0 | 2 | truncate $fh, 0 and syswrite $fh, $$ |
243 | 0 | 0 | 2 | $stath[0] == $statf[0] and $stath[1] == $statf[1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
110 | 0 | 2 | 0 | $inst ||= (shift())->acquire(@_) |
163 | 1 | 1 | 0 | $path || catfile($opts{'dir'} || tmpdir(), $opts{'name'} || basename($0) . ($opts{'ext'} || '.pid')) |
188 | 0 | 0 | 0 | $opts{'raise'} or not $opts{'quiet'} |