Branch Coverage

blib/lib/Image/ExifTool/GoPro.pm
Criterion Covered Total %
branch 20 82 24.3


line true false branch
542 0 0 unless my $s = $et->{'SystemTimeList'}
543 0 0 unless ($et->{'SystemTimeListSorted'})
551 0 0 $val < $s->[$t][0] ? :
553 0 0 if ($i == $j or $s->[$j][0] == $s->[$i][0]) { }
573 0 0 unless $val and $scl
574 0 0 unless my @scl = split(' ', $scl, 0)
576 0 0 ref $val eq 'ARRAY' ? :
582 0 0 @scaled > 1 ? :
592 0 0 if ($et and $et->{'TAG_EXTRA'}{$tag} and $et->{'TAG_EXTRA'}{$tag}{'Units'})
594 0 0 unless ref $u eq "ARRAY"
596 0 0 if (@$u == @a)
599 0 0 if $u->[$i]
615 0 0 ref $$dataPt eq 'ARRAY' ? :
623 0 0 unless $$tagTablePtr{++$i}
645 0 3 if $verbose
646 3 0 if ($pos) { }
648 1 2 if $parent and $parent eq "APP6"
651 0 0 unless $et->{'SET_GROUP1'}
658 0 32 if $pos + $size > $dirEnd
660 0 32 if $tag eq "\0\0\0\0"
661 0 32 unless $size or $verbose
664 0 32 if ($fmt == 63 and defined $type) { }
0 32 elsif ($format eq 'undef' || $format eq 'string' and $count > 1 and $len > 1) { }
670 0 0 unless my $f = $goProFmt{$b}
671 0 0 unless $l = $goProSize{$b} || &Image::ExifTool::FormatSize($f)
672 0 0 if $p + $l > $len
674 0 0 unless defined $s
677 0 0 if @s
679 0 0 @v > 1 ? :
682 0 0 $format eq 'undef' ? :
688 0 32 if $tag eq "TYPE"
689 0 32 if $tag eq "UNIT" or $tag eq "SIUN"
690 0 32 if $tag eq "SCAL"
692 9 23 unless ($tagInfo)
693 0 9 unless $unknown
696 0 9 unless $fmt
700 0 0 if $scal and $tag ne "SCAL" and $pos + $size + 3 >= $dirEnd
701 0 0 $fmt ? :
0 32 $verbose ? :
711 0 32 if $tagInfo->{'AddUnits'} and $key
713 1 2 if $setGroup0