Condition Coverage

blib/lib/Plack/Middleware/ETag.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
28 6 0 1 $self->check_last_modified_header and Plack::Util::header_exists($headers, 'Last-Modified')
47 0 0 1 $etag and not $etag =~ /-$/
51 0 0 1 $etag and not $etag =~ /-$/
70 1 0 1 ref $self->cache_control and ref $self->cache_control eq 'ARRAY'

or 2 conditions

line l !l condition
35 0 1 $self->file_etag || ['inode', 'mtime', 'size']