lib/WWW/Shopify/Liquid/Filter/DecodeBase64.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 80.9% 17 / 21 CC 1 SCAR 1.8
CC
1
Cov
87%
operate
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/WWW/Shopify/Liquid/Dialect/Shopify.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/EncodeBase64.pm »
1 #!/usr/bin/perl
2 38 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 38 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package WWW::Shopify::Liquid::Filter::DecodeBase64;
6 38 ▶use base 'WWW::Shopify::Liquid::Filter';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 38 ▶use MIME::Base64 qw(decode_base64);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 0 ▶sub operate {
Subroutine operate: not called CC=1 SCAR=6.9
Pod undocumented
11 0 my ($self, $hash, $operand) = @_;
12 0 return decode_base64($operand);
13 }
14  
15 38 1;
« lib/WWW/Shopify/Liquid/Dialect/Shopify.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/EncodeBase64.pm »