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

filter: Statementstmt 73.6% 14 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 72.0% 18 / 25 SCAR 0.2
CC
1
Cov
74%
render
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Tag/If/Condition.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Unary.pm »
1 package DTL::Fast::Tag::Debug;
2 5 ▶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 5 ▶use parent 'DTL::Fast::Tag::Simple';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 5 $DTL::Fast::TAG_HANDLERS{'debug'} = __PACKAGE__;
6  
7 #@Override
8 sub render
9 {
10 0 ▶ my $self = shift;
Subroutine render: not called CC=1 SCAR=6.9
Pod undocumented
11 0 my $context = shift;
12  
13 0 require Data::Dumper;
14 0 my $result = Data::Dumper->Dump([$context], ['context']);
15
16 0 return $result;
17 }
18  
19 5 1;
« blib/lib/DTL/Fast/Tag/If/Condition.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Unary.pm »