Branch Coverage

blib/lib/Imager/Heatmap.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
25 2 13 unless (exists $args{'xsize'} and exists $args{'ysize'})
31 0 13 exists $args{'xsigma'} ? :
32 0 13 exists $args{'ysigma'} ? :
33 0 13 exists $args{'correlation'} ? :
35 1 12 if (keys %args)
45 16 30 if (@_)
46 1 15 if ($_[0] < 0)
57 16 29 if (@_)
58 1 15 if ($_[0] < 0)
69 15 11 if (@_)
70 1 14 if ($_[0] < 0)
79 15 11 if (@_)
80 1 14 if ($_[0] < 0)
89 18 11 if (@_)
90 2 16 if ($_[0] < -1 or $_[0] > 1)
106 11 8 unless (defined $$self{'matrix'})
137 2 1 unless ($max)