Condition Coverage

blib/lib/Image/MetaData/JPEG/Segment.pm
Criterion Covered Total %
condition 20 26 76.9


and 3 conditions

line !l l&&!r l&&r condition
84 1 0 774 defined $name and not ref $name
85 7 767 0 defined $dataref and not ref $dataref
120 531 0 251 $flag and $flag =~ /NOPARSE/
252 282 0 0 $length > $Image::MetaData::JPEG::Segment::JPEG_SEG_MAX_LEN and not $name =~ /ECS|Post-EOI/
350 104 1 6412 $required >= 0 and $this->size >= $required
352 1 3 101 $required < 0 and $this->size == -$required
459 2732 6866 4972 $record and $record->get_category eq 'p'

or 2 conditions

line l !l condition
29 34 1 $$this{'name'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
497 1424 444 0 $this->search_record($key, $dirref) || $this->store_record($dirref, $key, $Image::MetaData::JPEG::Segment::REFERENCE, \[])