File Coverage

blib/lib/WWW/Shopify/Liquid/Filter/Remove.pm
Criterion Covered Total %
statement 9 13 69.2
branch 0 2 0.0
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 20 60.0


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2 37     37   14997 use strict;
  37         99  
  37         1191  
3 37     37   227 use warnings;
  37         144  
  37         1401  
4              
5 37     37   230 package WWW::Shopify::Liquid::Filter::Remove; use base 'WWW::Shopify::Liquid::Filter';
  37         88  
  37         5603  
6 0 0   0 0   sub operate { my $str = $_[2]; return '' unless defined $str; $str =~ s/$_[3]//g; return $str; }
  0            
  0            
  0            
7              
8             1;