blib/lib/Image/MetaData/JPEG/Segment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 26 | 76.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
84 | 1 | 0 | 825 | defined $name and not ref $name |
85 | 7 | 818 | 0 | defined $dataref and not ref $dataref |
120 | 570 | 0 | 263 | $flag and $flag =~ /NOPARSE/ |
252 | 282 | 0 | 0 | $length > $Image::MetaData::JPEG::Segment::JPEG_SEG_MAX_LEN and not $name =~ /ECS|Post-EOI/ |
350 | 119 | 1 | 6438 | $required >= 0 and $this->size >= $required |
352 | 1 | 3 | 116 | $required < 0 and $this->size == -$required |
459 | 2732 | 6870 | 4972 | $record and $record->get_category eq 'p' |
line | l | !l | condition |
---|---|---|---|
29 | 33 | 1 | $$this{'name'} || ' |
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, \[]) |