blib/lib/Punk/Cache/Memory.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Punk/Cache/File.pm ↑ Summary blib/lib/Punk/Context.pm »
1 package Punk::Cache::Memory;
2  
3 7 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 7 ▶use Punk ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 our $VERSION = '0.69';
9  
10 # This store lives in ONE process, so a write here is invisible to every
11 # other worker. Punk::Cache invalidates across the pool on its behalf.
12 29 ▶sub is_shared { 0 }
Subroutine is_shared: called CC=1 SCAR=0.0
Pod documented
13  
14 # All of it is C (include/punk/punk_cache.h + xs/cache.xs).
15  
16 7 1;
17  
18 __END__
« blib/lib/Punk/Cache/File.pm ↑ Summary blib/lib/Punk/Context.pm »