lib/WWW/Shopify/Liquid/Tag.pm

filter: Statementstmt 48.1% 13 / 27 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 4 / 12 Podpod 0.0% 0 / 8 totaltotal 33.3% 17 / 51 CC 3 SCAR 10.5
CC
3
Cov
42%
abstract
6.0
name
6.0
inner_tags
2.0
CRAP 2.9
« lib/WWW/Shopify/Liquid/Filter/Downcase.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/Camelize.pm »
1 #!/usr/bin/perl
2  
3 38 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 38 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 38 ▶use WWW::Shopify::Liquid;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 package WWW::Shopify::Liquid::Tag;
9 37 ▶use base 'WWW::Shopify::Liquid::Element';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶sub inner_tags { return (); }
Subroutine inner_tags: not called CC=1 SCAR=6.9
Pod undocumented
12 0 ▶sub abstract { my $package = ref($_[0]) ? ref($_[0]) : $_[0]; return ($package eq __PACKAGE__); }
Subroutine abstract: not called CC=2 SCAR=17.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
ref $_[0] ? : 0 0 0
13 0 ▶sub name { my $package = ref($_[0]) ? ref($_[0]) : $_[0]; $package =~ s/^.*:://; $package =~ s/([a-z])([A-Z])/$1_$2/g; return lc($package); }
Subroutine name: not called CC=2 SCAR=17.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
ref $_[0] ? : 0 0 0
14 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my ($package, $line, $tag, $arguments, $contents) = @_;
16 0 my $self = { line => $line, core => $tag, arguments => $arguments, contents => $contents };
17 0 return bless $self, $package;
18 }
19 0 ▶sub is_free { return 0; }
Subroutine is_free: not called CC=1 SCAR=6.9
Pod undocumented
20 0 ▶sub is_enclosing { return 0; }
Subroutine is_enclosing: not called CC=1 SCAR=6.9
Pod undocumented
21 0 ▶sub min_arguments { return 0; }
Subroutine min_arguments: not called CC=1 SCAR=6.9
Pod undocumented
22 0 ▶sub max_arguments { return undef; }
Subroutine max_arguments: not called CC=1 SCAR=6.9
Pod undocumented
23  
24  
25 37 1;
« lib/WWW/Shopify/Liquid/Filter/Downcase.pm ↑ Summary lib/WWW/Shopify/Liquid/Filter/Camelize.pm »