| 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::Tag::Free; | ||||||||||
| 6 | 30 | ▶ | use base 'WWW::Shopify::Liquid::Tag'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 0 | ▶ | sub is_free { return 1; } | ||||||||
|
Subroutine
is_free: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 8 | 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
| |||||||||||
| 9 | 0 | ▶ | sub tokens { return ($_[0], map { $_->tokens } grep { defined $_ } (@{$_[0]->{arguments}})); } | ||||||||
|
Subroutine
tokens: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 10 | sub new { | ||||||||||
| 11 | 0 | ▶ | my ($package, $line, $tag, $arguments) = @_; | ||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 0 | my $self = { line => $line, core => $tag, arguments => $arguments }; | |||||||||
| 13 | 0 | return bless $self, $package; | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 30 | 1; | |||||||||