« lib/WWW/Shopify/Liquid/Filter/ImgTag.pm
↑ Summary
lib/WWW/Shopify/Liquid/Dialect/Web/Filter/LinkTo.pm »
| 1 | #!/usr/bin/perl | ||||||||||||||||||||
| 2 | 38 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | 38 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | package WWW::Shopify::Liquid::Filter::Reverse; | ||||||||||||||||||||
| 6 | 38 | ▶ | use base 'WWW::Shopify::Liquid::Filter'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | 0 | ▶ | sub max_arguments { return 0; } | ||||||||||||||||||
|
Subroutine
max_arguments: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 8 | 0 | ▶ | sub operate { | ||||||||||||||||||
|
Subroutine
operate: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||||||||||
| 9 | 0 | my ($self, $hash, $operand) = @_; | |||||||||||||||||||
| 10 | 0 | ▶ | return undef unless (ref($operand) || '') eq 'ARRAY'; | ||||||||||||||||||
|
Branch: 1 branch
Condition0%0/2
ref $operand || ''
MC/DC0%0/1
ref $operand || ''
ref $operand
Truth table0%0/2
A
A= ref $operand
| |||||||||||||||||||||
| 11 | 0 | return [reverse(@$operand)]; | |||||||||||||||||||
| 12 | } | ||||||||||||||||||||
| 13 | |||||||||||||||||||||
| 14 | 38 | 1; | |||||||||||||||||||