Branch Coverage

blib/lib/MogileFS/ReplicationPolicy/MultipleDevices.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
18 0 0 unless $$argref =~ s/^\s* \( \s* (\d*) \s* \) \s*//x
40 0 15 if %args
41 0 15 unless $on_devs and $all_devs and $failed and $fid
46 4 11 if $min == $already_on
47 3 8 if $already_on > $min
60 0 8 if $already_on >= 2 and $already_on == $total_disks
66 26 10 if not $on_dev{$_->devid} || $$failed{$_->devid}
70 0 8 unless @all_dests