Condition Coverage

blib/lib/Khonsu/Image.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
39 6 0 2 $attributes{'align'} and $attributes{'align'} eq "center"

or 2 conditions

line l !l condition
57 4 0 $m || 'png'

or 3 conditions

line l !l&&r !l&&!r condition
26 2 0 0 $attributes{'h'} || $file->page->remaining_height
27 2 0 0 $attributes{'w'} || $file->page->width
53 4 0 4 $self->mime or ref $self->image