Branch Coverage

lib/Plack/App/WebMySQL/Key.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
13 0 0 if (opendir KEYS, 'keys') { }
15 0 0 if ($_ =~ /^\d+$/ and time - $_ > 86400)
24 0 0 if (not -e "keys/$key") { }
25 0 0 if (open COOKIE, ">keys/$key") { }
34 0 0 if ($_[0]) { }
35 0 0 if (open COOKIE, "
38 0 0 if (/^([A-Z0-9]+) = (.+)$/)
56 0 0 if (open COOKIE, ">keys/$1") { }
60 0 0 if ($name =~ /^$_/)
65 0 0 if ($found)