Template/LiquidX/Tidy/Tag/include.pm

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