Condition Coverage

blib/lib/MsOffice/Word/Surgeon/PackagePart.pm
Criterion Covered Total %
condition 23 40 57.5


and 3 conditions

line !l l&&!r l&&r condition
100 125 5573 0 not $xml_before_text and !defined($txt_contents) || $txt_contents eq ''
339 548 0 1296 not $run->xml_before and @new_runs
548 1019 277 not $run->xml_before and @new_runs and $new_runs[-1]->props eq $run->props

or 2 conditions

line l !l condition
91 3026 26 $run_contents //= ""
101 2874 0 $xml_before_text // ""
2840 34 $txt_contents // ""
109 2893 0 $xml_before_run // ""
2818 75 $props // ""
130 63 0 $attrs{$_} or croak("missing attribute '${_}' in <Relationship> node")
330 7 0 $is_valid_arg->{$_} or croak("merge_runs(): invalid arg: $_")
428 0 0 @image_nums // 0

or 3 conditions

line l !l&&r !l&&!r condition
100 2824 0 2749 !defined($txt_contents) || $txt_contents eq ''
108 915 1978 159 $xml_before_run or @texts
159 0 0 0 $attrs{'title'} || $attrs{'descr'}
209 0 0 0 $self->images->{$title} || ($title =~ /^\d+$/u ? "word/media/image$title.png" : die("couldn't find image '${title}'"))
482 69 0 0 $2 // $3