Branch Coverage

blib/lib/Container/Buildah/Stage.pm
Criterion Covered Total %
branch 0 122 0.0


line true false branch
41 0 0 if ($package ne 'Container::Buildah')
49 0 0 unless (exists $self->{'name'})
54 0 0 if (exists $ENV{$mnt_env_name})
60 0 0 if (not defined $config or ref $config ne 'HASH')
70 0 0 unless (exists $self->{$key})
76 0 0 if (@missing)
89 0 0 if (exists $self->{$key})
90 0 0 if (ref $self->{$key} and ref $self->{$key} ne 'ARRAY')
121 0 0 if (ref $in_args[0] eq 'HASH')
128 0 0 if (exists $self->{'config'}{'container_name'})
155 0 0 if ($accessors_created)
168 0 0 ref $self ? :
0 0 defined $self ? :
0 0 unless $self->isa('Container::Buildah::Stage')
172 0 0 defined $value ? :
193 0 0 unless (exists $self->{'container_name'})
215 0 0 if (ref $in_args[0] eq 'HASH')
228 0 0 if ('Container::Buildah'->get_config('opts', 'add-history') // 0)
237 0 0 $dest ? :
249 0 0 if (ref $in_args[0] eq 'HASH')
279 0 0 if (ref $in_args[0] eq 'HASH')
295 0 0 if ('Container::Buildah'->get_config('opts', 'add-history') // 0)
313 0 0 if (ref $in_args[0] eq 'HASH')
326 0 0 if ('Container::Buildah'->get_config('opts', 'add-history') // 0)
335 0 0 $dest ? :
350 0 0 if (ref $in_args[0] eq 'HASH')
364 0 0 if ('Container::Buildah'->get_config('opts', 'add-history') // 0)
370 0 0 ref $in_args[0] ? :
373 0 0 if (not ref $command) { }
0 0 elsif (ref $command ne 'ARRAY') { }
434 0 0 if (-l $f_file) { }
441 0 0 if ($count <= 0)
446 0 0 unless (-f $f_file)
462 0 0 unless (-e $depfile)
465 0 0 unless (-f $depfile)
470 0 0 if (ftime(progpath()) > ftime($depfile))
478 0 0 if (ftime($file) > ftime($depfile))
495 0 0 if (defined $produces)
501 0 0 unless ($tarball_result)
526 0 0 if (ref $argv_ref ne 'ARRAY')
541 0 0 if (defined $commit)
542 0 0 if (not ref $commit) { }
0 0 elsif (ref $commit eq 'ARRAY') { }
552 0 0 if (@tags)
566 0 0 if (defined $self->get_user)
569 0 0 if ($user =~ /:/ux)
571 0 0 if ($user_name =~ /=/ux)
574 0 0 if ($group_name =~ /=/ux)
579 0 0 if (defined $group_name)
580 0 0 defined $gid ? :
583 0 0 defined $uid ? :
0 0 defined $group_name ? :
0 0 defined $user_home ? :
592 0 0 if (defined $consumes)
593 0 0 if (ref $consumes eq 'ARRAY') { }
599 0 0 unless -f $tarball_in
614 0 0 if (substr($str, 0, 1) eq '/')
628 0 0 if (defined $produces)
629 0 0 if (ref $produces eq 'ARRAY') { }
638 0 0 if (-f $tarball_out)
647 0 0 if ($ret > 1)