blib/lib/Moose/Meta/Attribute/Native/Trait/Counter.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
_helper_type
1.0
_root_types
1.0
CRAP 1.0
« blib/lib/Moose/Meta/Attribute/Native/Trait/Code.pm ↑ Summary blib/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm »
1 package Moose::Meta::Attribute::Native::Trait::Counter;
2 4 our $VERSION = '2.4001';
3  
4 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 with 'Moose::Meta::Attribute::Native::Trait';
6  
7 11 ▶sub _helper_type { 'Num' }
Subroutine _helper_type: called CC=1 SCAR=0.0
8 56 ▶sub _root_types { 'Num', 'Int' }
Subroutine _root_types: called CC=1 SCAR=0.0
9  
10 4 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 4 1;
13  
14 # ABSTRACT: Helper trait for Int attributes which represent counters
15  
16 __END__
« blib/lib/Moose/Meta/Attribute/Native/Trait/Code.pm ↑ Summary blib/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm »