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

filter: Statementstmt 71.4% 10 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 61.9% 13 / 21 CC 1 SCAR 3.4
CC
1
Cov
71%
transparent
2.0
operate
2.0
BEGIN
1.0
CRAP 1.4
« lib/WWW/Shopify/Liquid/Filter/Min.pm ↑ Summary lib/WWW/Shopify/Liquid/Operator/MultiplyAssignment.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 38 ▶package WWW::Shopify::Liquid::Filter::Lstrip; use base 'WWW::Shopify::Liquid::Filter';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 0 ▶sub transparent { return 1; }
Subroutine transparent: not called CC=1 SCAR=6.9
Pod undocumented
7 0 ▶sub operate {
Subroutine operate: not called CC=1 SCAR=6.9
Pod undocumented
8 0 my ($self, $hash, $operand) = @_;
9 0 $operand =~ s/^\s*//;
10 0 return $operand;
11 }
12  
13 38 1;
« lib/WWW/Shopify/Liquid/Filter/Min.pm ↑ Summary lib/WWW/Shopify/Liquid/Operator/MultiplyAssignment.pm »