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

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.3% 26 / 27 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Filter/Linebreaksbr.pm ↑ Summary blib/lib/DTL/Fast/Filter/Escapejs.pm »
1 package DTL::Fast::Tag::DumpHTML;
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::Dump';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 $DTL::Fast::TAG_HANDLERS{'dump_html'} = __PACKAGE__;
6 2 ▶use DTL::Fast;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #@Override
9 sub render
10 {
11 6 ▶ my ($self, $context) = @_;
Subroutine render: called CC=1 SCAR=0.0
Pod undocumented
12  
13 6 my $result = sprintf
14 '<textarea class="dtl_fast_dump_area" style="display:block;height:100px;width:100%%;">%s</textarea>'
15 , DTL::Fast::html_protect($self->SUPER::render($context));
16
17 6 return $result;
18 }
19  
20 2 1;
« blib/lib/DTL/Fast/Filter/Linebreaksbr.pm ↑ Summary blib/lib/DTL/Fast/Filter/Escapejs.pm »