Condition Coverage

blib/lib/Plack/Middleware/ReviseEnv.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

line !l l&&!r l&&r condition
28 115 33 9 $revisor->{'require_all'} and not $all_defs
37 142 6 0 length $retval == 0 and $revisor->{'empty_as_default'}
137 24 59 0 $src ne 'env' and $src ne 'ENV'

or 2 conditions

line l !l condition
221 0 4 delete $self->{'opts'} || {}
222 0 4 $opts->{'start'} ||= '[%'
223 0 4 $opts->{'stop'} ||= '%]'
224 0 4 $opts->{'esc'} ||= '\\'

or 3 conditions

line l !l&&r !l&&!r condition
37 18 0 148 not defined $retval or length $retval == 0 and $revisor->{'empty_as_default'}
44 77 3 3 $revisor->{'override'} or not exists $env->{$key}
98 0 0 83 $esc eq $start or $esc eq $stop
200 102 220 34 $dpos < 0 or $epos < 0
322 20 14 $dpos < 0 or $epos < 0 or $dpos < $epos