Branch Coverage

lib/PDL/ImageRGB.pd
Criterion Covered Total %
branch 15 34 44.1


line true false branch
91 0 0 if $#_ < 0 or $#_ > 1
95 0 0 if ($#_ >= 0) { }
99 0 0 if @Dims < 2 or $Dims[0] != 3 or $image->get_datatype != $PDL::ImageRGB::PDL_B
131 0 1 if ($lut->dims)[0] != 3
134 1 0 unless $lut_fflows
161 0 1 if $#_ < 0
163 0 1 if ($im->dims)[0] != 3
200 0 3 if $#_ < 0
203 3 0 if $#_ > -1
204 2 1 if ($top < 0)
205 0 3 if $top > 255
207 0 3 if $PDL::debug
211 1 2 if $min >= 0 and $max <= $top and not $force
214 0 2 if ($max - $min < $PDL::ImageRGB::EPS)
215 0 0 if $PDL::debug
216 0 0 if abs $max < $PDL::ImageRGB::EPS or $max >= 0 and $max <= $top
221 1 1 $pdl->get_datatype > $PDL::ImageRGB::PDL_F ? :