File Coverage

blib/lib/WWW/Shopify/Liquid/Filter/Decode.pm
Criterion Covered Total %
statement 12 15 80.0
branch n/a
condition n/a
subroutine 4 6 66.6
pod 0 2 0.0
total 16 23 69.5


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 37     37   15042 use strict;
  37         99  
  37         1157  
3 37     37   235 use warnings;
  37         97  
  37         1490  
4              
5             package WWW::Shopify::Liquid::Filter::Decode;
6 37     37   238 use base 'WWW::Shopify::Liquid::Filter';
  37         88  
  37         3691  
7 37     37   14882 use Encode;
  37         391573  
  37         6374  
8 0     0 0   sub min_arguments { 1; }
9             sub operate {
10 0     0 0   my ($self, $hash, $operand, $encoding) = @_;
11 0           return decode($encoding, $operand);
12             }
13              
14             1;