blib/lib/WWW/Shopify/Liquid/Filter/Split.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 18 | 19 | 94.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | 37 | 37 | 14482 | use strict; | |||
37 | 118 | ||||||
37 | 1117 | ||||||
3 | 37 | 37 | 239 | use warnings; | |||
37 | 98 | ||||||
37 | 1460 | ||||||
4 | |||||||
5 | package WWW::Shopify::Liquid::Filter::Split; | ||||||
6 | 37 | 37 | 270 | use base 'WWW::Shopify::Liquid::Filter'; | |||
37 | 104 | ||||||
37 | 3624 | ||||||
7 | 37 | 37 | 284 | use Devel::StackTrace; | |||
37 | 107 | ||||||
37 | 2141 | ||||||
8 | |||||||
9 | 6 | 6 | 0 | 120 | sub operate { return [split($_[3], $_[2])]; } | ||
10 | |||||||
11 | 1; |