Condition Coverage

lib/Redis/JobQueue.pm
Criterion Covered Total %
condition 0 91 0.0


and 3 conditions

line !l l&&!r l&&r condition
721 0 0 0 $major == 2 and $minor <= 4
1017 0 0 0 $field ne 'elapsed' and $field =~ /^(workload|result)$/ || !$job_fnames{$field}
1330 0 0 0 $field ne 'expire' and $field ne 'id'
1441 0 0 0 exists $args{$field} and ref $args{$field} ne 'ARRAY'
1530 0 0 0 $] >= 5.14 and ${^GLOBAL_PHASE} eq 'DESTRUCT'
1681 0 0 0 $method eq 'HSET' and $_[1] eq $_ID_IN_QUEUE_FIELD
0 0 0 $method eq 'HSET' and $_[1] =~ /^(workload|result)$/ || !$job_fnames{$_[1]}
0 0 0 $method eq 'HSET' and utf8::is_utf8($_[2])
1760 0 0 0 $method eq 'HGET' and $_[1] =~ /^(workload|result)$/

or 2 conditions

line l !l condition
926 0 0 $job->$_ // ''
928 0 0 $job->meta_data($_) // ''
942 0 0 $self->_call_redis('EXEC') // (return)
1331 0 0 $job->meta_data($field) // ''
1334 0 0 $job->$field // ''
1342 0 0 $self->_call_redis('EXEC') // (return)
1510 0 0 $ret // ''
1757 0 0 $result[0] // (return)

or 3 conditions

line l !l&&r !l&&!r condition
721 0 0 0 $major < 2 or $major == 2 and $minor <= 4
906 0 0 0 ref $_[0] eq 'HASH' or &_INSTANCE($_[0], 'Redis::JobQueue::Job')
1017 0 0 0 $field =~ /^(workload|result)$/ || !$job_fnames{$field}
1034 0 0 0 $result_data{'completed'} || $result_data{'failed'} || time
1046 0 0 0 $data[&firstidx(sub { $_ eq 'completed'; } , @all_fields)] || $data[&firstidx(sub { $_ eq 'failed'; } , @all_fields)] || $tm
1196 0 0 0 $queues // ()
1271 0 0 0 not $expire_time or time < $expire_time
1375 0 0 0 defined &_STRING($id_source) or &_INSTANCE($id_source, 'Redis::JobQueue::Job')
1597 0 0 0 defined &_STRING($maybe_queue) or &_INSTANCE($maybe_queue, 'Redis::JobQueue::Job')
1621 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+] ERR command not allowed when used memory > 'maxmemory'/ or $error =~ /[\S+] OOM command not allowed when used memory > 'maxmemory'/
1681 0 0 0 $_[1] =~ /^(workload|result)$/ || !$job_fnames{$_[1]}
1787 0 0 0 defined &_STRING($id_source) or &_INSTANCE($id_source, 'Redis::JobQueue::Job')