Condition Coverage

blib/lib/IO/Async/Handle.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
164 1117 1 1 defined $params{'read_fileno'} and defined $params{'write_fileno'}
1118 0 1 defined $params{'read_fileno'} and defined $params{'write_fileno'} and $params{'read_fileno'} == $params{'write_fileno'}
339 32 1 2 defined $r and defined $w
33 0 2 defined $r and defined $w and $r == $w
32 1 0 defined $r and defined $w

or 3 conditions

line l !l&&r !l&&!r condition
199 0 0 697 grep /^encoding\(/, @layers or grep /^utf8$/, @layers
269 2 670 0 $self->{'cb_r'} ||= $self->make_event_cb('on_read_ready')
293 11 62 0 $self->{'cb_w'} ||= $self->make_event_cb('on_write_ready')