Condition Coverage

blib/lib/Net/PSYC/Event/IO_Select.pm
Criterion Covered Total %
condition 31 43 72.0


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 33 $cb and ref $cb eq 'CODE'
69 22 0 1 exists $T[$i] and $T[$i][0] <= $t
91 3 12 20 exists $cb{$_}{$name} and $cb{$_}{$name}[0] == 0
135 8 15 21 scalar @T and not scalar @queue
157 3 0 41 defined $rmask && $rmask =~ /[^\0]/
3 17 24 defined $wmask && $wmask =~ /[^\0]/
44 0 0 defined $emask && $emask =~ /[^\0]/
166 9 35 4 scalar @T and $T[0][0] <= mytime
168 1 2 1 $$event[1]() and $$event[2]

or 2 conditions

line l !l condition
58 20 13 $repeat || 0
60 33 0 $flags || 'r'

or 3 conditions

line l !l&&r !l&&!r condition
61 5 6 22 $_ eq 'r' or $_ eq 'w'
11 0 22 $_ eq 'r' or $_ eq 'w' or $_ eq 'e'
75 5 0 6 !defined($repeat) || $repeat
119 0 0 0 not $_[1] or $_[1] =~ /$_/