Branch Coverage: lib/OpenAPI/Cache.pm

# Branch Coverage

File: | lib/OpenAPI/Cache.pm
Coverage: | 33.3%

line | % | coverage | branch
--- | --- | --- | ---
10 | 50 | T | F | ref $_[0] ? :
13 | 50 | T | F | unless my $type = $OpenAPI::Config{'cache.type'}
18 | 50 | T | F | if (-e $share_file and !-r($share_file) || !-w($share_file))
21 | 50 | T | F | if ($type eq 'mmap') { }
| 0 | T | F | elsif ($type eq 'memcached') { }
28 | 0 | T | F | unless my $list = $OpenAPI::Config{'cache.servers'}
32 | 0 | T | F | if (not @addr)
52 | 50 | T | F | $expire_time ? :
62 | 50 | T | F | if ($obj->can('remove')) { }