Cache/Store/Memory.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
setup_memory_cache_backend
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2  
3 package Catalyst::Plugin::Cache::Store::Memory;
4  
5 use strict;
6 use warnings;
7  
8 use Catalyst::Plugin::Cache::Backend::Memory;
9  
10 sub setup_memory_cache_backend {
11 my ( $app, $name ) = @_;
12 $app->register_cache_backend( $name => Catalyst::Plugin::Cache::Backend::Memory->new );
13 }
14  
15 __PACKAGE__;
16  
17 __END__