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
184 1 19 0 -e "$stream" and exists $Image::Size::CACHE{$stream}
434 0 0 0 $sw and $sh
456 0 0 0 $x > $sw and $y > $sh
625 8 0 36 $code eq $MARKER and $marker = $code
633 0 6 2 ord $code >= $SIZE_FIRST and ord $code <= $SIZE_LAST
740 2 4 0 defined $x and defined $y
761 0 0 2 defined $x and defined $y
806 0 0 2 defined $x and defined $y
824 0 0 1 defined $x and defined $y

or 2 conditions

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

or 3 conditions

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