Cache/Interp.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Cache.pm ↑ Summary Cache/Request.pm »
1 package Mason::Plugin::Cache::Interp;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $Mason::Plugin::Cache::Interp::VERSION = '0.05';
4 }
5 1 ▶use CHI;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Mason::Util qw(catdir);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Mason::PluginRole;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 # Passed attributes
10 #
11 1 has 'cache_defaults' => ( is => 'ro', isa => 'HashRef', lazy_build => 1 );
12 1 has 'cache_root_class' => ( is => 'ro', isa => 'Str', default => 'CHI' );
13  
14 1 ▶method _build_cache_defaults () {
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine _build_cache_defaults: called CC=1 SCAR=0.0
15 return {
16 1 driver => 'File',
17 root_dir => catdir( $self->data_dir, 'cache' )
18 };
19 1 }
20  
21 1 1;
« Cache.pm ↑ Summary Cache/Request.pm »