« blib/lib/DTL/Fast/Filter/Truncatechars.pm
↑ Summary
blib/lib/DTL/Fast/Expression/Operator/Binary/Or.pm »
| 1 | package DTL::Fast::Expression::Operator::Binary::And; | ||||||||||||||||||||
| 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::Logical'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | 4 | $DTL::Fast::OPS_HANDLERS{'and'} = __PACKAGE__; | |||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | sub dispatch | ||||||||||||||||||||
| 8 | { | ||||||||||||||||||||
| 9 | 730 | ▶ | my( $self, $arg1, $context ) = @_; | ||||||||||||||||||
|
Subroutine
dispatch: called CC=3 SCAR=11.3
Pod
undocumented
| |||||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 730 | ▶ | if( UNIVERSAL::can($arg1, 'and') ) | ||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||
| 12 | { | ||||||||||||||||||||
| 13 | 0 | return $arg1->and($self->get_b($context)); | |||||||||||||||||||
| 14 | } | ||||||||||||||||||||
| 15 | else | ||||||||||||||||||||
| 16 | { | ||||||||||||||||||||
| 17 | 730 | ▶ | return $arg1 && $self->get_b($context); | ||||||||||||||||||
|
Condition100%3/3
$arg1 && $self->get_b($context)
MC/DC100%2/2
$arg1 && $self->get_b($context)
$arg1
$self->get_b($context)
Truth table100%3/3
A && B
A= $arg1B= $self->get_b($context)
| |||||||||||||||||||||
| 18 | } | ||||||||||||||||||||
| 19 | } | ||||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | 4 | 1; | |||||||||||||||||||