File Coverage

blib/lib/App/PerlWatcher/Memorizable.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package App::PerlWatcher::Memorizable;
2             {
3             $App::PerlWatcher::Memorizable::VERSION = '0.20';
4             }
5             # ABSTRACT: The base role to allow class to have 'memory' attributebrowser
6              
7 12     12   50264 use 5.12.0;
  12         43  
  12         462  
8 12     12   82 use strict;
  12         20  
  12         373  
9 12     12   62 use warnings;
  12         22  
  12         372  
10              
11 12     12   13323 use aliased qw/App::PerlWatcher::Memory/;
  12         5132  
  12         169  
12 12     12   2348 use Moo::Role;
  12         28  
  12         90  
13              
14              
15             has 'memory' => ( is => 'rw', default => sub{ Memory->new });
16              
17              
18             1;
19              
20             __END__