LazyInflator/Meta/Role/ApplicationToRole.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« LazyInflator.pm ↑ Summary LazyInflator/Meta/Role/Composite.pm »
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::ApplicationToRole;
11 {
12 6 $MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToRole::VERSION = '2.2.2';
13 }
14 6 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶around apply => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
17 1 my $orig = shift;
18 1 my $self = shift;
19 1 my $role = shift;
20 1 my $class = shift;
21 1 $class =
22 Moose::Util::MetaRole::apply_metaroles(
23 for => $class,
24 role_metaroles => {
25 application_to_class => [
26 'MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToClass'
27 ],
28 } );
29 1 $self->$orig( $role, $class );
30 6 };
31  
32 6 1;
33  
34 __END__
« LazyInflator.pm ↑ Summary LazyInflator/Meta/Role/Composite.pm »