blib/lib/WWW/Shopify/Liquid/Tag/Layout.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 59.0% 13 / 22 CC 2 SCAR 11.0
CC
2
Cov
59%
process
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« blib/lib/WWW/Shopify/Liquid/Filter/Handleize.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Filter/NewlineToBr.pm »
1 #!/usr/bin/perl
2 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package WWW::Shopify::Liquid::Tag::Layout;
6 30 ▶use base 'WWW::Shopify::Liquid::Tag::Free';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 sub process {
8 0 ▶ my ($self, $hash, $action, $pipeline) = @_;
Subroutine process: not called CC=2 SCAR=17.9
Pod undocumented
9 0 my $result = $self->{arguments}->[0]->$action($pipeline, $hash);
10 0 ▶ return $self if blessed($result);
Branch: 1 branch
BranchTrueFalseTotal
if blessed($result) 0 0 0
11 0 $hash->{layout} = $result;
12 0 return '';
13 }
14  
15  
16  
17 30 1;
« blib/lib/WWW/Shopify/Liquid/Filter/Handleize.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Filter/NewlineToBr.pm »