Condition Coverage

blib/lib/MogileFS/ProcManager.pm
Criterion Covered Total %
condition 0 72 0.0


and 3 conditions

line !l l&&!r l&&r condition
81 0 0 0 print $fh "$$\n" and close $fh
136 0 0 0 $todie{$pid} and $todie{$pid} == 2
190 0 0 0 not $want_job_master and $needs_job_master{$job}
336 0 0 0 $job =~ /^(?:job_master|monitor)$/i and $n > 1
478 0 0 0 @IdleQueryWorkers and job_needs_reduction('queryworker')
494 0 0 0 $worker and $Mappings{$$worker{'fd'}}
518 0 0 0 $id and $id eq "$$worker{'pid'}-$$worker{'reqid'}"
549 0 0 0 $idle_workers{$job} and keys %{$idle_workers{$job};}
559 0 0 0 @$queue and $worker->wants_todo($job)
573 0 0 0 @IdleQueryWorkers and @PendingQueries
576 0 0 0 not $clref and @PendingQueries
755 0 0 0 defined $childref and %$childref
759 0 0 0 $exclude_child and $exclude_child == $child
812 0 0 0 not $want_job_master and $needs_job_master{$job}
0 0 0 not $want_job_master and $needs_job_master{$job} and $jobs{'job_master'}[1] == 0
0 0 0 not $want_job_master and $needs_job_master{$job} and $jobs{'job_master'}[1] == 0 and ($q = $pending_work{$job}) && !@$q || !$q
838 0 0 0 $exclude and $child == $exclude

or 2 conditions

line l !l condition
99 0 0 $jobs{$job} ||= [undef, 0]
436 0 0 $client->peer_ip_string || '0.0.0.0'
675 0 0 $pending_work{$job} ||= []
687 0 0 $idle_workers{'_bored'} ||= {}
690 0 0 $idle_workers{$type} ||= {}
799 0 0 $level ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
553 0 0 0 not defined $worker or $$worker{'closed'}
588 0 0 0 not defined $worker or $$worker{'closed'}
812 0 0 0 ($q = $pending_work{$job}) && !@$q || !$q