Branch Coverage

blib/lib/Excel/Writer/XLSX/Drawing.pm
Criterion Covered Total %
branch 68 76 89.4


line true false branch
71 454 20 if ($self->{'_embedded'}) { }
194 101 422 if ($anchor == 2) { }
1 421 elsif ($anchor == 3) { }
202 0 523 if $shape->{'_editAs'}
224 375 148 if ($type == 1) { }
104 44 elsif ($type == 2) { }
268 19 1 if ($self->{'_orientation'} == 0) { }
507 390 5 unless ($name)
544 104 441 if (defined $description)
548 21 524 if ($url_rel_index) { }
583 1 20 if $tip
599 376 21 if ($self->{'_embedded'}) { }
792 11 33 if ($shape->{'_connect'}) { }
819 16 17 if ($shape->{'_text'})
842 11 1 unless defined $shape->{'_name'}
850 11 1 if ($shape->{'_start'})
856 11 1 if ($shape->{'_end'})
885 0 33 if $shape->{'_txBox'}
1136 0 44 if (length $fill > 1) { }
1170 6 143 if $rotation
1171 6 143 if $shape->{'_flip_h'}
1172 3 146 if $shape->{'_flip_v'}
1241 148 0 if $shape->{'_type'}
1264 45 104 if (defined $shape->{'_adjustments'})
1268 6 143 if (@$adjustments) { }
1276 12 4 $shape->{'_connect'} ? :
1305 0 61 unless defined $rgb
1336 45 0 if (length $line > 1) { }
1345 1 44 if ($shape->{'_line_type'})
1351 11 34 if ($shape->{'_connect'}) { }
1399 2 14 unless defined $rotation
1412 2 14 unless defined $size
1416 2 14 unless defined $bold
1419 2 14 unless defined $italic
1422 0 16 $underline ? :
1425 0 16 $strike ? :
1440 14 2 if (defined $color) { }
1451 2 14 unless defined $font