Template/Element/FreezePanes.pm

filter: Statementstmt 64.7% 11 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 65.2% 15 / 23 CC 1 SCAR 1.8
CC
1
Cov
65%
render
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Template/Container/Format.pm ↑ Summary Template/Container/Bold.pm »
1 package Excel::Template::Element::FreezePanes;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 BEGIN {
6 1 ▶ use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶ @ISA = qw(Excel::Template::Element);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶ use Excel::Template::Element;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 }
11  
12 sub render {
13 0 ▶ my $self = shift;
Subroutine render: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my ($context) = @_;
15  
16 0 my ($row, $col) = map { $context->get( $self, $_ ) } qw( ROW COL );
17 0 $context->active_worksheet->freeze_panes( $row, $col );
18  
19 0 return 1;
20 }
21  
22 1 1;
23 __END__
« Template/Container/Format.pm ↑ Summary Template/Container/Bold.pm »