Branch Coverage

blib/lib/Container/Buildah/Stage.pm
Criterion Covered Total %
branch 0 114 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')
232 0 0 $dest ? :
244 0 0 if (ref $in_args[0] eq 'HASH')
274 0 0 if (ref $in_args[0] eq 'HASH')
302 0 0 if (ref $in_args[0] eq 'HASH')
319 0 0 $dest ? :
334 0 0 if (ref $in_args[0] eq 'HASH')
349 0 0 ref $in_args[0] ? :
352 0 0 if (not ref $command) { }
0 0 elsif (ref $command ne 'ARRAY') { }
413 0 0 if (-l $f_file) { }
420 0 0 if ($count <= 0)
425 0 0 unless (-f $f_file)
441 0 0 unless (-e $depfile)
444 0 0 unless (-f $depfile)
449 0 0 if (ftime(progpath()) > ftime($depfile))
457 0 0 if (ftime($file) > ftime($depfile))
474 0 0 if (defined $produces)
480 0 0 unless ($tarball_result)
505 0 0 if (ref $argv_ref ne 'ARRAY')
520 0 0 if (defined $commit)
521 0 0 if (not ref $commit) { }
0 0 elsif (ref $commit eq 'ARRAY') { }
531 0 0 if (@tags)
545 0 0 if (defined $self->get_user)
548 0 0 if ($user =~ /:/ux)
550 0 0 if ($user_name =~ /=/ux)
553 0 0 if ($group_name =~ /=/ux)
558 0 0 if (defined $group_name)
559 0 0 defined $gid ? :
562 0 0 defined $uid ? :
0 0 defined $group_name ? :
0 0 defined $user_home ? :
571 0 0 if (defined $consumes)
572 0 0 if (ref $consumes eq 'ARRAY') { }
578 0 0 unless -f $tarball_in
593 0 0 if (substr($str, 0, 1) eq '/')
607 0 0 if (defined $produces)
608 0 0 if (ref $produces eq 'ARRAY') { }
617 0 0 if (-f $tarball_out)
626 0 0 if ($ret > 1)