Template/LiquidX/Tidy/Tag/post_url.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 86.3% 19 / 22 CC 1 SCAR 1.5
CC
1
Cov
93%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Template/LiquidX/Tidy/Liquid/Utility.pm ↑ Summary Template/LiquidX/Tidy/Tag/include.pm »
1 package Template::LiquidX::Tidy::Tag::post_url;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use experimental 'signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use base 'Template::Liquid::Tag';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 #sub conditional_tag { }
9 1 ▶sub import { Template::Liquid::register_tag('post_url') }
Subroutine import: called CC=1 SCAR=0.0
10 ▶sub new ($class, $args) {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
11 0 bless $args => $class
12 }
13  
14 1 1;
15  
16 =head1 NAME
17  
18 Template::LiquidX::Tidy::Tag::post_url - This is a DUMMY tag to support post_url
19  
20 =head1 SYNOPSIS
21  
22 You cannot use this tag for actual post URL dereferencing!
23  
24 It is only enough to support indentation of Liquid C<post_url> in Template::LiquidX::Tidy.
25  
26 =cut
27  
« Template/LiquidX/Tidy/Liquid/Utility.pm ↑ Summary Template/LiquidX/Tidy/Tag/include.pm »