Condition Coverage

blib/lib/Plack/Middleware/ReviseEnv.pm
Criterion Covered Total %
condition 24 32 75.0


and 3 conditions

line !l l&&!r l&&r condition
29 149 33 9 $revisor->{'require_all'} && !$all_defs
37 182 6 0 length $retval == 0 and $revisor->{'empty_as_default'}
142 24 69 0 $src ne 'env' and $src ne 'ENV'

or 2 conditions

line l !l condition
226 1 5 delete $self->{'opts'} || {}
227 0 6 $opts->{'start'} ||= '[%'
228 0 6 $opts->{'stop'} ||= '%]'
229 0 6 $opts->{'esc'} ||= '\\'

or 3 conditions

line l !l&&r !l&&!r condition
37 18 0 188 not defined $retval or length $retval == 0 and $revisor->{'empty_as_default'}
48 97 3 3 $revisor->{'override'} or not exists $env->{$key}
102 0 0 93 $esc eq $start or $esc eq $stop
205 112 250 34 $dpos < 0 or $epos < 0
362 20 14 $dpos < 0 or $epos < 0 or $dpos < $epos