Reverse/Part.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 1 totaltotal 70.5% 12 / 17 SCAR 0.0
CC
1
Cov
83%
__ANON__
1.1
__ANON__
1.1
BEGIN
1.0
CRAP 1.0
« Reverse/Converter/TT2.pm ↑ Summary
1 package Template::Reverse::Part;
2 9 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 9 our $VERSION = '0.143'; # VERSION
5 # ABSTRACT: Part class.
6  
7 0 ▶has pre=>(is=>'rw', default=>sub{[]});
Subroutine __ANON__: not called CC=1 SCAR=1.2
8 0 ▶has post=>(is=>'rw' , default=>sub{[]});
Subroutine __ANON__: not called CC=1 SCAR=1.2
9 9 has type=>(is=>'rw');
10  
11 sub as_arrayref{
12 28 ▶ my ($self) = @_;
Subroutine as_arrayref: called CC=1 SCAR=0.0
Pod undocumented
13 28 return [$self->pre, $self->post];
14 }
15 9 1;
16  
17 __END__
« Reverse/Converter/TT2.pm ↑ Summary