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.60';
3 20     20   96 use Moo::Role;
  20         32  
  20         137  
4 20     20   9014 use strict;
  20         32  
  20         521  
5 20     20   83 use warnings;
  20         31  
  20         1016  
6              
7             has 'parent_cache' => ( is => 'ro', weak_ref => 1 );
8             has 'subcache_type' => ( is => 'ro' );
9              
10             1;