blib/lib/DTL/Fast/Tag/Spaceless.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 2 totaltotal 92.5% 25 / 27 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Tag/Filter.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Binary/Logical.pm »
1 package DTL::Fast::Tag::Spaceless;
2 2 ▶use strict; use utf8; use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use parent 'DTL::Fast::Tag';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 $DTL::Fast::TAG_HANDLERS{'spaceless'} = __PACKAGE__;
6  
7 #@Override
8 1 ▶sub get_close_tag{return 'endspaceless';}
Subroutine get_close_tag: called CC=1 SCAR=0.0
Pod undocumented
9  
10 sub render
11 {
12 1 ▶ my $self = shift;
Subroutine render: called CC=1 SCAR=0.0
Pod undocumented
13 1 my $context = shift;
14
15 1 my $result = $self->SUPER::render($context);
16
17 1 return DTL::Fast::spaceless($result);
18 }
19  
20 2 1;
« blib/lib/DTL/Fast/Tag/Filter.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Binary/Logical.pm »