File Coverage

blib/lib/DTL/Fast/Expression/Operator/Binary/Ne.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 23 24 95.8


line stmt bran cond sub pod time code
1             package DTL::Fast::Expression::Operator::Binary::Ne;
2 4     4   957 use strict;
  4         8  
  4         95  
3 4     4   18 use utf8;
  4         7  
  4         20  
4 4     4   80 use warnings FATAL => 'all';
  4         8  
  4         119  
5 4     4   19 use parent 'DTL::Fast::Expression::Operator::Binary::Eq';
  4         8  
  4         15  
6              
7             $DTL::Fast::OPS_HANDLERS{'!='} = __PACKAGE__;
8             $DTL::Fast::OPS_HANDLERS{'<>'} = __PACKAGE__;
9              
10 4     4   304 use Scalar::Util qw(looks_like_number);
  4         11  
  4         299  
11              
12             sub render
13             {
14 60     60 0 103 my $self = shift;
15 60         189 return !$self->SUPER::render(@_);
16             }
17              
18             1;