Branch Coverage

blib/lib/Image/TextMode/Canvas.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
50 1 254 unless exists $self->pixeldata->[$y]
69 1 1 unless $pixel
84 51 1011 if $self->height < $h
85 1041 21 if $self->width < $w
124 0 6 unless defined $self->pixeldata->[$y]
126 2 4 if (not $range) { }
130 2 2 if $$range[1] == -1
146 1 1 unless exists $self->pixeldata->[$y]
165 1 0 defined $col && defined $$col{'char'} ? :
184 0 3 unless $line
188 12 0 if defined $$line[$_]
211 0 0 if int $width != $width
212 0 0 if int $height != $height