line |
true |
false |
branch |
114
|
2015 |
37 |
if @_ |
131
|
0 |
2 |
unless defined $other |
132
|
0 |
2 |
unless ref $self eq ref $other |
173
|
45 |
1109 |
$self->{'_text_h_align'} != 0 || $self->{'_text_v_align'} != 0 || $self->{'_indent'} != 0 || $self->{'_rotation'} != 0 || $self->{'_text_wrap'} != 0 || $self->{'_shrink'} != 0 || $self->{'_reading_order'} != 0 ? : |
175
|
1109 |
45 |
unless $changed |
182
|
1 |
3 |
if ($self->{'_indent'} and $self->{'_text_h_align'} != 1 and $self->{'_text_h_align'} != 3 and $self->{'_text_h_align'} != 7) |
191
|
4 |
41 |
if $self->{'_text_wrap'} |
192
|
1 |
44 |
if $self->{'_text_h_align'} == 4 |
193
|
1 |
44 |
if $self->{'_text_h_align'} == 5 |
194
|
4 |
41 |
if $self->{'_text_h_align'} == 7 |
195
|
41 |
4 |
if $self->{'_text_h_align'} != 7 |
196
|
5 |
40 |
if $self->{'_indent'} |
200
|
4 |
41 |
if $self->{'_text_h_align'} == 1 |
201
|
12 |
33 |
if $self->{'_text_h_align'} == 2 |
202
|
3 |
42 |
if $self->{'_text_h_align'} == 3 |
203
|
1 |
44 |
if $self->{'_text_h_align'} == 4 |
204
|
1 |
44 |
if $self->{'_text_h_align'} == 5 |
205
|
3 |
42 |
if $self->{'_text_h_align'} == 6 |
206
|
4 |
41 |
if $self->{'_text_h_align'} == 7 |
208
|
1 |
44 |
if $self->{'_just_distrib'} |
212
|
1 |
44 |
if $self->{'_text_v_align'} == 1 |
213
|
3 |
42 |
if $self->{'_text_v_align'} == 2 |
214
|
1 |
44 |
if $self->{'_text_v_align'} == 4 |
215
|
1 |
44 |
if $self->{'_text_v_align'} == 5 |
217
|
5 |
40 |
if $self->{'_indent'} |
218
|
6 |
39 |
if $self->{'_rotation'} |
220
|
4 |
41 |
if $self->{'_text_wrap'} |
221
|
1 |
44 |
if $self->{'_shrink'} |
223
|
1 |
44 |
if $self->{'_reading_order'} == 1 |
224
|
1 |
44 |
if $self->{'_reading_order'} == 2 |
242
|
9 |
1145 |
unless $self->{'_locked'} |
243
|
6 |
1148 |
if $self->{'_hidden'} |
385
|
286 |
233 |
if (defined $self->{'_xf_index'}) { } |
392
|
8 |
225 |
if (exists $indices_href->{$key}) { } |
414
|
18 |
19 |
if (defined $self->{'_dxf_index'}) { } |
421
|
0 |
19 |
if (exists $indices_href->{$key}) { } |
467
|
0 |
4302 |
unless defined $_[0] |
470
|
22 |
4280 |
if ($_[0] =~ /^#[0-9A-F]{6}$/i) |
475
|
116 |
4164 |
if exists $colors{lc $_[0]} |
478
|
0 |
4164 |
if $_[0] =~ /\D/ |
481
|
0 |
4164 |
if $_[0] < 8 |
484
|
4160 |
4 |
if $_[0] > 63 |
502
|
0 |
0 |
if (defined $_[0] and $_[0] eq 0) { } |
522
|
0 |
34 |
unless defined $location |
523
|
0 |
34 |
if $location =~ /\d/ |
527
|
3 |
31 |
if $location eq 'left' |
528
|
0 |
34 |
if $location eq 'centre' |
529
|
12 |
22 |
if $location eq 'center' |
530
|
3 |
31 |
if $location eq 'right' |
531
|
1 |
33 |
if $location eq 'fill' |
532
|
1 |
33 |
if $location eq 'justify' |
533
|
1 |
33 |
if $location eq 'center_across' |
534
|
0 |
34 |
if $location eq 'centre_across' |
535
|
0 |
34 |
if $location eq 'merge' |
536
|
2 |
32 |
if $location eq 'distributed' |
537
|
0 |
34 |
if $location eq 'equal_space' |
538
|
2 |
32 |
if $location eq 'justify_distributed' |
540
|
2 |
32 |
if $location eq 'justify_distributed' |
542
|
1 |
33 |
if $location eq 'top' |
543
|
0 |
34 |
if $location eq 'vcentre' |
544
|
3 |
31 |
if $location eq 'vcenter' |
545
|
3 |
31 |
if $location eq 'bottom' |
546
|
1 |
33 |
if $location eq 'vjustify' |
547
|
1 |
33 |
if $location eq 'vdistributed' |
548
|
0 |
34 |
if $location eq 'vequal_space' |
605
|
78 |
1 |
defined $_[0] ? : |
607
|
79 |
0 |
$bold ? : |
659
|
0 |
7 |
unless $rotation =~ /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/ |
664
|
1 |
6 |
if ($rotation == 270) { } |
|
6 |
0 |
elsif ($rotation >= -90 and $rotation <= 90) { } |
668
|
2 |
4 |
if $rotation < 0 |
739
|
2052 |
2714 |
if $AUTOLOAD =~ /::DESTROY$/ |
742
|
0 |
2714 |
unless $AUTOLOAD =~ /.*::set(\w+)/ |
748
|
0 |
2714 |
unless exists $self->{$attribute} |
761
|
40 |
2674 |
if ($AUTOLOAD =~ /.*::set\w+color$/) { } |
775
|
2 |
2672 |
unless defined $value |
781
|
0 |
265 |
unless defined $value |