blib/lib/MogileFS/Client/CallbackFile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 28 | 21.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
211 | 0 | 0 | 0 | $c == -1 and $block_size > 1048576 |
232 | 6 | 0 | 0 | $socket and $eof |
267 | 0 | 0 | 0 | $checksum and $create_close_timed_out |
322 | 0 | 0 | 0 | not $create_close_timed_out and $checksum |
0 | 0 | 0 | not $create_close_timed_out and $checksum and tv_interval($ts_sent_create_close) >= $$self{'backend'}{'timeout'} |
line | l | !l | condition |
---|---|---|---|
66 | 1 | 0 | $opts ||= {} |
74 | 0 | 1 | $$opts{'create_open_args'} || {} |
75 | 0 | 1 | $$opts{'create_close_args'} || {} |
95 | 0 | 30 | $$opts{'fid'} || 0 |
154 | 6 | 0 | $msg || 'unknown error' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
195 | 0 | 0 | 0 | setsockopt $socket, 1, 7, 65536 or warn "could not enlarge socket buffer: $!" |