Condition Coverage

blib/lib/Mojolicious/Plugin/AppCacheManifest.pm
Criterion Covered Total %
condition 14 22 63.6


and 3 conditions

line !l l&&!r l&&r condition
86 6 2 4 exists $CACHE{$path} and $CACHE{$path}[0] >= $mtime
8 2 2 exists $CACHE{$path} and $CACHE{$path}[0] >= $mtime and $CACHE{$path}[1] + $timeout > $time
118 10 0 40 @body and my $header = uc shift @body
130 0 0 7 /\A (\S+) \s+ (\S+) /x && !$seen{join $;, $header, $1, $2}++
157 58 3 0 stat "$_/$path" and $mtime = (stat _)[9], last

or 2 conditions

line l !l condition
14 0 3 $$conf{'extension'} // 'appcache'
23 0 3 $$conf{'timeout'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 12 @$parts == 0 or $$parts[0] eq '..'