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

filter: Statementstmt 62.5% 10 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 48.1% 13 / 27 CC 2 SCAR 10.0
CC
2
Cov
56%
process
6.0
min_arguments
2.0
max_arguments
2.0
CRAP 2.7
« blib/lib/WWW/Shopify/Liquid/Operator/Contains.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Tag/Free.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::Form;
6 30 ▶use base 'WWW::Shopify::Liquid::Tag::Enclosing';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub min_arguments { return 1; }
Subroutine min_arguments: not called CC=1 SCAR=6.9
Pod undocumented
9 0 ▶sub max_arguments { return 1; }
Subroutine max_arguments: not called CC=1 SCAR=6.9
Pod undocumented
10  
11 sub process {
12 0 ▶ my ($self, $hash, $action, $pipeline) = @_;
Subroutine process: not called CC=2 SCAR=17.9
Pod undocumented
13 0 my $result = $self->{arguments}->[0]->$action($pipeline, $hash);
14 0 ▶ return $self if blessed($result);
Branch: 1 branch
BranchTrueFalseTotal
if blessed($result) 0 0 0
15 0 return '';
16 }
17  
18  
19  
20 30 1;
« blib/lib/WWW/Shopify/Liquid/Operator/Contains.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Tag/Free.pm »