blib/lib/Plack/Middleware/Expires.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 12 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
29 | 0 | 37 | 9 | $expires and $expires =~ /^(A|M)(\d+)$/ |
0 | 1 | 36 | $expires and $expires =~ /^(access|now|modification)\s(?:plus)\s(.+)$/ | |
81 | 0 | 3 | 1 | ref $type_match && ref $type_match eq 'ARRAY' |
95 | 1 | 1 | 1 | $ref eq 'Regexp' and $type =~ /$_/ |