Condition Coverage

lib/AnyEvent/Worker.pm
Criterion Covered Total %
condition 9 38 23.6


and 3 conditions

line !l l&&!r l&&r condition
114 0 0 0 $len and $len + 4 <= length $rbuf
197 5 0 6 $len and $len + 4 <= length $rbuf
218 0 2 4 $self and not @{$$self{'queue'};}
233 0 0 0 $$self{'timeout'} and $$self{'last_activity'}
275 0 0 0 $_ != $serv_fno and POSIX::close($_)
330 0 0 5 kill 0, $child_pid and kill 'TERM', $child_pid
466 8 0 0 $$self{'timeout'} and not $$self{'tw'}

or 2 conditions

line l !l condition
287 0 0 $$cb{'new'} || 'new'

or 3 conditions

line l !l&&r !l&&!r condition
139 0 0 0 defined $wr or $!{'EINTR'}
282 0 0 0 eval " use $class; 1 " or croak($@)
288 0 0 0 eval " use $class; 1 " or croak($@)
330 5 0 0 kill 0, $child_pid and kill 'TERM', $child_pid or $!{'ESRCH'}
397 1 1 0 $caller ||= " after $$req[1] line $$req[2],"