| blib/lib/POE/Component/Server/NNTP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 27 | 51.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 18 | 7 | 0 | 1 | defined $opts{'posting'} and not $opts{'posting'} |
| 19 | 6 | 0 | 2 | defined $opts{'handle_connects'} and not $opts{'handle_connects'} |
| 20 | 7 | 0 | 1 | defined $opts{'extra_cmds'} and ref $opts{'extra_cmds'} eq 'ARRAY' |
| 44 | 0 | 0 | 414 | $wheel_id and defined $$self{'clients'}{$wheel_id} |
| 347 | 0 | 16 | 0 | $code and $code eq '340' || $code eq '335' |
| line | l | !l | condition |
|---|---|---|---|
| 50 | 7 | 0 | shift() || (return) |
| 124 | 1 | 6 | $$self{'time_out'} || 300 |
| 140 | 0 | 381 | $$self{'time_out'} || 300 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 223 | 0 | 0 | 0 | $$self{'sessions'}{$sender_id}{'refcnt'}++ or $session == $sender |
| 347 | 0 | 2 | 14 | $code eq '340' || $code eq '335' |