Helpers.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Helpers/Number.pm ↑ Summary
1 package HTML::Template::Plugin::Dot::Helpers;
2 {
3 3 $HTML::Template::Plugin::Dot::Helpers::VERSION = '0.06';
4 }
5  
6 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use HTML::Template::Pluggable;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use HTML::Template::Plugin::Dot::Helpers::Number;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 HTML::Template::Pluggable->add_trigger('before_output' => sub {
13 7 ▶ my $self = shift;
Subroutine __ANON__: called CC=1 SCAR=0.0
14 7 $self->param('Number' => HTML::Template::Plugin::Dot::Helpers::Number->new);
15 3 });
16  
17 3 1; # End of HTML::Template::Plugin::Dot::Helpers
18  
19 __END__
« Helpers/Number.pm ↑ Summary