line |
true |
false |
branch |
28
|
2 |
6 |
unless ($worksheet) |
44
|
0 |
2 |
unless $self->_open |
53
|
2 |
2 |
if $self->{'_CLOSED'} |
56
|
2 |
0 |
if $self->{'_WORKBOOK'} |
59
|
2 |
0 |
if $self->{'_FH'} |
75
|
14 |
6 |
if (exists $self->{'_FORMAT_CACHE'}{$cache_key}) |
87
|
0 |
0 |
unless $self->_open |
106
|
0 |
6 |
unless scalar @_ < 256 |
118
|
20 |
4 |
if (%props) |
120
|
12 |
8 |
if (my $stylelist = $props->{'style'}) |
122
|
12 |
0 |
unless ref $stylelist |
124
|
12 |
0 |
ref $stylelist ? : |
126
|
0 |
12 |
if (not $stprops) { } |
138
|
8 |
12 |
if ($props->{'font_weight'} eq 'bold') |
142
|
8 |
12 |
if ($props->{'font_style'} eq 'italic') |
146
|
0 |
20 |
if ($props->{'font_decoration'} =~ /underline/) |
150
|
0 |
20 |
if ($props->{'font_decoration'} =~ /strikeout/) |
154
|
0 |
20 |
if (defined $props->{'font_color'}) |
158
|
0 |
20 |
if (defined $props->{'bg_color'}) |
162
|
0 |
20 |
if (defined $props->{'font_face'}) |
166
|
0 |
20 |
if (defined $props->{'font_size'}) |
170
|
0 |
20 |
if (defined $props->{'align'}) |
174
|
0 |
20 |
if (defined $props->{'valign'}) |
178
|
4 |
16 |
if (defined $props->{'format'}) |
182
|
0 |
20 |
if (defined $props->{'width'}) |
186
|
0 |
20 |
if (defined $props->{'comment'} and length $props->{'comment'}) |
193
|
20 |
4 |
if keys %format |
196
|
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') { } |