Condition Coverage

blib/lib/Mojolicious/Plugin/StrictCORS.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
196 0 0 0 grep {uc $_ eq 'GET';} @opts_methods and not grep({uc $_ eq 'HEAD';} @opts_methods)

or 2 conditions

line l !l condition
12 0 0 $conf->{'max_age'} //= 3600
13 0 0 $conf->{'expose'} //= []
93 0 0 $headers || ''
118 0 0 $opts{'origin'} //= []
130 0 0 $opts{'credentials'} //= 0
132 0 0 $opts{'expose'} //= []
157 0 0 $opts{'origin'} //= []
182 0 0 $opts{'origin'} //= []
193 0 0 $opts{'methods'} //= []
204 0 0 $opts{'headers'} //= []
217 0 0 $opts{'credentials'} //= 0