Condition Coverage

blib/lib/Image/Size.pm
Criterion Covered Total %
condition 18 41 43.9


and 3 conditions

line !l l&&!r l&&r condition
183 1 15 0 -e "$stream" and exists $Image::Size::CACHE{$stream}
436 0 0 0 $sw and $sh
458 0 0 0 $x > $sw and $y > $sh
627 8 0 36 $code eq $MARKER and $marker = $code
635 0 6 2 ord $code >= $SIZE_FIRST and ord $code <= $SIZE_LAST
738 2 4 0 defined $x and defined $y
759 0 0 2 defined $x and defined $y
796 0 0 1 defined $x and defined $y
814 0 0 1 defined $x and defined $y

or 2 conditions

line l !l condition
147 1 0 ${$handle;} || ''

or 3 conditions

line l !l&&r !l&&!r condition
232 0 3 15 $Image::Size::NO_CACHE or ref $stream
3 0 15 $Image::Size::NO_CACHE or ref $stream or not defined $x
740 0 0 4 $ifd eq '' or $offset > $num_dirent
745 0 0 4 $type > @packspec + 0 or not defined $packspec[$type]