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

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 93.1% 27 / 29 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Tag/Spaceless.pm ↑ Summary blib/lib/DTL/Fast/Tag/Ifnotequal.pm »
1 package DTL::Fast::Expression::Operator::Binary::Logical;
2 4 ▶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 4 ▶use parent 'DTL::Fast::Expression::Operator::Binary';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 ▶use DTL::Fast::Utils qw(as_bool);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #@Override
8 sub render
9 {
10 1451 ▶ my( $self, $context ) = @_;
Subroutine render: called CC=1 SCAR=0.0
Pod undocumented
11
12 return $self->dispatch(
13 1451 as_bool($self->{'a'}->render($context, 1))
14 , $context
15 );
16 }
17  
18 sub get_b
19 {
20 730 ▶ my( $self, $context) = @_;
Subroutine get_b: called CC=1 SCAR=0.0
Pod undocumented
21 730 return as_bool($self->{'b'}->render($context, 1));
22 }
23  
24 4 1;
« blib/lib/DTL/Fast/Tag/Spaceless.pm ↑ Summary blib/lib/DTL/Fast/Tag/Ifnotequal.pm »