| blib/lib/IO/Events.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 65 | 36.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 113 | 0 | 0 | 9 | exists $$self{'filenos'}{$i} and exists $$self{'ids'}{$$self{'filenos'}{$i}} |
| 122 | 7 | 0 | 2 | $$task{'callback'} and not $$task{'dead'} |
| 126 | 3 | 0 | 6 | $r and not $$task{'dead'} |
| 152 | 0 | 0 | 3 | $w and not $$task{'dead'} |
| 175 | 0 | 0 | 0 | $e and not $$task{'dead'} |
| 189 | 0 | 0 | 0 | $task->can_read and $$task{'read'} > 0 |
| 364 | 0 | 0 | 10 | defined $$self{'handle'} and $$self{'auto_close'} |
| 401 | 0 | 0 | 3 | $$self{'owner'} and defined $$self{'fileno'} |
| 405 | 0 | 0 | 0 | $$self{'owner'} and $! != 11 |
| 799 | 0 | 1 | 0 | not $ok and $! == 11 || $! == 115 |
| 877 | 1 | 0 | 0 | defined $profile{'nonblock'} and $profile{'nonblock'} == 0 |
| line | l | !l | condition |
|---|---|---|---|
| 804 | 1 | 0 | $profile{'addr'} || '0.0.0.0' |
| 851 | 0 | 2 | $profile{'addr'} || '0.0.0.0' |
| 861 | 1 | 1 | $profile{'port'} || 0 |
| 903 | 1 | 0 | inet_aton($addr) || die("unknown host '${addr}'\n") |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 91 | 0 | 0 | 1 | not $$timer{'active'} or $time < $$timer{'alert'} |
| 111 | 6 | 3 | 71 | $r or $w |
| 9 | 0 | 71 | $r or $w or $e | |
| 436 | 7 | 0 | 1 | $IO::Events::Handle::events{$event} == 1 or $$self{'event_flag'} |
| 516 | 0 | 0 | 0 | $profile{'on_fork'} || $self->can('on_fork') |
| 544 | 0 | 0 | 0 | $profile{'on_fork'} || $self->can('on_fork') |
| 616 | 0 | 0 | 0 | $profile{'on_fork'} || $self->can('on_fork') |
| 799 | 0 | 1 | 0 | $! == 11 || $! == 115 |