lib/WWW/Shopify/Liquid/Dialect/Shopify/Tag/Layout.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 2 SCAR 12.8
CC
2
Cov
0%
process
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4  
5 package WWW::Shopify::Liquid::Dialect::Shopify::Tag::Layout;
6 use base 'WWW::Shopify::Liquid::Tag::Free';
7 sub process {
8 my ($self, $hash, $action, $pipeline) = @_;
9 my $result = $self->{arguments}->[0]->$action($pipeline, $hash);
10 return $self if blessed($result);
11 $hash->{layout} = $result;
12 return '';
13 }
14  
15  
16  
17 1;