Condition Coverage

blib/lib/IO/Lambda.pm
Criterion Covered Total %
condition 50 106 47.1


and 3 conditions

line !l l&&!r l&&r condition
165 163 0 20 defined $deadline and $deadline < 1000000000
217 0 0 492 $lambda and $lambda->isa('IO::Lambda')
254 0 0 21 defined $state and defined $p->[$i][0]
0 2 19 defined $state and defined $p->[$i][0] and $p->[$i][0] eq $state
439 0 3 5 $rec->[2] and ref $rec->[2]
579 485502 0 0 $IO::Lambda::DEBUG_LAMBDA and $changed
692 1005 0 0 $IO::Lambda::DEBUG_CALLER and $_[1]
0 0 0 $IO::Lambda::DEBUG_CALLER and $_[1] and not $IO::Lambda::AGAIN
724 0 36 5 $_[0] && ref $_[0]
747 0 26 5 $event->[3] and $event->[3] == \&IO::Lambda::_throw
784 38 0 2 $IO::Lambda::SIGTHROW and not @c
790 1 3 0 defined $_[0] and !ref($_[0]) || ref $_[0] ne 'CODE'
929 2 36 0 defined $name and $IO::Lambda::THIS->{'override'}{$name}
975 282 0 116 $lambda->is_stopped and $lambda->autorestart
1207 0 0 0 $IO::Lambda::DEBUG_IO > 1 and ($n || 0) > 0
1227 0 0 0 $IO::Lambda::DEBUG_IO > 1 and ($n || 0) > 0
1261 42 10 0 defined $cond and not ref $cond
52 0 0 defined $cond and not ref $cond and $cond > length $$buf

or 2 conditions

line l !l condition
110 0 0 $_[0]{'caller'} || '()'
248 6 7 $self->{'override'}{$method} ||= []
324 6 8 $self->{'override'}{$method} ||= []
692 0 0 $_[2] || 0
782 5 23 $_->[1] || \&IO::Lambda::_throw
1170 1 0 $_[0] || 0
1207 0 0 $n || 0
1227 0 0 $n || 0

or 3 conditions

line l !l&&r !l&&!r condition
254 21 0 0 defined $state || defined $p->[$i][0]
0 0 21 not defined $state || defined $p->[$i][0] or defined $state and defined $p->[$i][0] and $p->[$i][0] eq $state
282 4 0 36 !(defined $a || defined $b) || defined $a && defined $b && $a eq $b || defined $b && $b eq '*'
364 0 0 223 $nn == @$in or $self != $rec->[0]
394 0 0 458 $nn == @$in or $self != $rec->[0]
498 8 55 593 $_[0]{'stopped'} || @{$_[0]{'in'};}
790 2 0 1 !ref($_[0]) || ref $_[0] ne 'CODE'
1175 0 0 1 $max < 1 or $max > @q
1250 3 46 0 shift() || &sysreader()
1313 2 8 0 shift() || &syswriter()
1375 0 0 41 $nn == @$in or $self != $rec->[0]
1411 0 27 0 $opt{'type'} ||= $IO::Lambda::Loop::DEFAULT