Branch Coverage

blib/lib/Image/ExifTool/iWork.pm
Criterion Covered Total %
branch 20 50 40.0


line true false branch
72 1 7 if $props->[-1] =~ /^\w+:ID$/
73 7 0 $props->[0] =~ /^.*?:(.*)/ ? :
85 0 8 unless @$props
88 0 8 if $verbose > 1
94 1 7 unless my $tag = &GetTagID($props)
97 0 7 unless ($tagTablePtr->{$tag})
98 0 0 if $verbose
122 1 0 if $et->{'FILE_EXT'}
123 0 1 unless ($type)
126 0 0 if (@members) { }
128 0 0 unless ($status)
130 0 0 if ($index =~ /^\s*<\?xml version=[^<]+<(\w+:\w+)/s)
131 0 0 if $iWorkType{$1}
136 0 0 if (@members)
138 0 0 if $tmp =~ /\.(pages|numbers|key)/i
141 0 0 unless $type
151 0 4 unless defined $file
158 2 2 unless $file =~ m[^(index\.(xml|apxl)|QuickLook/Thumbnail\.jpg|[^/]+/preview(-micro|-web)?.jpg)$]i
162 0 2 if ($indexFile and $indexFile eq $file) { }
167 0 2 if $status
171 1 1 if ($file =~ /\.jpg$/)
172 0 0 $1 eq 'web' ? :
0 1 $file =~ /preview-(\w+)/ ? :
177 0 1 unless $$buffPt =~ /<(\w+):metadata>/g
180 0 1 unless $$buffPt =~ m[]g