Condition Coverage

blib/lib/TheSchwartz.pm
Criterion Covered Total %
condition 0 66 0.0


and 3 conditions

line !l l&&!r l&&r condition
103 0 0 0 $cache_duration and $client->{'cached_drivers'}{$hashdsn}{'create_ts'}
0 0 0 $cache_duration and $client->{'cached_drivers'}{$hashdsn}{'create_ts'} and $client->{'cached_drivers'}{$hashdsn}{'create_ts'} + $cache_duration > $t
650 0 0 0 not $job || $client->{'strict_remove_ability'} and @{$client->{'current_abilities'};} < @{$client->{'all_abilities'};}
730 0 0 0 $logger and ref $logger ne 'CODE'
905 0 0 0 ref $arg and $arg->isa('TheSchwartz')

or 2 conditions

line l !l condition
40 0 0 delete $args{'retry_seconds'} || 30
45 0 0 delete $args{'driver_cache_expiration'} || 0
86 0 0 $dbh->{'Username'} || ''
139 0 0 $client->driver_for($hashdsn)->last_error || 'unknown'
198 0 0 $arg->{'coalesce_op'} ||= '='
312 0 0 $driver->last_error or 0
371 0 0 $driver->last_error or 0
419 0 0 $worker_class->grab_for || 1
480 0 0 $driver->last_error or 0
625 0 0 $delay ||= 5
786 0 0 $class || ''
0 0 $class->grab_for || 1
808 0 0 $_ || ''
0 0 $args->{$_} || ''
813 0 0 $_ || ''

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 not exists $args{'databases'} or ref $args{'databases'} eq 'ARRAY'
46 0 0 0 delete $args{'batch_size'} || $FIND_JOB_BATCH_SIZE
195 0 0 0 $arg->{'limit'} || $client->batch_size
325 0 0 0 $worker_classes ||= $client->{'current_abilities'}
646 0 0 0 $job ||= $client->find_job_for_workers
650 0 0 0 $job || $client->{'strict_remove_ability'}
753 0 0 0 $dir eq '1' or $dir eq 'on'