Branch Coverage

lib/Rex/Virtualization/LibVirt/guestinfo.pm
Criterion Covered Total %
branch 0 14 0.0


line true false branch
27 0 0 unless ($vmname)
34 0 0 if ($info->{'State'} eq "shut off")
40 0 0 if (Rex::Config::get_use_rex_kvm_agent() and exists $info->{'has_kvm_agent_on_port'} and $info->{'has_kvm_agent_on_port'})
99 0 0 if ($? == 1)
117 0 0 if ($ifaces[0]{'ip'}) { }
128 0 0 unless ($info->{'has_kvm_agent_on_port'})
148 0 0 if (exists $arp{$ifs->{$if}{'mac'}} and $arp{$ifs->{$if}{'mac'}})