Branch Coverage

lib/Rex/Commands/Partition.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
73 0 0 defined $option{'bios_boot'} ? :
76 0 0 if ($option{'initialize'}) { }
80 0 0 if ($? != 0)
84 0 0 if ($option{'initialize'} eq "gpt" and $option{'bios_boot'})
192 0 0 unless (defined $option{'grow'} xor defined $option{'size'})
196 0 0 unless ($option{'ondisk'})
207 0 0 if (@output_lines)
223 0 0 $option{'grow'} ? :
229 0 0 if ($? != 0)
238 0 0 unless $partprobe_error
242 0 0 if $partprobe_error
251 0 0 unless ($part_num)
255 0 0 if ($option{'boot'})
259 0 0 if ($option{'vg'})
263 0 0 if (grep {$_->{'volume_group'} eq $option{'vg'};} @vgs) { }
279 0 0 if ($? == 0)
285 0 0 unless ($option{'vg'})
291 0 0 if (exists $option{'mount'} and $option{'mount'})
295 0 0 if (exists $option{'mount_persistent'} and $option{'mount_persistent'})
308 0 0 if ($disk =~ m[^/]u)