Branch Coverage

blib/lib/Helios/TS.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
45 0 0 if (defined $params{'active_worker_class'})
68 0 0 if ($cache_duration and $client->{'cached_drivers'}{$hashdsn}{'create_ts'} and $client->{'cached_drivers'}{$hashdsn}{'create_ts'} + $cache_duration > $t) { }
71 0 0 unless my $db = $client->{'databases'}{$hashdsn}
73 0 0 if ($db->{'driver'}) { }
84 0 0 if exists $db->{'prefix'}
86 0 0 if ($cache_duration)
101 0 0 if $client->is_database_dead($hashdsn)
119 0 0 if ($client->prioritize eq 'low')
127 0 0 $client->prioritize ? :
137 0 0 if ($@)
138 0 0 unless ({1 => 1}->{$driver->last_error or 0})
144 0 0 if $T_AFTER_GRAB_SELECT_BEFORE_UPDATE
147 0 0 if $job
167 0 0 unless (ref $job->arg)
184 0 0 unless my $server_time = $client->get_server_time($driver)
190 0 0 if ($driver->update($job, {'grabbed_until', $old_grabbed_until}) < 1)
193 0 0 if $T_LOST_RACE
223 0 0 if (not $job and @{$client->{'current_abilities'};} < @{$client->{'all_abilities'};})
233 0 0 if ($job) { }
234 0 0 $job->priority ? :
236 0 0 if ($client->{'active_worker_class'})
246 0 0 unless $job