Condition Coverage

blib/lib/Image/ExifTool/ID3.pm
Criterion Covered Total %
condition 34 110 30.9


and 3 conditions

line !l l&&!r l&&r condition
1100 0 0 0 $vers >= 1024 and $len > 127
0 0 0 $vers >= 1024 and $len > 127 and not $len & 2155905152
1179 0 0 0 $inflate and $stat == Compress::Zlib::Z_STREAM_END()
1232 0 0 0 defined $val and defined $url
1278 0 0 0 defined $dat and length $dat
1352 31 0 6 $lang and $lang =~ /^[a-z]{3}$/i
31 6 0 $lang and $lang =~ /^[a-z]{3}$/i and $lang ne "eng"
1409 3 0 0 $flags & 128 and $vers < 1024
1452 8 0 8 $raf->Seek(-128, 2) and $raf->Read($tBuff, 128) == 128
8 6 2 $raf->Seek(-128, 2) and $raf->Read($tBuff, 128) == 128 and $tBuff =~ /^TAG/
1464 0 0 2 $raf->Seek(-$trailSize - $eSize, 2) and $raf->Read($eBuff, $eSize) == $eSize
0 2 0 $raf->Seek(-$trailSize - $eSize, 2) and $raf->Read($eBuff, $eSize) == $eSize and $eBuff =~ /^TAG+/
1473 5 0 11 $raf->Seek(-$trailSize - 15, 2) and $raf->Read($buff, 15) == 15
5 11 0 $raf->Seek(-$trailSize - 15, 2) and $raf->Read($buff, 15) == 15 and $buff =~ /^(.{6})LYRICS(END|200)$/
1478 0 0 0 $raf->Seek(-$len, 1) and $raf->Read($buff, $len) == $len
0 0 0 $raf->Seek(-$len, 1) and $raf->Read($buff, $len) == $len and $buff =~ /LYRICSBEGIN/g
1609 8 0 1 $et->{'FILE_EXT'} && $et->{'FILE_EXT'} eq 'MP3'
1628 8 1 1 $rtnVal and not $et->{'DoneAPE'}

or 2 conditions

line l !l condition
1620 1 8 $et->{'FILE_EXT'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
902 0 0 0 not $lang =~ /^[a-z]{3}$/ or $lang eq "eng"
905 0 0 0 $enc == 1 or $enc == 2
1021 35 0 0 $enc == 0 or $enc == 3
0 0 0 $enc == 1 or $enc == 2
1103 0 0 0 not defined $len or $offset + $len + 10 > $size
1125 0 0 0 $verbose or $et->Options("Unknown")
1168 0 0 37 $flags{'DataLen'} or $flags{'Compress'}
1216 27 0 10 $id =~ /^T/ or $id =~ /^(IPL|IPLS)$/
0 0 2 $id eq "POP" or $id eq "POPM"
2 0 0 $id eq "RVA" or $id eq "RVAD"
0 0 0 $tagInfo->{'Format'} or $tagInfo->{'SubDirectory'}
0 0 0 $id eq "GRP1" or $id eq "MVNM"
0 0 0 $id eq "GRP1" or $id eq "MVNM" or $id eq "MVIN"
1227 0 0 0 $enc == 1 or $enc == 2
1260 0 0 2 $enc == 1 or $enc == 2
1328 0 0 0 {0, 'Other', 1, 'Master', 2, 'Front-right', 3, 'Front-left', 4, 'Back-right', 5, 'Back-left', 6, 'Front-centre', 7, 'Back-centre', 8, 'Subwoofer'}->{$type} || "Unknown($type)"
1381 15 1 0 $dirInfo->{'RAF'} || 'File::RandomAccess'->new($dirInfo->{'DataPt'})
1534 1 1 0 $audioModule{$type} || $type