blib/lib/IO/Async/Handle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 24 | 70.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 1119 | 1 | 1 | defined $params{'read_fileno'} and defined $params{'write_fileno'} |
1120 | 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 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
199 | 0 | 0 | 699 | grep /^encoding\(/, @layers or grep /^utf8$/, @layers |
269 | 2 | 672 | 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") |