Condition Coverage

blib/lib/Image/ExifTool/MXF.pm
Criterion Covered Total %
condition 47 111 42.3


and 3 conditions

line !l l&&!r l&&r condition
2483 105 0 0 $type =~ /^(Alt|Lat|Lon)$/ and $len == 4
83 2 20 $type =~ /(Array|Batch)/ and $len > 16
2497 0 0 91 @max and $_ <= $max[0]
2625 0 0 216 $tag and $tagTablePtr->{$tag}
2636 56 0 160 $type and $knownType{$type}
2640 105 20 0 $type eq "UTF-16" and $textLang
2653 91 125 0 $tagInfo and $tagInfo->{'Unknown'}
125 0 0 $tagInfo and $tagInfo->{'Unknown'} and not defined $tagInfo->{'Binary'}
2735 4 17 18 $objInfo and not $objInfo->{'DidGroups'}
2843 8 36 2 $headerEnd and $pos >= $headerEnd
2845 2 0 0 $mxfInfo{'HeaderType'} eq "ClosedCompleteHeader" and not $verbose
2848 2 0 0 $footerPos and $footerPos > $pos
0 0 0 $verbose && $unknown
2 0 0 $footerPos and $footerPos > $pos and not $verbose && $unknown
2872 44 1 0 not $tagInfo and $ul =~ /^060e2b34\.0253\.0101\.(0d|0f)/
45 0 0 not $tagInfo and $ul =~ /^060e2b34\.0253\.0101\.(0d|0f)/ and $1 eq '0d' || $verbose || $unknown
2881 1 6 38 $tagInfo and not $tagInfo->{'Unknown'}
7 0 38 $tagInfo and not $tagInfo->{'Unknown'} and $len < 10000000
1 6 0 $tagInfo and !$tagInfo->{'Unknown'} || $unknown
2883 36 0 2 $tagInfo->{'Name'} eq "Primer" and $mxfInfo{'HeaderSize'}
2895 38 0 0 $type and $knownType{$type}
2899 0 0 0 $tagInfo->{'Unknown'} and not defined $tagInfo->{'Binary'}

or 2 conditions

line l !l condition
2758 0 0 $pathInfo->{'NameCount'} || {}
2760 0 0 $nameCount->{$name} || 0
2917 0 0 $raf->Seek($more, 1) or last

or 3 conditions

line l !l&&r !l&&!r condition
2467 0 0 0 $4 eq 'N' || $4 eq 'E'
2483 0 13 111 $type eq "Position" or $type eq "Length"
2489 3 0 0 {0, 'unknown', 1, 'released', 2, 'debug', 3, 'patched', 4, 'beta', 5, 'private build'}->{$a[4]} || "unknown $a[4]"
2515 0 0 0 $val =~ s/^[abc]..// or $val =~ s/^[def]../-/
2535 2 0 0 $type eq "BatchOfUL" or $type =~ /^WeakReference/
2549 4 16 57 $type eq "UL" or $type eq "WeakReference"
2651 0 125 91 $langInfo || $et->GetTagInfo($tagTablePtr, $tag)
2654 0 0 0 $tagInfo->{'Format'} || $type && $knownType{$type}
2872 0 0 0 $1 eq '0d' || $verbose || $unknown
2881 0 0 6 !$tagInfo->{'Unknown'} || $unknown
0 0 7 $tagInfo and !$tagInfo->{'Unknown'} || $unknown or $verbose
2901 0 0 0 $tagInfo->{'Format'} || $type && $knownType{$type}
2944 1 0 0 $mxfInfo{'BestDuration'}{'Source'} || $mxfInfo{'BestDuration'}{'Other'}