Branch Coverage

blib/lib/Imager/Trim.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
13 0 0 if (defined $value and $value + 0 > 0) { }
0 0 elsif (not $self->{'fuzz'}) { }
23 0 0 if (@_ > 1) { }
0 0 elsif (not $self->{'color'}) { }
24 0 0 if (ref $values[0] eq 'Imager::Color') { }
57 0 0 if $color1_red < $color2_red - $self->fuzz || $color1_red > $color2_red + $self->fuzz and $color1_green < $color2_green - $self->fuzz || $color1_green > $color2_green + $self->fuzz and $color1_blue < $color2_blue - $self->fuzz || $color1_blue > $color2_blue + $self->fuzz
79 0 0 if ($self->_match_colors($x, $y))
84 0 0 if ($match)
93 0 0 if ($self->_match_colors($x, $y - 1))
98 0 0 if ($match)
107 0 0 if ($self->_match_colors($x, $y))
112 0 0 if ($match)
121 0 0 if ($self->_match_colors($x - 1, $y))
126 0 0 if ($match)