Branch Coverage

blib/lib/Arepa/Builder/Sbuild.pm
Criterion Covered Total %
branch 1 42 2.3


line true false branch
27 0 0 unless (defined $schroot_config)
30 0 0 if (open F, $path) { }
47 0 0 unless (-e $path)
48 0 0 unless open F, ">$path"
62 0 0 if ($self->builder_exists($builder_name)) { }
78 0 0 unless (-e $full_path)
101 0 0 if ($r != 0)
122 0 0 unless ($output_dir =~ qr"^/")
126 0 0 if ($File::Find::name =~ /\.deb$/)
128 0 0 if (not $move_r)
147 0 2 if ($opts{'bin_nmu'})
189 0 0 if (-e $schroot_file)
205 0 0 if (open F, ">$schroot_file") { }
216 0 0 if (defined $opts{'arch'})
222 0 0 if ($r != 0)
232 0 0 unless (open SOURCESLIST, ">$builder_dir/etc/apt/sources.list")
247 0 0 if (open F, $full_etc_hosts_path) { }
250 0 0 unless (grep /localhost/, $contents)
251 0 0 if (open F, ">$full_etc_hosts_path") { }
269 0 0 unless (defined $login)
274 0 0 unless (-d $full_path)