Branch Coverage

File:blib/lib/Image/Caa.pm
Coverage:46.4%

line%coveragebranch
46100TF$$opts{'black_bg'} ? :
95100TFif ($dist <= $distbg) { }
100TFelsif ($dist <= $distfg) { }
15750TFif (defined $image)
1630TFif "$x"
23550TFif ($x1 > $x2)
23650TFif ($y1 > $y2)
26750TFif (defined $image) { }
2770TFif ($to_l or $to_t or $to_r or $to_b) { }
30950TFif ($$self{'solid_background'}) { }
33250TFif ($distbg > $distfg)
340100TFif ($ch >= scalar @{$density_chars;})
3510TFif ($sat < 512 + $$self{'dither'}->get * 8) { }
0TFelsif ($val > 2048 + $$self{'dither'}->get * 4) { }
37450TF$x1 > 0 ? :
37550TF$y1 > 0 ? :
3880TFif $min > $g
3890TFif $max < $g
3900TFif $min > $b
3910TFif $max < $b
3960TFif ($delta) { }
4020TFif ($r == $max) { }
0TFelsif ($g == $max) { }
425100TF$$self{'hsv_palette'}[$index * 4 + 3] ? :
426100TF$$self{'hsv_palette'}[$index * 4 + 2] ? :
435100TFif $@
439100TFif $@
441100TFif (not $@ and defined $obj)