| blib/lib/Image/ExifTool/MacOS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 48 | 20.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 389 | 0 | 0 | 0 | $overwrite < 0 and @{$nvHash->{'DelValue'};} |
| 550 | 3 | 5 | 0 | not ref $val and $val =~ /\0/ || length $val > 200 |
| 579 | 0 | 0 | 0 | $tag and defined $val |
| 636 | 0 | 0 | 1 | $dataLen >= 58 and $$dataPt =~ /^.{34}ATTR/s |
| 651 | 8 | 0 | 0 | $off > $dataLen and $et->Warn("Invalid ATTR offset"), last |
| 680 | 0 | 0 | 1 | $raf->Read($hdr, 26) == 26 and $hdr =~ /^\0\x05\x16\x07\0(.)\0\0Mac OS X /s |
| 696 | 0 | 0 | 2 | $raf->Seek($off, 0) and $raf->Read($buff, $len) == $len |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 376 | 0 | 0 | 0 | $tag eq "MDItemFSCreationDate" or $tag eq "FileCreateDate" |
| 435 | 0 | 0 | 0 | not $silentErr or $err != $silentErr |
| 459 | 0 | 0 | 0 | $? or not @mdls |
| 550 | 1 | 0 | 4 | $val =~ /\0/ || length $val > 200 |
| 1 | 0 | 7 | not ref $val and $val =~ /\0/ || length $val > 200 or $tag eq "XAttrMDLabel" | |
| 569 | 0 | 0 | 0 | $? or not @xattr |
| 583 | 0 | 0 | 0 | /[^\dA-Fa-f]/ or length $_ & 1 |
| 615 | 0 | 0 | 0 | $? or not $time |
| 0 | 0 | 0 | $? or not $time or not $time =~ s/([-+]\d{2})(\d{2})\s*$/$1:$2/ |