File Coverage

blib/lib/WWW/Shopify/Liquid/Dialect/Shopify/Tag/Layout.pm
Criterion Covered Total %
statement 9 14 64.2
branch 0 2 0.0
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 21 57.1


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 1     1   350 use strict;
  1         3  
  1         22  
3 1     1   5 use warnings;
  1         2  
  1         27  
4              
5             package WWW::Shopify::Liquid::Dialect::Shopify::Tag::Layout;
6 1     1   4 use base 'WWW::Shopify::Liquid::Tag::Free';
  1         2  
  1         133  
7             sub process {
8 0     0 0   my ($self, $hash, $action, $pipeline) = @_;
9 0           my $result = $self->{arguments}->[0]->$action($pipeline, $hash);
10 0 0         return $self if blessed($result);
11 0           $hash->{layout} = $result;
12 0           return '';
13             }
14              
15              
16              
17             1;