blib/lib/WWW/Shopify/Liquid/Tag/Raw.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 13 | 69.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 20 | 60.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | 30 | 30 | 15462 | use strict; | |||
30 | 58 | ||||||
30 | 850 | ||||||
3 | 30 | 30 | 130 | use warnings; | |||
30 | 42 | ||||||
30 | 985 | ||||||
4 | |||||||
5 | package WWW::Shopify::Liquid::Tag::Raw; | ||||||
6 | 30 | 30 | 119 | use base 'WWW::Shopify::Liquid::Tag::Enclosing'; | |||
30 | 41 | ||||||
30 | 4071 | ||||||
7 | 0 | 0 | 0 | sub inner_halt_lexing { return 1; } | |||
8 | sub process { | ||||||
9 | 0 | 0 | 0 | my ($self, $hash, $action, $pipeline) = @_; | |||
10 | 0 | my $result = $self->{contents}->$action($pipeline, $hash); | |||||
11 | 0 | return $result; | |||||
12 | } | ||||||
13 | |||||||
14 | |||||||
15 | |||||||
16 | 1; |