Branch Coverage

blib/lib/Rex/Repositorio/Repository/Apt.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
75 0 0 unless $$ref{'SHA1'}
80 0 0 unless $$ref{'SHA1'}
89 0 0 unless $$file_data{'file'} =~ /$regexp/
109 0 0 if (exists $self->repo->{'components'}) { }
158 0 0 if (exists $self->repo->{'images'} and $self->repo->{'images'} eq 'true')
163 0 0 if "\L$arch\E" eq 'all'
164 0 0 if "\L$component\E" ne 'main'
283 0 0 if $line =~ /^\s*?$/
285 0 0 unless ($line =~ /^\s/)
289 0 0 if ($value) { }
297 0 0 if ($line =~ /^\s/)
300 0 0 if ($$ret{$section} and not ref $$ret{$section})
325 0 0 if ($line =~ /^$/)
333 0 0 if ($key) { }
342 0 0 if ($$current_section{$section} and not ref $$current_section{$section})
356 0 0 unless open my $fh, '<', $file
481 0 0 if ($? != 0)
488 0 0 if ($? != 0)
492 0 0 if (exists $self->repo->{'gpg'} and $self->repo->{'gpg'}{'key'})
495 0 0 unless ($pass)
509 0 0 if ($? != 0)
519 0 0 if ($? != 0)