Condition Coverage

blib/lib/Text/Layout/PDFAPI2/ImageElement.pm
Criterion Covered Total %
condition 0 23 0.0


and 3 conditions

line !l l&&!r l&&r condition
159 0 0 0 $k eq "align" and $v =~ /^(left|right|center)$/u
315 0 0 0 not $is_image and $fragment->{'bbox'}

or 2 conditions

line l !l condition
295 0 0 $fragment->{'design_scale'} || 1
301 0 0 $fragment->{'scale'} // [1, 1]
312 0 0 $fragment->{'dx'} || 0
313 0 0 $fragment->{'dy'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
280 0 0 0 $fragment->{'width'} || $img_width
281 0 0 0 $fragment->{'height'} || $img_height
397 0 0 0 $fragment->{'_img'} //= $pdf->image($src)