Branch Coverage

lib/Rex/Box/VBox.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
128 0 0 if (exists $self->{'options'} and exists $self->{'options'}{'headless'} and $self->{'options'}{'headless'})
148 0 0 if ($vm->{'name'} eq $self->{'name'})
154 0 0 unless ($vm_exists)
170 0 0 if (exists $self->{'__network'} and $vminfo->{'VMState'} ne "running")
174 0 0 if ($option->{$nic_no}{'type'})
181 0 0 if ($option->{$nic_no}{'type'} eq "bridged")
184 0 0 unless $option->{$nic_no}{'bridge'}
195 0 0 if ($option->{$nic_no}{'driver'})
205 0 0 if (exists $self->{'__forward_port'} and $vminfo->{'VMState'} ne "running")
215 0 0 if (exists $self->{'__shared_folder'} and $vminfo->{'VMState'} ne "running")
219 0 0 if ($vminfo->{'VMState'} ne "running")
230 0 0 if (@$bridges == 1) { }
0 0 elsif (@$bridges > 1) { }
238 0 0 if $bridge->{'status'} =~ /^down$/iu
309 0 0 if (scalar keys %{$$self{"info"};} == 0)
312 0 0 if ($self->{'__forward_port'} and $self->{'__forward_port'}{'ssh'} and not Rex::is_local()) { }
0 0 elsif ($self->{'__forward_port'} and $self->{'__forward_port'}{'ssh'} and Rex::is_local()) { }
327 0 0 unless ($server)
331 0 0 if ($self->{'get_ip_count'} >= 30)
336 0 0 if ($ip)