File Coverage

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


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 21     21   10563 use strict;
  21         637  
  21         796  
3 21     21   109 use warnings;
  21         32  
  21         789  
4              
5             package WWW::Shopify::Liquid::Operator::And;
6 21     21   98 use base 'WWW::Shopify::Liquid::Operator';
  21         28  
  21         2846  
7 291     291 0 798 sub symbol { return ('&&', 'and'); }
8 1426     1426 0 2882 sub priority { return 3; }
9 0   0 0 0   sub operate { return $_[3] && $_[4]; }
10              
11             1;