blib/lib/WWW/Shopify/Liquid/Filter/Upcase.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 | 21 | 21 | 9716 | use strict; | |||
21 | 40 | ||||||
21 | 691 | ||||||
3 | 21 | 21 | 94 | use warnings; | |||
21 | 31 | ||||||
21 | 637 | ||||||
4 | |||||||
5 | 21 | 21 | 84 | package WWW::Shopify::Liquid::Filter::Upcase; use base 'WWW::Shopify::Liquid::Filter'; | |||
21 | 30 | ||||||
21 | 2136 | ||||||
6 | 0 | 0 | 0 | sub max_arguments { return 1; } | |||
7 | 0 | 0 | 0 | sub operate { return uc($_[2]); } | |||
8 | |||||||
9 | 1; |