blib/lib/Template/Plugin/Data/HTMLDumper.pm

filter: Statementstmt 69.7% 23 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 33.3% 1 / 3 totaltotal 65.9% 29 / 44 CC 1 SCAR 3.2
CC
1
Cov
70%
load
2.0
new
2.0
dump
2.0
CRAP 1.4
↑ Summary
1 package Template::Plugin::Data::HTMLDumper;
2  
3 1 ▶use 5.008003;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 require Exporter;
8  
9 1 ▶use base qw( Template::Plugin );
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Template::Plugin;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 require Data::HTMLDumper;
12  
13 1 our @ISA = qw(Exporter);
14  
15 1 our %EXPORT_TAGS = ( 'all' => [ qw() ] );
16  
17 1 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
18  
19 1 our @EXPORT = qw();
20  
21 1 our $VERSION = '0.10';
22  
23 0 ▶sub load {
Subroutine load: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my $class = shift;
25 0 my $context = shift;
26 0 return $class;
27 }
28  
29 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
30 0 my $class = shift;
31 0 my $context = shift;
32 0 my $self = bless {
33 '_CONTEXT' => $context,
34 }, $class;
35 0 return $self;
36 }
37  
38 0 ▶sub dump {
Subroutine dump: not called CC=1 SCAR=6.9
Pod documented
39 0 my $self = shift;
40 0 my $content = Data::HTMLDumper::Dumper(@_);
41 0 return $content;
42 }
43  
44 1 1;
45 __END__
↑ Summary