line |
true |
false |
branch |
27
|
2 |
6 |
unless ($worksheet) |
41
|
0 |
2 |
unless $self->_open |
49
|
2 |
2 |
if $self->{'_CLOSED'} |
52
|
2 |
0 |
if $self->{'_WORKBOOK'} |
55
|
2 |
0 |
if $self->{'_FH'} |
69
|
14 |
6 |
if (exists $self->{'_FORMAT_CACHE'}{$cache_key}) |
79
|
0 |
0 |
unless $self->_open |
105
|
20 |
4 |
if (%props) |
106
|
12 |
8 |
if (my $stylelist = $props->{'style'}) |
107
|
12 |
0 |
unless ref $stylelist |
109
|
12 |
0 |
ref $stylelist ? : |
111
|
0 |
12 |
if (not $stprops) { } |
123
|
8 |
12 |
if (defined $props->{'font_weight'} and $props->{'font_weight'} eq 'bold') |
126
|
8 |
12 |
if (defined $props->{'font_style'} and $props->{'font_style'} eq 'italic') |
129
|
0 |
20 |
if (defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /underline/) |
132
|
0 |
20 |
if (defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /strikeout/) |
135
|
0 |
20 |
if (defined $props->{'font_color'}) |
138
|
0 |
20 |
if (defined $props->{'bg_color'}) |
141
|
0 |
20 |
if (defined $props->{'font_face'}) |
144
|
0 |
20 |
if (defined $props->{'font_size'}) |
147
|
0 |
20 |
if (defined $props->{'align'}) |
150
|
0 |
20 |
if (defined $props->{'valign'}) |
153
|
4 |
16 |
if (defined $props->{'format'}) |
156
|
0 |
20 |
if (defined $props->{'width'}) |
159
|
0 |
20 |
if (defined $props->{'comment'} and length $props->{'comment'}) |
165
|
20 |
4 |
if keys %format |
168
|
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') { } |