Branch Coverage

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


line true false branch
71 488 20 if ($self->{'_embedded'}) { }
194 110 448 if ($anchor == 2) { }
1 447 elsif ($anchor == 3) { }
202 0 558 if $shape->{'_editAs'}
224 399 159 if ($type == 1) { }
115 44 elsif ($type == 2) { }
268 19 1 if ($self->{'_orientation'} == 0) { }
507 414 5 unless ($name)
544 115 465 if (defined $description)
548 23 557 if ($url_rel_index) { }
583 1 22 if $tip
599 400 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 154 if $rotation
1171 6 154 if $shape->{'_flip_h'}
1172 3 157 if $shape->{'_flip_v'}
1241 159 0 if $shape->{'_type'}
1264 45 115 if (defined $shape->{'_adjustments'})
1268 6 154 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