WriteExcel/Big.pm

filter: Statementstmt 100% 17 / 17 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 91.6% 22 / 24 CC 2 SCAR 3.4
CC
2
Cov
95%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« WriteExcel/Examples.pm ↑ Summary WriteExcel.pm »
1 package Spreadsheet::WriteExcel::Big;
2  
3 ###############################################################################
4 #
5 # WriteExcel::Big
6 #
7 # Spreadsheet::WriteExcel - Write formatted text and numbers to a
8 # cross-platform Excel binary file.
9 #
10 # Copyright 2000-2010, John McNamara.
11 #
12 #
13  
14 1 require Exporter;
15  
16 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use Spreadsheet::WriteExcel::Workbook;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19  
20  
21  
22  
23  
24 1 ▶use vars qw($VERSION @ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 @ISA = qw(Spreadsheet::WriteExcel::Workbook Exporter);
26  
27 1 $VERSION = '2.40';
28  
29 ###############################################################################
30 #
31 # new()
32 #
33 # Constructor. Thin wrapper for a Workbook object.
34 #
35 # This module is no longer required directly and its use is deprecated. See
36 # the Pod documentation below.
37 #
38 1 ▶sub new {
Subroutine new: called CC=2 SCAR=7.0
Pod undocumented
39  
40 1 my $class = shift;
41 1 my $self = Spreadsheet::WriteExcel::Workbook->new(@_);
42  
43 # Check for file creation failures before re-blessing
44 1 ▶ bless $self, $class if defined $self;
Branch: 1 branch
BranchTrueFalseTotal
if defined $self 1 0 1
45  
46 1 return $self;
47 }
48  
49  
50 1 1;
51  
52  
53 __END__
« WriteExcel/Examples.pm ↑ Summary WriteExcel.pm »