File Coverage

blib/lib/CHI/Driver/Role/IsSubcache.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package CHI::Driver::Role::IsSubcache;
2             $CHI::Driver::Role::IsSubcache::VERSION = '0.61';
3 20     20   155 use Moo::Role;
  20         44  
  20         152  
4 20     20   7772 use strict;
  20         47  
  20         419  
5 20     20   105 use warnings;
  20         65  
  20         1428  
6              
7             has 'parent_cache' => ( is => 'ro', weak_ref => 1 );
8             has 'subcache_type' => ( is => 'ro' );
9              
10             1;