blib/lib/POE/Component/Client/opentick/Socket.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 32 | 46.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
380 | 0 | 0 | 1 | $op eq 'read' and $err_code == 0 |
438 | 1 | 0 | 1 | defined $user_port && $user_port =~ /^\d+/ |
454 | 0 | 0 | 1 | defined $user_list && ref $user_list eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
712 | 3 | 0 | $num || 1 |
719 | 4 | 0 | $num || 1 |
726 | 0 | 3 | $num || 1 |
733 | 0 | 4 | $num || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
241 | 1 | 1 | 0 | $host || $self->_get_server |
244 | 1 | 1 | 0 | $port || $self->_get_port |
354 | 0 | 0 | 0 | $self->_inc_reconn_count < $self->_get_reconn_retries or $self->_get_reconn_retries == 0 |
516 | 0 | 0 | 7 | $state < OTConstant('OT_STATUS_INACTIVE') or $state > OTConstant('OT_STATUS_LOGGED_IN') |
740 | 2 | 4 | 0 | $value || time |