Condition Coverage

blib/lib/Env/Assert.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 4 3 $opts->{'exact'} || $required and not defined $env->{$var_name}

or 2 conditions

line l !l condition
37 2 3 $params->{'break_at_first_error'} //= 0
45 7 0 $var->{'required'} // 1
46 7 0 $var->{'regexp'} // ".*"

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 5 ref $env ne "HASH" or ref $want ne "HASH"
47 5 2 0 $opts->{'exact'} || $required