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

filter: Statementstmt 83.3% 10 / 12 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 68.4% 13 / 19 CC 2 SCAR 11.0
CC
2
Cov
71%
operate
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« lib/WWW/Shopify/Liquid/Filter/Escape.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/Pluralize.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::Default;
6 38 ▶use base 'WWW::Shopify::Liquid::Filter';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 0 ▶sub operate {
Subroutine operate: not called CC=2 SCAR=17.9
Pod undocumented
8 0 my ($self, $hash, $operand, $argument) = @_;
9 0 ▶ return defined $operand ? $operand : $argument;
Branch: 1 branch
BranchTrueFalseTotal
defined $operand ? : 0 0 0
10 }
11  
12 38 1;
« lib/WWW/Shopify/Liquid/Filter/Escape.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/Pluralize.pm »