Branch Coverage

blib/lib/Acme/Steganography/Image/Png.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
34 1 16 unless ($section)
158 0 0 if ($rgb[$_] > 255) { }
0 0 elsif ($rgb[$_] < 0) { }
251 1 1 if (ref $victim and $victim->isa('Imager')) { }
255 1 0 unless $img->open('file', $victim, 'type', 'jpeg')
263 1 0 unless $img->write('data', \$raw, 'type', 'raw')
282 1 16 if (length $datum < $datum_length) { }
0 16 elsif (length ${$self->data;} == $self->offset) { }
296 0 3 if ref $class
302 0 0 unless exists $$acceptable{$_}
305 3 0 unless $args{'x'}
306 3 0 unless $args{'y'}
349 17 0 unless $img->open('file', $file)
354 17 0 if ($section == 0)
360 0 1 unless defined $length