Branch Coverage

blib/lib/Tapper/Installer/Base.pm
Criterion Covered Total %
branch 4 78 5.1


line true false branch
29 0 1 if not $error and $dev eq "/dev/loop0"
31 0 1 if $error
33 0 1 if ($dev)
35 0 0 if ($error)
45 0 0 if $error
50 0 1 if $error
66 0 0 unless -e $filename
67 0 0 unless open my $fh, ">", $filename
79 0 0 unless $sleeptime
99 0 0 unless ref $config eq "HASH"
102 0 0 if ref $config ne "HASH"
104 0 0 unless ($state eq "simnow")
106 0 0 if $retval
109 0 0 if ($self->cfg->{'log_to_file'})
115 0 0 unless $state eq "autoinstall"
117 0 0 if ($config->{'times'}{'keep_alive_timeout'})
120 0 0 if ($pid == 0) { }
128 0 0 if ($state eq "simnow")
130 0 0 if $retval
134 0 0 if ($state eq "standard")
137 0 0 if not $config->{'preconditions'}[0]{'precondition_type'} eq "image" and $config->{'preconditions'}[0]{'mount'} eq "/"
141 0 0 if ($precondition->{'precondition_type'} eq 'image') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'package') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'copyfile') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'fstab') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'prc') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'rawimage') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'repository') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'exec') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'simnow_backend') { }
0 0 elsif ($precondition->{'precondition_type'} eq 'kernelbuild') { }
191 0 0 if ($retval)
192 0 0 if ($precondition->{'continue_on_error'}) { }
200 0 0 if ($state eq "standard" and not $config->{'no_cleanup'})
204 0 0 if ($state eq "standard" and not $config->{'skip_prepare_boot'})
205 0 0 if $retval = $image->prepare_boot
211 0 0 if ($config->{'keep_alive_child'})
223 0 0 if $config->{'installer_stop'}
233 0 0 if ($?)