« blib/lib/WWW/Shopify/Liquid/Filter/ProductImgUrl.pm
↑ Summary
blib/lib/WWW/Shopify/Liquid/Filter/EscapeCSS.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::Whitespace; | ||||||||||
| 6 | 30 | ▶ | use base 'WWW::Shopify::Liquid::Tag::Enclosing'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 0 | ▶ | sub min_arguments { return 0; } | ||||||||
|
Subroutine
min_arguments: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 9 | 0 | ▶ | sub max_arguments { return 0; } | ||||||||
|
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 | |||||||||||
| 14 | 0 | my $result = $self->{contents}->$action($pipeline, $hash); | |||||||||
| 15 | 0 | ▶ | return $self unless $self->is_processed($result); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 0 | $result =~ s///; | |||||||||
| 17 | 0 | return $result; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | 30 | 1; | |||||||||