Condition Coverage

blib/lib/Image/ExifTool/M2TS.pm
Criterion Covered Total %
condition 17 80 21.2


and 3 conditions

line !l l&&!r l&&r condition
300 2 0 0 $type == 6 and $pid == 768
349 0 0 0 $$dataPt =~ /^.{44}A\0{3}.{4}([NS])\0{3}.{4}([EW])\0{3}/s and length $$dataPt >= 84
0 0 0 length $$dataPt >= 64 and substr($$dataPt, 32, 2) eq "\$S"
414 0 0 0 $lastTime and $a[2] eq $lastTime
451 0 0 0 $$dataPt =~ /\$[A-Z]{2}RMC,(\d{2})(\d{2})(\d+(\.\d*)?),A?,(.{2})(\d{2}\.\d+),([NS]),(.{3})(\d{2}\.\d+),([EW]),(\d*\.?\d*),(\d*\.?\d*),(\d{2})(\d{2})(\d+)/g and $13 <= 31
0 0 0 $$dataPt =~ /\$[A-Z]{2}RMC,(\d{2})(\d{2})(\d+(\.\d*)?),A?,(.{2})(\d{2}\.\d+),([NS]),(.{3})(\d{2}\.\d+),([EW]),(\d*\.?\d*),(\d*\.?\d*),(\d{2})(\d{2})(\d+)/g and $13 <= 31 and $14 <= 12
0 0 0 $$dataPt =~ /\$[A-Z]{2}RMC,(\d{2})(\d{2})(\d+(\.\d*)?),A?,(.{2})(\d{2}\.\d+),([NS]),(.{3})(\d{2}\.\d+),([EW]),(\d*\.?\d*),(\d*\.?\d*),(\d{2})(\d{2})(\d+)/g and $13 <= 31 and $14 <= 12 and $15 <= 99
727 1 0 6 $payload_data_exists and not defined $backScan
937 0 0 0 defined $packLen{$pid} and $saveLen > $packLen{$pid}
964 0 0 1 defined $startTime and defined $endTime
991 1 0 0 $et->Options("ExtractEmbedded") and $raf->Seek(-8, 2)
1 0 0 $et->Options("ExtractEmbedded") and $raf->Seek(-8, 2) and $raf->Read($buff, 8) == 8
0 0 0 $et->Options("ExtractEmbedded") and $raf->Seek(-8, 2) and $raf->Read($buff, 8) == 8 and $buff =~ /^&&&&/
996 0 0 0 $len < $raf->Tell and $raf->Seek(-$len, 2)
0 0 0 $len < $raf->Tell and $raf->Seek(-$len, 2) and $raf->Read($buff, $len) == $len

or 2 conditions

line l !l condition
370 0 0 $1 || ''
479 0 0 $la || 0
480 0 0 $lo || 0
617 0 1 $et->Options('ExtractEmbedded') || 0

or 3 conditions

line l !l&&r !l&&!r condition
300 0 0 2 $type == 1 or $type == 2
0 0 2 $type == 3 or $type == 4
1 0 0 $type == 129 or $type == 135
1 0 0 $type == 129 or $type == 135 or $type == 145
471 0 0 0 $_ < 48 or $_ > 57
730 1 2 3 $pid == 0 or defined $pmt{$pid}
761 3 0 0 $tableID{$table_id} || sprintf('Unknown (0x%x)', $table_id)
932 0 2 1 not $pidType{$pid} or $pidType{$pid} == 27
945 0 0 0 $more or $fromStart{$pid}