File Coverage

blib/lib/WWW/Shopify/Liquid/Operator/Less.pm
Criterion Covered Total %
statement 9 12 75.0
branch n/a
condition n/a
subroutine 3 6 50.0
pod 0 3 0.0
total 12 21 57.1


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 30     30   15753 use strict;
  30         49  
  30         917  
3 30     30   124 use warnings;
  30         55  
  30         1076  
4              
5             package WWW::Shopify::Liquid::Operator::Less;
6 30     30   139 use base 'WWW::Shopify::Liquid::Operator';
  30         46  
  30         4486  
7 0     0 0   sub symbol { return '<'; }
8 0     0 0   sub priority { return 5; }
9 0     0 0   sub operate { return ($_[0]->ensure_numerical($_[3]) <=> $_[0]->ensure_numerical($_[4])) == -1; }
10              
11             1;