File Coverage

blib/lib/WWW/Shopify/Liquid/Operator/GreaterEquals.pm
Criterion Covered Total %
statement 11 12 91.6
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 3 0.0
total 16 21 76.1


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 21     21   10480 use strict;
  21         33  
  21         725  
3 21     21   116 use warnings;
  21         30  
  21         719  
4              
5             package WWW::Shopify::Liquid::Operator::GreaterEquals;
6 21     21   102 use base 'WWW::Shopify::Liquid::Operator';
  21         30  
  21         2994  
7 291     291 0 718 sub symbol { return '>='; }
8 92     92 0 157 sub priority { return 5; }
9 0     0 0   sub operate { return ($_[0]->ensure_numerical($_[3]) <=> $_[0]->ensure_numerical($_[4])) != -1; }
10              
11             1;