File Coverage

blib/lib/Template/LiquidX/Tidy/Tag/include.pm
Criterion Covered Total %
statement 13 18 72.2
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 1 0.0
total 18 25 72.0


line stmt bran cond sub pod time code
1             package Template::LiquidX::Tidy::Tag::include;
2              
3 1     1   7 use strict;
  1         2  
  1         32  
4 1     1   5 use warnings;
  1         3  
  1         29  
5 1     1   6 use experimental 'signatures';
  1         2  
  1         6  
6              
7             our $VERSION = '0.01';
8              
9 1     1   134 use base 'Template::Liquid::Tag';
  1         3  
  1         276  
10              
11             #sub conditional_tag { }
12 1     1   4 sub import { Template::Liquid::register_tag('include') }
13 0     0 0   sub new ($class, $args) {
  0            
  0            
  0            
14 0           bless $args => $class
15             }
16              
17             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 in Template::LiquidX::Tidy.
28              
29             =cut
30