Condition Coverage

blib/lib/Mojolicious/Plugin/SecureCORS.pm
Criterion Covered Total %
condition 7 11 63.6


and 3 conditions

line !l l&&!r l&&r condition
180 134 336 50 not exists $opt{$name} and exists $r->to->{"cors.$name"}

or 2 conditions

line l !l condition
106 0 0 $opt{'origin'} // ""
112 2 1 $headers // ""
118 3 0 $opt{'headers'} // ""
160 4 0 $opt{'origin'} // ""