Store.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Ownership.pm ↑ Summary
1 package Text::Tradition::Store;
2 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use Class::Load ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 extends 'KiokuDB';
5  
6 4 has resolver_class =>
7 ( is => 'rw', isa => 'Str', default => 'KiokuDB::TypeMap::Resolver' );
8 4 has resolver_constructor =>
9 ( is => 'rw', isa => 'Str|CodeRef', default => 'new' );
10  
11 2 ▶override _build_typemap_resolver => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
12 2 my ($self) = @_;
13 2 my $rclass = $self->resolver_class;
14 2 Class::Load::load_class($rclass);
15 2 my $meth = $self->resolver_constructor;
16 2 return $rclass->$meth;
17 4 };
18  
19 4 1;
« Ownership.pm ↑ Summary