blib/lib/WWW/Shopify/Liquid/Operator/Greater.pm

filter: Statementstmt 76.9% 10 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 59.0% 13 / 22 CC 1 SCAR 4.1
CC
1
Cov
77%
symbol
2.0
priority
2.0
operate
2.0
CRAP 1.5
« blib/lib/WWW/Shopify/Liquid/Operator/Divide.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Operator/GreaterEquals.pm »
1 #!/usr/bin/perl
2 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package WWW::Shopify::Liquid::Operator::Greater;
6 30 ▶use base 'WWW::Shopify::Liquid::Operator';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 0 ▶sub symbol { return '>'; }
Subroutine symbol: not called CC=1 SCAR=6.9
Pod undocumented
8 0 ▶sub priority { return 5; }
Subroutine priority: not called CC=1 SCAR=6.9
Pod undocumented
9 0 ▶sub operate { return ($_[0]->ensure_numerical($_[3]) <=> $_[0]->ensure_numerical($_[4])) == 1; }
Subroutine operate: not called CC=1 SCAR=6.9
Pod undocumented
10  
11 30 1;
« blib/lib/WWW/Shopify/Liquid/Operator/Divide.pm ↑ Summary blib/lib/WWW/Shopify/Liquid/Operator/GreaterEquals.pm »