LazyInflator/Meta/Role/Composite.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
BEGIN
1.0
CRAP 1.0
« LazyInflator/Meta/Role/ApplicationToRole.pm ↑ Summary
1 #
2 # This file is part of MooseX-Attribute-Deflator
3 #
4 # This software is Copyright (c) 2012 by Moritz Onken.
5 #
6 # This is free software, licensed under:
7 #
8 # The (three-clause) BSD License
9 #
10 package MooseX::Attribute::LazyInflator::Meta::Role::Composite;
11 {
12 2 $MooseX::Attribute::LazyInflator::Meta::Role::Composite::VERSION = '2.2.2';
13 }
14 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶around apply_params => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
17 1 my $orig = shift;
18 1 my $self = shift;
19  
20 1 $self->$orig(@_);
21  
22 1 $self = Moose::Util::MetaRole::apply_metaroles(
23 for => $self,
24 role_metaroles => {
25 application_to_class => ['MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToClass'],
26 application_to_role => ['MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToRole'],
27 },
28 );
29  
30 1 return $self;
31 2 };
32  
33  
34 2 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 2 1;
37  
38 __END__
« LazyInflator/Meta/Role/ApplicationToRole.pm ↑ Summary