Branch Coverage

lib/Rex/Commands/Mkfs.pm
Criterion Covered Total %
branch 0 12 0.0


line true false branch
51 0 0 unless ($devname =~ m[^/]u)
57 0 0 unless (exists $option{'fstype'} and defined $option{'fstype'})
61 0 0 if (grep {$option{'fstype'} eq $_;} "non-fs", "none", "")
66 0 0 if (exists $option{'label'} and $option{'label'} or exists $option{'lable'} and $option{'lable'})
73 0 0 if ($option{'fstype'} eq 'swap') { }
0 0 elsif (can_run("mkfs.$option{'fstype'}")) { }