Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Virtualization/VirtualBox.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
14 0 0 unless canRun('VBoxManage')
40 0 0 unless ($params{'scan_homedirs'})
49 0 0 $FusionInventory::Agent::Task::Inventory::Virtualization::VirtualBox::OSNAME eq 'darwin' ? :
54 0 0 unless $user->dir =~ /$pattern/
59 0 0 if @users > 10
77 0 0 unless $handle
99 0 0 if ($line =~ /^Name:\s+(.*)$/) { }
0 0 elsif ($line =~ /^UUID:\s+(.+)/) { }
0 0 elsif ($line =~ /^Memory size:\s+(.+)/) { }
0 0 elsif ($line =~ /^State:\s+(.+) \(/) { }
0 0 elsif ($line =~ /^Index:\s+(\d+)$/) { }
102 0 0 if (defined $index)
106 0 0 if $machine
126 0 0 if $machine