Condition Coverage

blib/lib/Image/ExifTool/MacOS.pm
Criterion Covered Total %
condition 10 50 20.0


and 3 conditions

line !l l&&!r l&&r condition
420 0 0 0 $overwrite < 0 and @{$nvHash->{'DelValue'};}
576 3 5 0 not ref $val and $val =~ /\0/ || length $val > 200
605 0 0 0 $tag and defined $val
662 0 0 1 $dataLen >= 58 and $$dataPt =~ /^.{34}ATTR/s
677 8 0 0 $off > $dataLen and $et->Warn("Invalid ATTR offset"), last
706 0 0 1 $raf->Read($hdr, 26) == 26 and $hdr =~ /^\0\x05\x16\x07\0(.)\0\0Mac OS X /s
722 0 0 2 $raf->Seek($off, 0) and $raf->Read($buff, $len) == $len

or 2 conditions

line l !l condition
464 0 0 $cmd[0] || 'tag'

or 3 conditions

line l !l&&r !l&&!r condition
408 0 0 0 $tag eq "MDItemFSCreationDate" or $tag eq "FileCreateDate"
460 0 0 0 not $silentErr or $err != $silentErr
485 0 0 0 $? or not @mdls
576 1 0 4 $val =~ /\0/ || length $val > 200
1 0 7 not ref $val and $val =~ /\0/ || length $val > 200 or $tag eq "XAttrMDLabel"
595 0 0 0 $? or not @xattr
609 0 0 0 /[^\dA-Fa-f]/ or length $_ & 1
641 0 0 0 $? or not $time
0 0 0 $? or not $time or not $time =~ s/([-+]\d{2})(\d{2})\s*$/$1:$2/