Branch Coverage

blib/lib/PDL/Graphics/LUT.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
159 1 1 if (-d $check)
161 0 1 unless defined $lutdir
165 0 1 unless -d $PDL::Graphics::LUT::tabledir
167 0 1 unless -d $PDL::Graphics::LUT::rampdir
190 2 1 $#_ != -1 ? :
191 1 2 $#_ != -1 ? :
195 0 3 if $PDL::verbose
199 0 3 unless (-e $lfile)
209 0 3 unless (-e $rfile)
220 0 3 if $rgb->get_datatype != $PDL::Graphics::LUT::PDL_F
222 0 3 unless $#ldims == 1 and $ldims[1] == 3
227 0 3 if $l->get_datatype != $PDL::Graphics::LUT::PDL_F
228 0 3 unless $l->nelem == $ldims[0]
231 1 2 $reverse ? :