Gideon/Meta/Attribute/Trait/Inflate.pm

filter: Statementstmt 71.4% 10 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod 0.0% 0 / 2 totaltotal 57.8% 11 / 19 CC 1 SCAR 5.1
CC
1
Cov
71%
get_inflator
2.0
get_deflator
2.0
BEGIN
1.0
CRAP 1.7
« Gideon/Plugin.pm ↑ Summary Gideon.pm »
1 package Gideon::Meta::Attribute::Trait::Inflate;
2 {
3 1 $Gideon::Meta::Attribute::Trait::Inflate::VERSION = '0.0.3';
4 }
5 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #ABSTRACT: Inflated attribute
8  
9 1 with 'Gideon::Meta::Attribute::Trait::Inflated';
10  
11 1 Moose::Util::meta_attribute_alias('Gideon::Inflate');
12  
13 1 has inflator => ( is => 'ro', isa => 'CodeRef' );
14 1 has deflator => ( is => 'ro', isa => 'CodeRef' );
15  
16 0 ▶sub get_inflator {
Subroutine get_inflator: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $self = shift;
18 0 $self->inflator;
19 }
20  
21 0 ▶sub get_deflator {
Subroutine get_deflator: not called CC=1 SCAR=6.9
Pod undocumented
22 0 my $self = shift;
23 0 $self->deflator;
24 }
25  
26 1 1;
27  
28 __END__
« Gideon/Plugin.pm ↑ Summary Gideon.pm »