line |
!l |
l&&!r |
l&&r |
condition |
1663
|
0 |
0 |
0 |
exists $self->_redis->{'no_auto_connect_on_new'} and $self->_redis->{'no_auto_connect_on_new'} |
|
0 |
0 |
0 |
exists $self->_redis->{'no_auto_connect_on_new'} and $self->_redis->{'no_auto_connect_on_new'} and not $self->_redis->{'sock'} |
1668
|
0 |
0 |
0 |
not $self->_create_from_open and $self->collection_exists('name', $self->name) |
1683
|
0 |
0 |
0 |
$major == 2 and $minor < 8 |
1864
|
0 |
0 |
0 |
scalar @_ == 2 and not defined $timeout || defined $old_timeout |
1894
|
0 |
0 |
0 |
scalar @_ == 2 and not defined $timeout || defined $old_timeout |
2126
|
0 |
0 |
0 |
defined &_NUMBER($data_time) and $data_time > 0 |
2148
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} |
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} and defined &_NONNEGINT($_last_cleanup_items) |
2230
|
0 |
0 |
0 |
defined &_NUMBER($new_data_time) and $new_data_time > 0 |
2253
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} |
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} and defined &_NONNEGINT($_last_cleanup_items) |
2304
|
0 |
0 |
0 |
defined &_NUMBER($data_time) and $data_time > 0 |
2327
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} |
|
0 |
0 |
0 |
scalar @ret == 4 and exists $ERROR{$error} and defined &_NONNEGINT($cleanings) |
2403
|
0 |
0 |
0 |
defined $data_id and $data_id ne '' |
2629
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
2849
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
2967
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
3007
|
0 |
0 |
0 |
&_NUMBER($memory_reserve) and $memory_reserve >= $MIN_MEMORY_RESERVE |
|
0 |
0 |
0 |
&_NUMBER($memory_reserve) and $memory_reserve >= $MIN_MEMORY_RESERVE and $memory_reserve <= $MAX_MEMORY_RESERVE |
3087
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
3251
|
0 |
0 |
0 |
$] >= 5.14 and ${^GLOBAL_PHASE} eq 'DESTRUCT' |
3349
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
3368
|
0 |
0 |
0 |
defined $maxmemory_policy && $maxmemory_policy eq $USED_MEMORY_POLICY |
3374
|
0 |
0 |
0 |
&_ARRAY($keys) and &_ARRAY0($vals) |
|
0 |
0 |
0 |
&_ARRAY($keys) and &_ARRAY0($vals) and scalar @$keys >= scalar @$vals |
3438
|
0 |
0 |
0 |
exists $redis->{'no_auto_connect_on_new'} and $redis->{'no_auto_connect_on_new'} |
|
0 |
0 |
0 |
exists $redis->{'no_auto_connect_on_new'} and $redis->{'no_auto_connect_on_new'} and not $redis->{'sock'} |
3463
|
0 |
0 |
0 |
scalar @ret == 1 and exists $ERROR{$error} |
3480
|
0 |
0 |
0 |
scalar @ret == 3 and exists $ERROR{$error} |
|
0 |
0 |
0 |
scalar @ret == 3 and exists $ERROR{$error} and $ret[2] eq '_long_term_operation' |
3543
|
0 |
0 |
0 |
$err != $E_MISMATCH_ARG and $err != $E_DATA_TOO_LARGE |
|
0 |
0 |
0 |
$err != $E_MISMATCH_ARG and $err != $E_DATA_TOO_LARGE and $err != $E_MAXMEMORY_LIMIT |
|
0 |
0 |
0 |
$err != $E_MISMATCH_ARG and $err != $E_DATA_TOO_LARGE and $err != $E_MAXMEMORY_LIMIT and $err != $E_MAXMEMORY_POLICY |
3703
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
3735
|
0 |
0 |
0 |
@_ and &_INSTANCE($_[0], 'Redis::CappedCollection') |
3785
|
0 |
0 |
0 |
$self and $method =~ /^EVAL/i |
3802
|
0 |
0 |
0 |
$try_again and $method eq 'EVALSHA' |
3834
|
0 |
0 |
0 |
$DEBUG and $sleepped |
line |
l |
!l&&r |
!l&&!r |
condition |
1649
|
0 |
0 |
0 |
$redis->{'server'} // "${DEFAULT_SERVER}:$DEFAULT_PORT" |
1683
|
0 |
0 |
0 |
$major < 2 or $major == 2 and $minor < 8 |
1864
|
0 |
0 |
0 |
defined $timeout || defined $old_timeout |
1894
|
0 |
0 |
0 |
defined $timeout || defined $old_timeout |
2119
|
0 |
0 |
0 |
shift() // time |
2121
|
0 |
0 |
0 |
$data // $self->_throw($E_MISMATCH_ARG, 'data') |
2122
|
0 |
0 |
0 |
defined &_STRING($data) or $data eq '' |
2123
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2149
|
0 |
0 |
0 |
$error == $E_DATA_ID_EXISTS or $error == $E_OLDER_THAN_ALLOWED |
2222
|
0 |
0 |
0 |
$data // $self->_throw($E_MISMATCH_ARG, 'data') |
2223
|
0 |
0 |
0 |
defined &_STRING($data) or $data eq '' |
2224
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2254
|
0 |
0 |
0 |
$error == $E_COLLECTION_DELETED or $error == $E_DATA_ID_EXISTS |
|
0 |
0 |
0 |
$error == $E_COLLECTION_DELETED or $error == $E_DATA_ID_EXISTS or $error == $E_OLDER_THAN_ALLOWED |
2299
|
0 |
0 |
0 |
$data // $self->_throw($E_MISMATCH_ARG, 'data') |
2300
|
0 |
0 |
0 |
defined &_STRING($data) or $data eq '' |
2301
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2304
|
0 |
0 |
0 |
not defined $data_time or defined &_NUMBER($data_time) and $data_time > 0 |
2328
|
0 |
0 |
0 |
$error == $E_DATA_ID_EXISTS or $error == $E_OLDER_THAN_ALLOWED |
2397
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2404
|
0 |
0 |
0 |
&_STRING($data_id) // $self->_throw($E_MISMATCH_ARG, 'data_id') |
2687
|
0 |
0 |
0 |
not $oldest_time or defined &_NUMBER($oldest_time) |
2726
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2748
|
0 |
0 |
0 |
not $oldest_time or defined &_NUMBER($oldest_time) |
2791
|
0 |
0 |
0 |
not $oldest_time or defined &_NUMBER($oldest_time) |
2813
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
2921
|
0 |
0 |
0 |
&_STRING($pattern) // $self->_throw($E_MISMATCH_ARG, 'pattern') |
3002
|
0 |
0 |
0 |
$parameter eq 'cleanup_bytes' or $parameter eq 'cleanup_items' |
3148
|
0 |
0 |
0 |
&_STRING($list_id) // $self->_throw($E_MISMATCH_ARG, 'list_id') |
3405
|
0 |
0 |
0 |
$DEBUG == 1 or $DEBUG == 3 |
3464
|
0 |
0 |
0 |
$error == $E_DATA_ID_EXISTS or $error == $E_OLDER_THAN_ALLOWED |
3511
|
0 |
0 |
0 |
$self->memory_reserve || $MIN_MEMORY_RESERVE |
3543
|
0 |
0 |
0 |
not $err or $err != $E_MISMATCH_ARG and $err != $E_DATA_TOO_LARGE and $err != $E_MAXMEMORY_LIMIT and $err != $E_MAXMEMORY_POLICY |
3644
|
0 |
0 |
0 |
$error =~ /Could not connect to Redis server at / or $error =~ /^Can't close socket: / |
|
0 |
0 |
0 |
$error =~ /Could not connect to Redis server at / or $error =~ /^Can't close socket: / or $error =~ /^Not connected to any server/ |
|
0 |
0 |
0 |
$error =~ /Could not connect to Redis server at / or $error =~ /^Can't close socket: / or $error =~ /^Not connected to any server/ or $error =~ /^Error while reading from Redis server: / |
|
0 |
0 |
0 |
$error =~ /Could not connect to Redis server at / or $error =~ /^Can't close socket: / or $error =~ /^Not connected to any server/ or $error =~ /^Error while reading from Redis server: / or $error =~ /^Redis server closed connection/ |
|
0 |
0 |
0 |
$error =~ /^\[[^]]+\]\s+-?\Q$REDIS_MEMORY_ERROR_MSG\E/i or $error =~ /^\[[^]]+\]\s+-?\Q$REDIS_ERROR_CODE $ERROR{$E_MAXMEMORY_LIMIT}\E/i |
3746
|
0 |
0 |
0 |
($self ? $self->connection_timeout : undef) || $DEFAULT_CONNECTION_TIMEOUT |
3748
|
0 |
0 |
0 |
($self ? $self->operation_timeout : undef) || $DEFAULT_OPERATION_TIMEOUT |
3826
|
0 |
0 |
0 |
$self->operation_timeout || $DEFAULT_OPERATION_TIMEOUT |
3833
|
0 |
0 |
0 |
$used_memory < $maxmemory or $sleepped > $max_timeout |