blib/lib/Linux/Fuser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 22 | 63.6 |
line | true | false | branch |
---|---|---|---|
102 | 1 | 1 | unless -f $file |
108 | 0 | 1 | unless opendir PROC, '/proc' |
116 | 0 | 10 | unless opendir FD, "/proc/$proc/fd" |
127 | 7 | 41 | if (my(@statinfo) = stat $fd) |
129 | 1 | 6 | if ($dev == $statinfo[0] and $ino == $statinfo[1]) |
193 | 1 | 0 | if (open CMD, "/proc/$pid/cmdline") |
221 | 0 | 3 | if $method eq 'DESTROY' |
223 | 3 | 0 | if (exists $$self{$method}) { } |
292 | 1 | 0 | if (open FDINFO, '<', "/proc/$pid/fdinfo/$fd_no") { } |
318 | 0 | 1 | if $method eq 'DESTROY' |
320 | 1 | 0 | if (exists $$self{$method}) { } |