blib/lib/DTL/Fast/Expression/Operator/Unary/Logical.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.0% 24 / 25 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Filter/Rjust.pm ↑ Summary blib/lib/DTL/Fast/Filter/Addslashes.pm »
1 package DTL::Fast::Expression::Operator::Unary::Logical;
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::Expression::Operator::Unary';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 5 ▶use DTL::Fast::Utils qw(as_bool);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub render
8 {
9 922 ▶ my( $self, $context ) = @_;
Subroutine render: called CC=1 SCAR=0.0
Pod undocumented
10
11 return $self->dispatch(
12 922 as_bool($self->{'a'}->render($context, 1))
13 , $context
14 );
15 }
16  
17 5 1;
« blib/lib/DTL/Fast/Filter/Rjust.pm ↑ Summary blib/lib/DTL/Fast/Filter/Addslashes.pm »