line |
true |
false |
branch |
26
|
2 |
6 |
unless ($worksheet) |
40
|
0 |
2 |
unless $self->_open |
48
|
2 |
2 |
if $self->{'_CLOSED'} |
51
|
2 |
0 |
if $self->{'_WORKBOOK'} |
54
|
2 |
0 |
if $self->{'_FH'} |
68
|
14 |
6 |
if (exists $self->{'_FORMAT_CACHE'}{$cache_key}) |
78
|
0 |
0 |
unless $self->_open |
104
|
20 |
4 |
if (%props) |
105
|
12 |
8 |
if (my $stylelist = $props->{'style'}) |
106
|
12 |
0 |
unless ref $stylelist |
108
|
12 |
0 |
ref $stylelist ? : |
110
|
0 |
12 |
if (not $stprops) { } |
122
|
8 |
12 |
if (defined $props->{'font_weight'} and $props->{'font_weight'} eq 'bold') |
125
|
8 |
12 |
if (defined $props->{'font_style'} and $props->{'font_style'} eq 'italic') |
128
|
0 |
20 |
if (defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /underline/) |
131
|
0 |
20 |
if (defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /strikeout/) |
134
|
0 |
20 |
if (defined $props->{'font_color'}) |
137
|
0 |
20 |
if (defined $props->{'bg_color'}) |
140
|
0 |
20 |
if (defined $props->{'font_face'}) |
143
|
0 |
20 |
if (defined $props->{'font_size'}) |
146
|
0 |
20 |
if (defined $props->{'align'}) |
149
|
0 |
20 |
if (defined $props->{'valign'}) |
152
|
4 |
16 |
if (defined $props->{'format'}) |
155
|
0 |
20 |
if (defined $props->{'width'}) |
158
|
0 |
20 |
if (defined $props->{'comment'} and length $props->{'comment'}) |
164
|
20 |
4 |
if keys %format |
167
|
12 |
12 |
if ($type eq 'auto') { } |
|
12 |
0 |
elsif ($type eq 'string') { } |
|
0 |
0 |
elsif ($type eq 'text') { } |
|
0 |
0 |
elsif ($type eq 'number') { } |
|
0 |
0 |
elsif ($type eq 'blank') { } |
|
0 |
0 |
elsif ($type eq 'formula') { } |
|
0 |
0 |
elsif ($type eq 'url') { } |