blib/lib/Khonsu/Image.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 14 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 6 | 0 | 2 | $attributes{'align'} and $attributes{'align'} eq "center" |
line | l | !l | condition |
---|---|---|---|
57 | 4 | 0 | $m || 'png' |
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 |