LazyInflator/Role/Class.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 88.8% 16 / 18 CC 1 SCAR 0.3
CC
1
Cov
93%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« LazyInflator/Meta/Role/Method/Accessor.pm ↑ Summary LazyInflator/Meta/Role/Role.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::Role::Class;
11 {
12 7 $MooseX::Attribute::LazyInflator::Role::Class::VERSION = '2.2.2';
13 }
14  
15 # ABSTRACT: Lazy inflate attributes
16 7 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 0 ▶has _inflated_attributes => ( is => 'rw', isa => 'HashRef', lazy => 1, default => sub {{}} );
Subroutine __ANON__: not called CC=1 SCAR=1.2
21  
22  
23 7 1;
24  
25  
26  
27 =pod
28  
29 =head1 NAME
30  
31 MooseX::Attribute::LazyInflator::Role::Class - Lazy inflate attributes
32  
33 =head1 VERSION
34  
35 version 2.2.2
36  
37 =head1 ATTRIBUTES
38  
39 =over 8
40  
41 =item B<_inflated_attributes>
42  
43 This attributes keeps a HashRef of inflated attributes.
44  
45 =back
46  
47 =head1 AUTHOR
48  
49 Moritz Onken
50  
51 =head1 COPYRIGHT AND LICENSE
52  
53 This software is Copyright (c) 2012 by Moritz Onken.
54  
55 This is free software, licensed under:
56  
57 The (three-clause) BSD License
58  
59 =cut
60  
61  
62 __END__
« LazyInflator/Meta/Role/Method/Accessor.pm ↑ Summary LazyInflator/Meta/Role/Role.pm »