File Coverage

blib/lib/WWW/Shopify/Liquid/Filter/DecodeBase64.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 20 80.0


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 37     37   14725 use strict;
  37         103  
  37         1168  
3 37     37   738 use warnings;
  37         93  
  37         1790  
4              
5             package WWW::Shopify::Liquid::Filter::DecodeBase64;
6 37     37   255 use base 'WWW::Shopify::Liquid::Filter';
  37         93  
  37         4087  
7              
8 37     37   275 use MIME::Base64 qw(decode_base64);
  37         892  
  37         3813  
9              
10             sub operate {
11 0     0 0   my ($self, $hash, $operand) = @_;
12 0           return decode_base64($operand);
13             }
14              
15             1;