Condition Coverage

blib/lib/IO/Callback.pm
Criterion Covered Total %
condition 46 51 90.2


and 3 conditions

line !l l&&!r l&&r condition
263 1 23 1 $ret and ref $ret eq 'IO::Callback::ErrorMarker'
362 49 17 0 $/ eq '' and $$buf =~ s/^(\n+)//
372 2 4 2 *$self->{'Code'} and length $$buf == 0
378 5 14 3 *$self->{'Code'} and length $$buf == 0
19 0 3 *$self->{'Code'} and length $$buf == 0 and not *$self->{'Err'}
379 14 0 5 length $$buf == 0 and not *$self->{'Code'}
440 5 2383 3550 *$self->{'Code'} and $len > length $$buf
2388 1033 2517 *$self->{'Code'} and $len > length $$buf and $self->_doread
559 286 18 156 $off >= $slen and $off > 0
304 156 0 $off >= $slen and $off > 0 and $] < 5.011 || $off > $slen
572 5 171 12 defined $ret and ref $ret eq 'IO::Callback::ErrorMarker'

or 2 conditions

line l !l condition
433 3022 801 $_[1] || 0
448 1921 360 $_[2] || 0
558 386 74 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
279 17 17 2 defined *$self->{'R'} || defined *$self->{'W'}
345 14 18 37 *$self->{'Eof'} or *$self->{'Err'}
406 18 1 11 *$self->{'Err'} or *$self->{'Eof'}
559 0 120 36 $] < 5.011 || $off > $slen