Condition Coverage

blib/lib/Danga/Socket/AnyEvent.pm
Criterion Covered Total %
condition 5 56 8.9


and 3 conditions

line !l l&&!r l&&r condition
358 1 0 0 $LoopTimeout and $LoopTimeout != -1
416 0 0 0 defined $ref and ref $ref eq 'CODE'
423 0 0 0 defined $ref && ref $ref eq 'CODE'
445 0 0 0 not $$pob{'closed'} and $$pob{'event_watch'} & 1
473 0 0 0 $keep_running &&= &$plc(\%DescriptorMap, \%OtherFds)
478 0 0 0 $keep_running &&= &$PostLoopCallback(\%DescriptorMap, \%OtherFds)
527 0 0 2 $sock and $fd
897 0 0 0 not $res and $! != 11
989 0 0 2 $val and caller ne 'Danga::Socket'

or 2 conditions

line l !l condition
392 0 0 $Profiling{$k} ||= [0, 0, 0]
527 0 0 $sock || ''
0 0 $fd || ''
1145 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
582 0 0 0 $! == 9 or $! == 88
0 0 0 $! == 92 or $!{'ENOTSOCK'}
0 0 0 $! == 92 or $!{'ENOTSOCK'} or $!{'EOPNOTSUPP'}
702 0 0 0 not defined $wtr or UNIVERSAL::isa($wtr, 'CODE')
749 0 0 0 $bref ||= $$self{'write_buf'}[0]
952 0 0 2 $$self{'closed'} or not $$self{'sock'}
984 0 0 2 $$self{'closed'} or not $$self{'sock'}