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
192 0 0 0 not $want_job_master and $needs_job_master{$job}
338 0 0 0 $job =~ /^(?:job_master|monitor)$/i and $n > 1
481 0 0 0 @IdleQueryWorkers and job_needs_reduction('queryworker')
497 0 0 0 $worker and $Mappings{$worker->{'fd'}}
521 0 0 0 $id and $id eq "$worker->{'pid'}-$worker->{'reqid'}"
552 0 0 0 $idle_workers{$job} and keys %{$idle_workers{$job};}
562 0 0 0 @$queue and $worker->wants_todo($job)
576 0 0 0 @IdleQueryWorkers and @PendingQueries
579 0 0 0 not $clref and @PendingQueries
758 0 0 0 defined $childref and %$childref
762 0 0 0 $exclude_child and $exclude_child == $child
815 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
841 0 0 0 $exclude and $child == $exclude

or 2 conditions

line l !l condition
99 0 0 $jobs{$job} ||= [undef, 0]
439 0 0 $client->peer_ip_string || '0.0.0.0'
678 0 0 $pending_work{$job} ||= []
690 0 0 $idle_workers{'_bored'} ||= {}
693 0 0 $idle_workers{$type} ||= {}
802 0 0 $level ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
556 0 0 0 not defined $worker or $worker->{'closed'}
591 0 0 0 not defined $worker or $worker->{'closed'}
815 0 0 0 ($q = $pending_work{$job}) && !@$q || !$q