File Coverage

blib/lib/WWW/Shopify/Liquid/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 21     21   10862 use strict;
  21         37  
  21         744  
3 21     21   100 use warnings;
  21         32  
  21         681  
4              
5             package WWW::Shopify::Liquid::Tag::Layout;
6 21     21   88 use base 'WWW::Shopify::Liquid::Tag::Free';
  21         33  
  21         3004  
7             sub process {
8 0     0 0   my ($self, $hash) = @_;
9 0           my $result = $self->{arguments}->[0]->process($hash);
10 0 0         return $self if blessed($result);
11 0           $hash->{layout} = $result;
12 0           return '';
13             }
14              
15              
16              
17             1;