Condition Coverage

blib/lib/Dancer2/Plugin/ConditionalCaching.pm
Criterion Covered Total %
condition 14 66 21.2


and 3 conditions

line !l l&&!r l&&r condition
70 15 1 0 $private and $public
94 0 0 0 defined $age and $age < 0
109 0 0 0 $req_cc{'MaxAge'} and defined $age
114 0 0 0 $req_cc{'MinFresh'} and defined $fresh
158 0 0 0 $get_or_head and not $dry
166 0 0 0 exists $reqh{'IfMatch'} && defined $reqh{'IfMatch'}
167 0 0 0 $if_match && $reqh{'IfMatch'} =~ qr/^ \s* \* \s* $/six
174 0 0 0 exists $reqh{'IfNoneMatch'} && defined $reqh{'IfNoneMatch'}
176 0 0 0 $if_none_match && $reqh{'IfNoneMatch'} =~ qr/^ \s* \* \s* $/six
186 0 0 0 $if_unmodified_since and defined $changed
202 0 0 0 $get_or_head and $if_modified_since
0 0 0 $get_or_head and $if_modified_since and defined $changed

or 2 conditions

line l !l condition
31 0 0 $w //= 0
52 0 16 delete $args{'dry'} // 0
54 0 16 delete $args{'force'} // 0
55 0 16 delete $args{'throw'} // 0
56 0 16 delete $args{'check'} // 1
64 1 15 delete $args{'cache'} // 1
65 2 14 delete $args{'store'} // 1
67 1 15 delete $args{'private'} // 0
68 1 15 delete $args{'public'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
187 0 0 0 !$if_match_any || !$etag
189 0 0 0 $xa or $xb
203 0 0 0 !$if_none_match_any || !$etag
205 0 0 0 $xa or $xb