File Coverage

blib/lib/Storage/Abstract/Driver/Null.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 4 5 80.0
pod 2 2 100.0
total 15 17 88.2


line stmt bran cond sub pod time code
1             package Storage::Abstract::Driver::Null;
2             $Storage::Abstract::Driver::Null::VERSION = '0.008';
3 2     2   525 use v5.14;
  2         7  
4 2     2   11 use warnings;
  2         5  
  2         153  
5              
6 2     2   14 use Mooish::Base -standard;
  2         5  
  2         18  
7              
8             extends 'Storage::Abstract::Driver';
9              
10             with 'Storage::Abstract::Role::Driver::Basic';
11              
12             sub store_impl
13             {
14             # don't store anywhere
15             }
16              
17             sub is_stored_impl
18             {
19             # never true
20 5     5 1 37 return !!0;
21             }
22              
23             sub retrieve_impl
24             {
25             # will never be called
26             }
27              
28             sub dispose_impl
29             {
30             # will never be called
31             }
32              
33             sub list_impl
34             {
35 0     0 1   return [];
36             }
37              
38             1;
39              
40             __END__