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 21     21   118611 use strict;
  21         45  
  21         844  
3 21     21   109 use warnings;
  21         32  
  21         848  
4              
5             package WWW::Shopify::Liquid::Tag::Form;
6 21     21   109 use base 'WWW::Shopify::Liquid::Tag::Enclosing';
  21         32  
  21         9684  
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) = @_;
13 0           my $result = $self->{arguments}->[0]->process($hash);
14 0 0         return $self if blessed($result);
15 0           return '';
16             }
17              
18              
19              
20             1;