Condition Coverage

blib/lib/Image/BoxModel/Lowlevel.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 exists $p{'box'} and defined $p{'box'}
0 0 0 exists $p{'box'} and defined $p{'box'} and exists $$image{$p{'box'}}{'width'}
100 0 0 0 exists $p{'height'} and $p{'height'} > 0
108 0 0 0 exists $p{'width'} and $p{'width'}
0 0 0 exists $p{'width'} and $p{'width'} and $p{'width'} > 0
154 0 0 0 exists $p{'border_color'} and defined $p{'border_color'}
0 0 0 exists $p{'border_color'} and defined $p{'border_color'} and exists $p{'background'}
0 0 0 exists $p{'border_color'} and defined $p{'border_color'} and exists $p{'background'} and defined $p{'background'}
0 0 0 exists $p{'background'} and defined $p{'background'}
159 0 0 0 exists $p{'border_thickness'} and defined $p{'border_thickness'}
0 0 0 exists $p{'border_thickness'} and defined $p{'border_thickness'} and $p{'border_thickness'} > 1
235 0 0 0 exists $p{'background'} and defined $p{'background'}
269 0 0 0 exists $p{'font'} and $p{'font'}
0 0 0 exists $p{'font'} and $p{'font'} and -f $p{'font'}
413 0 0 0 exists $p{'font'} and $p{'font'}
0 0 0 exists $p{'font'} and $p{'font'} and -f $p{'font'}

or 2 conditions

line l !l condition
87 0 0 $p{'resize'} || 'free'
438 0 0 $warning || (return)

or 3 conditions

line l !l&&r !l&&!r condition
98 0 0 0 $p{'position'} eq 'top' or $p{'position'} eq 'bottom'
0 0 0 $p{'position'} eq 'left' or $p{'position'} eq 'right'
419 0 0 0 $p{'align'} =~ /left/i or $p{'align'} =~ /right/i
0 0 0 $p{'align'} =~ /left/i or $p{'align'} =~ /right/i or $p{'align'} =~ /center/i