Condition Coverage

blib/lib/cPanel/TaskQueue/Scheduler.pm
Criterion Covered Total %
condition 24 39 61.5


and 3 conditions

line !l l&&!r l&&r condition
153 2 4 10 defined $version and defined $name
6 4 6 defined $version and defined $name and defined $file
160 2 2 2 'tqsched1' eq $version and $file =~ m[/\Q$name_match\E$]
237 1 1 7 defined $magic and $magic eq $FILETYPE
238 0 2 5 defined $version and $version eq $CACHE_VERSION
264 1 1 24 defined $args and 'HASH' eq ref $args
375 1 1 0 defined $queue and eval { do { $queue->can('queue_task') } }
405 0 0 0 $count and $guard
463 0 0 1 exists $$item{'task'} and exists $$item{'time'}

or 3 conditions

line l !l&&r !l&&!r condition
148 0 29 0 $$self{'serializer'} ||= _get_serializer()
167 0 0 0 $$args_ref{'state_dir'} ||= $$args_ref{'cache_dir'}
392 0 0 0 $guard ||= $$self{'disk_state'}->synch
438 8 9 4 not @{$$self{'time_queue'};} or $time >= $$self{'time_queue'}[-1]{'time'}