File Coverage

blib/lib/WWW/Shopify/Liquid/Dialect/Shopify.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 20 21 95.2


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3 3     3   3248 use strict;
  3         9  
  3         113  
4 3     3   20 use warnings;
  3         7  
  3         148  
5              
6              
7             =head1 NAME
8              
9             WWW::Shopify::Liquid::Dialect::Shopify - Emulates Shopify-like liquid as much as possible.
10              
11             =cut
12              
13             package WWW::Shopify::Liquid::Dialect::Shopify;
14 3     3   22 use base 'WWW::Shopify::Liquid::Dialect';
  3         8  
  3         311  
15              
16 3     3   24 use WWW::Shopify::Liquid::Dialect::Web;
  3         8  
  3         245  
17              
18             sub apply {
19 1     1 0 4 my ($self, $liquid) = @_;
20 1         12 WWW::Shopify::Liquid::Dialect::Web->apply($liquid);
21 1         13 $self->SUPER::apply($liquid);
22             }
23              
24             1;