File Coverage

blib/lib/WWW/Shopify/Liquid/Filter/Within.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 21     21   10350 use strict;
  21         37  
  21         680  
3 21     21   94 use warnings;
  21         33  
  21         652  
4              
5 21     21   93 package WWW::Shopify::Liquid::Filter::Within; use base 'WWW::Shopify::Liquid::Filter';
  21         30  
  21         2723  
6 0     0 0   sub min_arguments { return 1; }
7 0     0 0   sub max_arguments { return 1; }
8 0     0 0   sub operate { return "/collections/" . $_[3]->{handle} . $_[2]; }
9              
10             1;