Condition Coverage

blib/lib/Imager/DTP/Textbox.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 $o{'target'} and not ref($o{'target'}) =~ /^Imager(::.+)?$/
101 0 0 0 $wrapMax and $wrapMax < $lineMax
122 0 0 0 $wi == 0 and $#{$letters;} > 0
0 0 0 $wi == 0 and $#{$letters;} == 0
278 0 0 0 not defined $o{'font'} and scalar @{$letters;} > 0
302 0 0 0 $i == 0 and $lastLine
0 0 0 $i == 0 and $lastLine and $o{'add'}
322 0 0 0 $o{'width'} and not $o{'width'} =~ /^\d+$/
325 0 0 0 $o{'height'} and not $o{'height'} =~ /^\d+$/
337 0 0 0 $o{'halign'} and not $o{'halign'} =~ /^(left|center|right)$/
340 0 0 0 $o{'valign'} and not $o{'valign'} =~ /^(top|center|bottom)$/
352 0 0 0 $o{'percent'} and not $o{'percent'} =~ /^\d+$/

or 3 conditions

line l !l&&r !l&&!r condition
33 0 0 0 $o{'xscale'} or $o{'yscale'}
193 0 0 0 $t =~ /\s/ or not $t =~ /$pattern/
202 0 0 0 $t =~ /\s/ or not $t =~ /$pattern/
267 0 0 0 not defined $o{'text'} or $o{'text'} eq ''