Condition Coverage

blib/lib/Mojolicious/Plugin/SecurityHeader.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
142 0 1 0 ref $value and not $value->{'ALLOW-FROM'}
150 1 0 1 $value ne '1' and $value ne '0'
154 0 0 2 ref $value and $value->{'value'} eq '1'
157 1 0 1 $value->{'mode'} and $value->{'mode'} eq 'block'

or 3 conditions

line l !l&&r !l&&!r condition
63 1 1 1 $header_value // $headers_default{$last_header}
76 21 0 0 $header_value // $headers_default{$last_header}
87 27 7 1 $header_value // $headers_default{$last_header}
151 0 1 0 $value eq '0' or $value eq '1'