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

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 2 totaltotal 94.2% 33 / 35 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Expression/Operator/Binary/Logical.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Binary/Le.pm »
1 package DTL::Fast::Tag::Ifnotequal;
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::Ifequal';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 $DTL::Fast::TAG_HANDLERS{'ifnotequal'} = __PACKAGE__;
6  
7 2 ▶use DTL::Fast::Tag::If::Condition;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use DTL::Fast::Expression::Operator::Binary::Ne;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 #@Override
11 16 ▶sub get_close_tag{ return 'endifnotequal';}
Subroutine get_close_tag: called CC=1 SCAR=0.0
Pod undocumented
12  
13 #@Override
14 sub add_main_condition
15 {
16 16 ▶ my $self = shift;
Subroutine add_main_condition: called CC=1 SCAR=0.0
Pod undocumented
17 16 my $sources = shift;
18 16 return $self->add_condition(DTL::Fast::Expression::Operator::Binary::Ne->new(@{$sources}[0,1]));
19 }
20  
21 2 1;
« blib/lib/DTL/Fast/Expression/Operator/Binary/Logical.pm ↑ Summary blib/lib/DTL/Fast/Expression/Operator/Binary/Le.pm »