| blib/lib/IO/Stream.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 32 | 96.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 165 | 1339 | 232 | 156 | $e & 4 and not $w & 4 |
| 174 | 9 | 1332 | 386 | not $err and $e & 4 |
| 1341 | 232 | 154 | not $err and $e & 4 and not $w & 4 | |
| 176 | 100 | 51 | 3 | $l > 0 and length $self->{'in_buf'} > $l |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 59 | 3 | 2 | 62 | ref $opt ne 'HASH' or not $opt->{'cb'} |
| 5 | 4 | 58 | ref $opt ne 'HASH' or not $opt->{'cb'} or not +($opt->{'fh'} xor $opt->{'host'}) | |
| 6 | 2 | 56 | ref $opt ne 'HASH' or not $opt->{'cb'} or not +($opt->{'fh'} xor $opt->{'host'}) or ($opt->{'host'} xor $opt->{'port'}) | |
| 181 | 770 | 12 | 945 | $e or $err |
| line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
|---|---|---|---|---|---|
| 59 | 1 | 37 | 21 | 3 | $opt->{'fh'} xor $opt->{'host'} |
| 19 | 2 | 0 | 37 | $opt->{'host'} xor $opt->{'port'} |