line |
true |
false |
branch |
104
|
1589 |
64 |
if @_ |
120
|
0 |
0 |
unless defined $other |
121
|
0 |
0 |
unless ref $self eq ref $other |
164
|
1220 |
126 |
if ($$self{'_type'} == 65525) { } |
178
|
2 |
1344 |
$$self{'_text_h_align'} != 0 || $$self{'_text_v_align'} != 2 || $$self{'_shrink'} != 0 || $$self{'_merge_range'} != 0 || $$self{'_text_wrap'} != 0 || $$self{'_indent'} != 0 ? : |
185
|
0 |
1346 |
$$self{'_bottom'} != 0 || $$self{'_top'} != 0 || $$self{'_left'} != 0 || $$self{'_right'} != 0 || $$self{'_diag_type'} != 0 ? : |
191
|
0 |
1346 |
$$self{'_fg_color'} != 64 || $$self{'_bg_color'} != 65 || $$self{'_pattern'} != 0 ? : |
195
|
0 |
1346 |
$$self{'_hidden'} != 0 || $$self{'_locked'} != 1 ? : |
200
|
1159 |
187 |
if ($$self{'_xf_index'} != 0 and $$self{'_type'} == 65525) |
202
|
305 |
854 |
if ($$self{'_xf_index'} >= 16) { } |
219
|
0 |
1346 |
if not $$self{'_diag_border'} and $$self{'_diag_type'} |
223
|
0 |
1346 |
if $$self{'_fg_color'} == 32767 |
224
|
0 |
1346 |
if $$self{'_bg_color'} == 32767 |
225
|
0 |
1346 |
if $$self{'_bottom_color'} == 32767 |
226
|
0 |
1346 |
if $$self{'_top_color'} == 32767 |
227
|
0 |
1346 |
if $$self{'_left_color'} == 32767 |
228
|
0 |
1346 |
if $$self{'_right_color'} == 32767 |
229
|
0 |
1346 |
if $$self{'_diag_color'} == 32767 |
233
|
1346 |
0 |
if $$self{'_bottom'} == 0 |
234
|
1346 |
0 |
if $$self{'_top'} == 0 |
235
|
1346 |
0 |
if $$self{'_right'} == 0 |
236
|
1346 |
0 |
if $$self{'_left'} == 0 |
237
|
1346 |
0 |
if $$self{'_diag_type'} == 0 |
247
|
0 |
1346 |
if ($$self{'_pattern'} <= 1 and $$self{'_bg_color'} != 65 and $$self{'_fg_color'} == 64) |
256
|
0 |
1346 |
if ($$self{'_pattern'} <= 1 and $$self{'_bg_color'} == 65 and $$self{'_fg_color'} != 64) |
266
|
0 |
1346 |
if $$self{'_indent'} and $$self{'_text_h_align'} == 0 |
374
|
428 |
0 |
if ($] >= 5.008) |
377
|
0 |
428 |
if (Encode::is_utf8($rgch)) |
386
|
0 |
428 |
if ($encoding == 1) |
387
|
0 |
0 |
if $cch % 2 |
388
|
0 |
0 |
if $encoding |
397
|
0 |
428 |
if $$self{'_italic'} |
398
|
0 |
428 |
if $$self{'_font_strikeout'} |
399
|
0 |
428 |
if $$self{'_font_outline'} |
400
|
0 |
428 |
if $$self{'_font_shadow'} |
483
|
22562 |
61 |
unless defined $_[0] |
486
|
61 |
0 |
if exists $colors{lc $_[0]} |
489
|
0 |
0 |
if $_[0] =~ /\D/ |
492
|
0 |
0 |
if $_[0] < 8 |
495
|
0 |
0 |
if $_[0] > 63 |
513
|
0 |
1220 |
if (defined $_[0] and $_[0] eq 0) { } |
533
|
0 |
0 |
unless defined $location |
534
|
0 |
0 |
if $location =~ /\d/ |
538
|
0 |
0 |
if $location eq 'left' |
539
|
0 |
0 |
if $location eq 'centre' |
540
|
0 |
0 |
if $location eq 'center' |
541
|
0 |
0 |
if $location eq 'right' |
542
|
0 |
0 |
if $location eq 'fill' |
543
|
0 |
0 |
if $location eq 'justify' |
544
|
0 |
0 |
if $location eq 'center_across' |
545
|
0 |
0 |
if $location eq 'centre_across' |
546
|
0 |
0 |
if $location eq 'merge' |
547
|
0 |
0 |
if $location eq 'distributed' |
548
|
0 |
0 |
if $location eq 'equal_space' |
551
|
0 |
0 |
if $location eq 'top' |
552
|
0 |
0 |
if $location eq 'vcentre' |
553
|
0 |
0 |
if $location eq 'vcenter' |
554
|
0 |
0 |
if $location eq 'bottom' |
555
|
0 |
0 |
if $location eq 'vjustify' |
556
|
0 |
0 |
if $location eq 'vdistributed' |
557
|
0 |
0 |
if $location eq 'vequal_space' |
618
|
0 |
124 |
unless defined $weight |
619
|
124 |
0 |
if $weight == 1 |
620
|
0 |
124 |
if $weight == 0 |
621
|
0 |
124 |
if $weight < 100 |
622
|
0 |
124 |
if $weight > 1000 |
676
|
0 |
0 |
unless $rotation =~ /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/ |
681
|
0 |
0 |
if ($rotation == 270) { } |
|
0 |
0 |
elsif ($rotation >= -90 or $rotation <= 90) { } |
685
|
0 |
0 |
if $rotation < 0 |
736
|
0 |
172 |
if $Spreadsheet::WriteExcel::Format::AUTOLOAD =~ /::DESTROY$/ |
739
|
0 |
172 |
unless $Spreadsheet::WriteExcel::Format::AUTOLOAD =~ /.*::set(\w+)/ |
745
|
0 |
172 |
unless exists $$self{$attribute} |
758
|
28 |
144 |
if ($Spreadsheet::WriteExcel::Format::AUTOLOAD =~ /.*::set\w+color$/) { } |
771
|
2 |
142 |
unless defined $value |
777
|
1 |
653 |
unless defined $value |