| lib/POSIX/1003/Fcntl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 41 | 21.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 166 | 0 | 0 | 0 | defined $type and $! == 38 |
| 191 | 0 | 0 | 0 | $t and $! == 38 |
| line | l | !l | condition |
|---|---|---|---|
| 78 | 0 | 0 | $len // 0 |
| 137 | 0 | 2 | $args{'whence'} //= 0 |
| 138 | 2 | 0 | $args{'start'} //= 0 |
| 139 | 2 | 0 | $args{'len'} //= 0 |
| 148 | 0 | 2 | $args{'whence'} //= 0 |
| 149 | 2 | 0 | $args{'start'} //= 0 |
| 150 | 2 | 0 | $args{'len'} //= 0 |
| 170 | 0 | 0 | $$fcntl{'F_OWNER_PGRP'} // 2 |
| 173 | 0 | 0 | $$fcntl{'F_OWNER_PID'} // 1 |
| 192 | 0 | 0 | $$fcntl{'F_OWNER_PGRP'} // 2 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 134 | 0 | 2 | 0 | $func //= $args{'wait'} ? $$fcntl{'F_SETLK'} : $$fcntl{'F_SETLKW'} |
| 136 | 2 | 0 | 0 | $args{'type'} //= $$fcntl{'F_RDLCK'} |
| 147 | 2 | 0 | 0 | $args{'type'} //= $$fcntl{'F_RDLCK'} |
| 152 | 0 | 0 | 0 | $$fcntl{'F_GETLKW'} // $$fcntl{'F_GETLK'} |
| 185 | 0 | 0 | 0 | $args{'type'} || ($pid < 0 ? $$fcntl{'F_OWNER_PGRP'} // 2 : $$fcntl{'F_OWNER_PID'} // 1) |