blib/lib/Mojo/UserAgent/Role/Cache/Driver/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 11 | 72.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 13 | 57 | 172 | $len < 100 && $len != 32 && /^[\w+\.-]+$/ |
line | l | !l | condition |
---|---|---|---|
7 | 0 | 4 | $ENV{'MOJO_CLIENT_DEBUG'} || $ENV{'MOJO_UA_CACHE_DEBUG'} || 0 |
8 | 1 | 3 | $ENV{'MOJO_UA_CACHE_RENAME'} || 0 |
24 | 1 | 0 | unlink $file or die "unlink ${file}: $!" |
69 | 1 | 0 | rename $from, $to or die "Rename $from ${to}: $!" |