| lib/POSIX/1003/Fcntl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 41 | 21.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 177 | 0 | 0 | 0 | defined $type and $! == 38 |
| 203 | 0 | 0 | 0 | $t and $! == 38 |
| line | l | !l | condition |
|---|---|---|---|
| 82 | 0 | 0 | $len // 0 |
| 146 | 0 | 2 | $args{'whence'} //= 0 |
| 147 | 2 | 0 | $args{'start'} //= 0 |
| 148 | 2 | 0 | $args{'len'} //= 0 |
| 158 | 0 | 2 | $args{'whence'} //= 0 |
| 159 | 2 | 0 | $args{'start'} //= 0 |
| 160 | 2 | 0 | $args{'len'} //= 0 |
| 181 | 0 | 0 | $fcntl->{'F_OWNER_PGRP'} // 2 |
| 184 | 0 | 0 | $fcntl->{'F_OWNER_PID'} // 1 |
| 204 | 0 | 0 | $fcntl->{'F_OWNER_PGRP'} // 2 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 143 | 0 | 2 | 0 | $func //= $args{'wait'} ? $fcntl->{'F_SETLK'} : $fcntl->{'F_SETLKW'} |
| 145 | 2 | 0 | 0 | $args{'type'} //= $fcntl->{'F_RDLCK'} |
| 157 | 2 | 0 | 0 | $args{'type'} //= $fcntl->{'F_RDLCK'} |
| 162 | 0 | 0 | 0 | $fcntl->{'F_GETLKW'} // $fcntl->{'F_GETLK'} |
| 198 | 0 | 0 | 0 | $args{'type'} || ($pid < 0 ? $fcntl->{'F_OWNER_PGRP'} // 2 : $fcntl->{'F_OWNER_PID'} // 1) |