Condition Coverage

blib/lib/MogileFS/ReplicationPolicy/MultipleHosts.pm
Criterion Covered Total %
condition 15 27 55.5


and 3 conditions

line !l l&&!r l&&r condition
41 0 0 20 $on_devs and $all_devs
0 0 20 $on_devs and $all_devs and $failed
0 0 20 $on_devs and $all_devs and $failed and $fid
47 20 0 0 $min == 1 and $already_on == 1
68 11 1 1 $uniq_hosts_on >= $total_uniq_hosts and $already_on >= $min
76 5 7 0 $already_on >= 2 and $already_on == $total_disks
98 9 2 1 $already_on >= $min and @ideal == 0

or 3 conditions

line l !l&&r !l&&!r condition
38 0 20 0 $$self{'mindevcount'} || $min
86 20 0 56 $on_dev{$_->devid} || $$failed{$_->devid}