File Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Form.pm
Criterion Covered Total %
statement 9 15 60.0
branch 0 2 0.0
condition n/a
subroutine 3 6 50.0
pod 0 3 0.0
total 12 26 46.1


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 30     30   15732 use strict;
  30         53  
  30         871  
3 30     30   122 use warnings;
  30         43  
  30         1031  
4              
5             package WWW::Shopify::Liquid::Tag::Form;
6 30     30   111 use base 'WWW::Shopify::Liquid::Tag::Enclosing';
  30         62  
  30         4803  
7              
8 0     0 0   sub min_arguments { return 1; }
9 0     0 0   sub max_arguments { return 1; }
10              
11             sub process {
12 0     0 0   my ($self, $hash, $action, $pipeline) = @_;
13 0           my $result = $self->{arguments}->[0]->$action($pipeline, $hash);
14 0 0         return $self if blessed($result);
15 0           return '';
16             }
17              
18              
19              
20             1;