blib/lib/Image/ExifTool/Flash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 69 | 40.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
373 | 11 | 32 | 2 | $tagInfo and $tagInfo->{'SubDirectory'} |
392 | 0 | 0 | 45 | defined $t and defined $v |
394 | 40 | 2 | 1 | ref $v eq "ARRAY" and not @$v |
396 | 28 | 0 | 9 | not $subTablePtr->{$tag} and $tag =~ /^\w+$/ |
450 | 0 | 0 | 2 | $type == 2 and not $rec |
461 | 57 | 0 | 0 | not defined $val and defined $type |
500 | 0 | 0 | 4 | $tagInfo and $tagInfo->{'SubDirectory'} |
507 | 0 | 0 | 2 | $len >= 1 and $raf->Read($buff, 1) == 1 |
line | l | !l | condition |
---|---|---|---|
296 | 55 | 2 | $dirInfo->{'Pos'} || 0 |
485 | 0 | 0 | $raf->Seek($offset - 9, 1) or return 1 |
528 | 1 | 0 | $raf->Seek($len, 1) or last |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
295 | 0 | 57 | 0 | $dirInfo->{'DirLen'} || length $$dataPt |
305 | 27 | 1 | 30 | $type == 0 or $type == 11 |
0 | 0 | 8 | $type == 5 or $type == 6 | |
0 | 5 | 3 | $type == 5 or $type == 6 or $type == 9 | |
5 | 0 | 3 | $type == 5 or $type == 6 or $type == 9 or $type == 13 | |
0 | 0 | 0 | $type == 12 or $type == 15 | |
400 | 37 | 0 | 0 | $amfType[$t] || sprintf('0x%x', $t) |
442 | 0 | 0 | 0 | $amfType[$type] || sprintf('type 0x%x', $type) |
456 | 0 | 0 | 0 | $amfType[$type] || sprintf('type 0x%x', $type) |
576 | 0 | 0 | 0 | $stat == Compress::Zlib::Z_STREAM_END() or $stat == Compress::Zlib::Z_OK() |
580 | 0 | 0 | 0 | length $buff >= $len or $stat == Compress::Zlib::Z_STREAM_END() |
655 | 0 | 1 | 0 | $tag == 69 or $tag == 77 |
1 | 0 | 0 | $tag == 69 or $tag == 77 or $hasMeta |