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