line |
true |
false |
branch |
62
|
0 |
1 |
if @args & 1 |
107
|
3 |
4 |
if exists $valid_args{lc $_} |
128
|
1 |
1 |
if ($state >= OTConstant('OT_STATUS_LOGGED_IN')) { } |
134
|
1 |
0 |
if ($state >= OTConstant('OT_STATUS_CONNECTED')) |
139
|
1 |
0 |
if ($state >= OTConstant('OT_STATUS_CONNECTING')) |
213
|
0 |
0 |
$$self{'connect_time'} ? : |
237
|
2 |
0 |
if ($self->_get_state == OTConstant('OT_STATUS_INACTIVE')) |
260
|
2 |
0 |
if ($self->_get_conn_timeout) |
262
|
1 |
1 |
if $$self{'timeout_id'} |
348
|
0 |
1 |
if exists $$self{'timeout_id'} |
352
|
0 |
1 |
if ($self->_get_autoreconnect) |
354
|
0 |
0 |
if ($self->_inc_reconn_count < $self->_get_reconn_retries or $self->_get_reconn_retries == 0) { } |
380
|
1 |
0 |
if ($op eq 'read' and $err_code == 0) |
420
|
4 |
0 |
unless $buffered |
422
|
0 |
4 |
$buffered ? : |
426
|
0 |
4 |
$buffered ? : |
438
|
0 |
0 |
$$self{'realtime'} ? : |
|
1 |
0 |
$$self{'port'} ? : |
|
1 |
1 |
defined $user_port && $user_port =~ /^\d+/ ? : |
454
|
0 |
0 |
$$self{'realtime'} ? : |
|
0 |
0 |
$$self{'servers'} ? : |
|
1 |
0 |
defined $user_list && ref $user_list eq 'ARRAY' ? : |
489
|
1 |
0 |
if $server_num > $#{$$self{'servers'};} |
516
|
0 |
7 |
if $state < OTConstant('OT_STATUS_INACTIVE') or $state > OTConstant('OT_STATUS_LOGGED_IN') |
532
|
1 |
0 |
$value ? : |
|
1 |
0 |
defined $value ? : |
579
|
1 |
2 |
$value ? : |
604
|
4 |
0 |
if ($$self{'socket'}) { } |
622
|
0 |
2 |
unless $$self{'socket'} |
625
|
0 |
2 |
if ($count = @{$$self{'socket_buffer'};}) |
644
|
0 |
2 |
if $$self{'autoreconnbak'} |
657
|
1 |
1 |
if (exists $$self{'autoreconnbak'}) |
746
|
0 |
4 |
if $self->_get_state == OTConstant('OT_STATUS_INACTIVE') |