Branch Coverage

blib/lib/Khonsu/Image.pm
Criterion Covered Total %
branch 6 8 75.0


line true false branch
23 2 6 unless ($attributes{'x'})
28 0 2 if ($attributes{'y'} + $attributes{'h'} > $file->page->h)
39 2 6 if ($attributes{'align'} and $attributes{'align'} eq "center")
53 4 0 unless ($self->mime or ref $self->image)