blib/lib/CHI/Driver/RawMemory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 16 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CHI::Driver::RawMemory; | ||||||
2 | $CHI::Driver::RawMemory::VERSION = '0.61'; | ||||||
3 | 1 | 1 | 516 | use Moo; | |||
1 | 2 | ||||||
1 | 7 | ||||||
4 | 1 | 1 | 406 | use strict; | |||
1 | 3 | ||||||
1 | 25 | ||||||
5 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 106 | ||||||
6 | |||||||
7 | extends 'CHI::Driver::Memory'; | ||||||
8 | |||||||
9 | has 'serializer' => ( is => 'ro', init_arg => undef ); | ||||||
10 | |||||||
11 | sub append { | ||||||
12 | 0 | 0 | 0 | my ( $self, $key, $new ) = @_; | |||
13 | |||||||
14 | 0 | return "append not yet supported in this driver"; | |||||
15 | } | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |