File Coverage

blib/lib/WWW/Shopify/Liquid/Operator/Multiply.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 3 0.0
total 18 21 85.7


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 37     37   15633 use strict;
  37         101  
  37         1168  
3 37     37   230 use warnings;
  37         97  
  37         1398  
4              
5             package WWW::Shopify::Liquid::Operator::Multiply;
6 37     37   226 use base 'WWW::Shopify::Liquid::Operator';
  37         91  
  37         6087  
7 1321     1321 0 4219 sub symbol { return '*'; }
8 7140     7140 0 19789 sub priority { return 10; }
9 9     9 0 47 sub operate { return $_[0]->ensure_numerical($_[3]) * $_[0]->ensure_numerical($_[4]); }
10              
11             1;