line |
true |
false |
branch |
101
|
1794 |
1755 |
if not $xml_before_text and !defined($txt_contents) || $txt_contents eq ''
|
109
|
152 |
1305 |
unless $xml_before_run or @texts
|
146
|
0 |
0 |
if $_
|
154
|
0 |
0 |
if ($drawing =~ m[<wp:docPr \s+ (.*?) />
|
160
|
0 |
0 |
unless my $img_id = $attrs{'title'} || $attrs{'descr'}
|
162
|
0 |
0 |
unless $image{$img_id} = "word/$rel_image{$rId}"
|
264
|
1 |
1 |
if $self->{'was_cleaned_up'}
|
278
|
0 |
7 |
unless my $regex = $noise_reduction_regexes{$regex_name}
|
287
|
3 |
7 |
ref $_ eq 'Regexp' ? :
|
309
|
2 |
15 |
$should_erase_contents{$bookmark_name} ? :
|
338
|
0 |
1 |
if @invalid_args
|
344
|
793 |
0 |
if $args{'no_caps'}
|
347
|
272 |
521 |
if (not $run->xml_before and @new_runs and $new_runs[-1]->props eq $run->props) { }
|
398
|
0 |
11 |
if (delete $replacement_args{'keep_xml_as_is'}) { }
|
400
|
0 |
0 |
if exists $replacement_args{'cleanup_XML'}
|
409
|
1 |
10 |
if (my $cleanup_args = $replacement_args{'cleanup_XML'})
|
410
|
1 |
0 |
unless ref $cleanup_args
|
411
|
0 |
1 |
unless ref $cleanup_args eq "HASH"
|
424
|
11 |
0 |
unless $dont_overwrite_contents
|
434
|
0 |
0 |
if $self->{'contents_has_changed'}
|
441
|
0 |
0 |
unless my $member_name = $self->images->{$image_title}
|
474
|
0 |
0 |
unless ($ct =~ /Extension="png"/u)
|