blib/lib/DTL/Fast/Tags.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Filters.pm ↑ Summary
1 package DTL::Fast::Tags;
2 98 ▶use strict; use utf8; use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 98 ▶use DTL::Fast qw(register_tag);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # built in tags
7 98 register_tag(qw(
8 autoescape DTL::Fast::Tag::Autoescape
9 block DTL::Fast::Tag::Block
10 comment DTL::Fast::Tag::Comment
11 cycle DTL::Fast::Tag::Cycle
12 debug DTL::Fast::Tag::Debug
13 extends DTL::Fast::Tag::Extends
14 filter DTL::Fast::Tag::Filter
15 firstof DTL::Fast::Tag::Firstof
16 for DTL::Fast::Tag::For
17 include DTL::Fast::Tag::Include
18 if DTL::Fast::Tag::If
19 ifchanged DTL::Fast::Tag::Ifchanged
20 ifequal DTL::Fast::Tag::Ifequal
21 ifnotequal DTL::Fast::Tag::Ifnotequal
22 load DTL::Fast::Tag::Load
23 now DTL::Fast::Tag::Now
24 regroup DTL::Fast::Tag::Regroup
25 spaceless DTL::Fast::Tag::Spaceless
26 ssi DTL::Fast::Tag::Ssi
27 templatetag DTL::Fast::Tag::Templatetag
28 url DTL::Fast::Tag::Url
29 verbatim DTL::Fast::Tag::Verbatim
30 widthratio DTL::Fast::Tag::Widthratio
31 with DTL::Fast::Tag::With
32 ));
33  
34 # not from Django
35 98 register_tag(qw(
36 firstofdefined DTL::Fast::Tag::Firstofdefined
37 sprintf DTL::Fast::Tag::Sprintf
38 block_super DTL::Fast::Tag::BlockSuper
39 dump DTL::Fast::Tag::Dump
40 dump_html DTL::Fast::Tag::DumpHTML
41 dump_warn DTL::Fast::Tag::DumpWarn
42 ));
43  
44 98 1;
« blib/lib/DTL/Fast/Filters.pm ↑ Summary