Branch Coverage

blib/lib/Rex/Repositorio/Repository/Apt.pm
Criterion Covered Total %
branch 0 46 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/
108 0 0 if ($option{'update_files'} or $option{'force'})
111 0 0 if (exists $self->repo->{'components'}) { }
163 0 0 if (exists $self->repo->{'images'} and $self->repo->{'images'} eq 'true')
168 0 0 if "\L$arch\E" eq 'all'
169 0 0 if "\L$component\E" ne 'main'
290 0 0 if $line =~ /^\s*?$/
292 0 0 unless ($line =~ /^\s/)
296 0 0 if ($value) { }
304 0 0 if ($line =~ /^\s/)
307 0 0 if ($$ret{$section} and not ref $$ret{$section})
332 0 0 if ($line =~ /^$/)
340 0 0 if ($key) { }
349 0 0 if ($$current_section{$section} and not ref $$current_section{$section})
363 0 0 unless open my $fh, '<', $file
488 0 0 if ($? != 0)
495 0 0 if ($? != 0)
499 0 0 if (exists $self->repo->{'gpg'} and $self->repo->{'gpg'}{'key'})
502 0 0 unless ($pass)
516 0 0 if ($? != 0)
526 0 0 if ($? != 0)