blib/lib/WWW/Shopify/Liquid/Filter/Join.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 16 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | 21 | 21 | 10215 | use strict; | |||
21 | 40 | ||||||
21 | 725 | ||||||
3 | 21 | 21 | 106 | use warnings; | |||
21 | 31 | ||||||
21 | 705 | ||||||
4 | |||||||
5 | 21 | 21 | 128 | package WWW::Shopify::Liquid::Filter::Join; use base 'WWW::Shopify::Liquid::Filter'; | |||
21 | 30 | ||||||
21 | 2199 | ||||||
6 | 0 | 0 | 0 | sub operate { return join($_[3], @{$_[2]}); } | |||
0 | |||||||
7 | |||||||
8 | 1; |