Branch Coverage

blib/lib/Image/BoxModel/Lowlevel.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
48 0 0 if (exists $p{'box'} and defined $p{'box'} and exists $$image{$p{'box'}}{'width'}) { }
90 0 0 unless exists $$image{$resize}
92 0 0 unless $p{'name'}
93 0 0 if exists $$image{$p{'name'}}
94 0 0 unless $p{'position'}
98 0 0 if ($p{'position'} eq 'top' or $p{'position'} eq 'bottom') { }
0 0 elsif ($p{'position'} eq 'left' or $p{'position'} eq 'right') { }
100 0 0 unless exists $p{'height'} and $p{'height'} > 0
103 0 0 if $p{'height'} > $$image{$resize}{'height'}
108 0 0 unless exists $p{'width'} and $p{'width'} and $p{'width'} > 0
111 0 0 if $p{'width'} > $$image{$resize}{'width'}
127 0 0 if exists $p{'width'}
128 0 0 if exists $p{'height'}
130 0 0 if ($p{'position'} eq 'top') { }
0 0 elsif ($p{'position'} eq 'bottom') { }
0 0 elsif ($p{'position'} eq 'left') { }
0 0 elsif ($p{'position'} eq 'right') { }
154 0 0 if (exists $p{'border_color'} and defined $p{'border_color'} and exists $p{'background'} and defined $p{'background'}) { }
0 0 elsif (exists $p{'background'} and defined $p{'background'}) { }
159 0 0 unless exists $p{'border_thickness'} and defined $p{'border_thickness'} and $p{'border_thickness'} > 1
213 0 0 if exists $$image{$p{'name'}}
215 0 0 unless exists $p{$_}
222 0 0 if $$image{$p{'name'}}{'left'} > $$image{$p{'name'}}{'right'}
225 0 0 if $$image{$p{'name'}}{'bottom'} < $$image{$p{'name'}}{'top'}
235 0 0 if (exists $p{'background'} and defined $p{'background'})
269 0 0 unless exists $p{'font'} and $p{'font'} and -f $p{'font'}
274 0 0 unless exists $p{$_}
276 0 0 if $warning
283 0 0 if ($p{'rotate'})
298 0 0 if $$_{'x'} < $most{'left'}
299 0 0 if $$_{'x'} > $most{'right'}
300 0 0 if $$_{'y'} < $most{'top'}
301 0 0 if $$_{'y'} > $most{'bottom'}
333 0 0 if ($p{'orientation'} eq 'vertical') { }
0 0 elsif ($p{'orientation'} eq 'horizontal') { }
413 0 0 unless exists $p{'font'} and $p{'font'} and -f $p{'font'}
417 0 0 unless exists $p{$_}
419 0 0 unless $p{'align'} =~ /left/i or $p{'align'} =~ /right/i or $p{'align'} =~ /center/i
423 0 0 unless exists $$image{$p{'box'}}
425 0 0 if $warning
435 0 0 if $w
482 0 0 if $angle == 0
507 0 0 if $$image{'verbose'}
515 0 0 if (-f $default_font) { }