Condition Coverage

blib/lib/Container/Buildah/Subcommand.pm
Criterion Covered Total %
condition 15 27 55.5


and 3 conditions

line !l l&&!r l&&r condition
128 1 1 1 $params->{$argname} ne 'true' and $params->{$argname} ne 'false'
313 11 0 1 exists $ENV{$envprog} and -x $ENV{$envprog}
376 0 0 8 exists $opts->{'save_retcode'} and ref $opts->{'save_retcode'} eq 'SCALAR'
379 3 0 1 exists $opts->{'zero'} and ref $opts->{'zero'} eq 'CODE'
382 2 0 2 exists $opts->{'nonzero'} and ref $opts->{'nonzero'} eq 'CODE'

or 2 conditions

line l !l condition
357 2 7 $opts->{'capture_output'} // 0
0 7 $opts->{'suppress_output'} // 0
362 0 9 $opts->{'suppress_error'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
238 0 29 0 $defs->{'name'} // (caller 1)[3]
685 0 0 0 $image // ()