blib/lib/WWW/Shopify/Liquid/Dialect/Shopify/Filter/CollectionImgUrl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | 1 | 1 | 13336 | use strict; | |||
1 | 4 | ||||||
1 | 41 | ||||||
3 | 1 | 1 | 9 | use warnings; | |||
1 | 3 | ||||||
1 | 63 | ||||||
4 | |||||||
5 | # TODO: Write this. | ||||||
6 | package WWW::Shopify::Liquid::Dialect::Shopify::Filter::CollectionImgUrl; | ||||||
7 | 1 | 1 | 9 | use base 'WWW::Shopify::Liquid::Filter'; | |||
1 | 3 | ||||||
1 | 220 | ||||||
8 | 0 | 0 | 0 | sub max_arguments { return 1; } | |||
9 | 0 | 0 | 0 | sub operate { return '<a href="/customers/login">' . $_[2] . '</a>'; } | |||
10 | |||||||
11 | 1; |