Condition Coverage

blib/lib/Image/ExifTool/Shift.pl
Criterion Covered Total %
condition 64 104 61.5


and 3 conditions

line !l l&&!r l&&r condition
100 48 1 0 $mon == 2 and not $year % 4
134 68 50 76 @words and $words[0] =~ /^\d+/
56 60 2 not $time and $vals[0] =~ /^\d{3}/
60 54 2 $time and not defined $time->[3]
114 1 1 $time and not defined $time->[3] and not defined $v[0]
147 17 62 0 not $time and @vals != 3
154 55 60 0 not $time and @vals != 3
115 0 0 not $time and @vals != 3 and @vals != 2
164 0 17 39 defined $time->[0] and not defined $v[0]
165 2 54 0 defined $time->[3] and not defined $v[3]
166 6 0 50 defined $time->[6] and not defined $v[6]
193 383 47 0 $v != int $v and $i < 5
204 2 7 47 defined $sec and $sec != int $sec
297 0 0 0 $shift =~ s/^(\+|-)// && $1 eq '-'
311 2 13 47 defined $time[5] and $time[5] =~ /\.(\d+)/
318 12 0 3 defined $time[6] and not defined $shiftOffset->{'Timezone'}
329 6 50 0 @shift > 6 and @time <= 6
384 6 0 0 $shiftOffset->{'Timezone'} and @time <= 6
434 0 0 416 defined $time[$i] and defined $toTime[$i]
443 0 0 50 $time[$i] == $toTime[$i] and $time[$i + 1] == $toTime[$i + 1]
447 0 0 0 $toTime[6] >= 0 and $toTime[7] >= 0

or 2 conditions

line l !l condition
140 50 0 shift @vals || 0
149 72 7 pop @vals || 0
150 69 10 pop @vals || 0
156 102 13 shift @vals || 0
157 60 55 shift @vals || 0
191 380 50 $time->[$i] || 0
112 318 $shift->[$i] || 0

or 3 conditions

line l !l&&r !l&&!r condition
102 0 0 0 $year % 100 or not $year % 400
134 76 2 116 @words and $words[0] =~ /^\d+/ or not $time and $vals[0] =~ /^\d{3}/
2 0 116 @words and $words[0] =~ /^\d+/ or not $time and $vals[0] =~ /^\d{3}/ or $time and not defined $time->[3] and not defined $v[0]
136 0 0 50 defined $v[6] or @vals > 2
146 0 0 79 @v or @vals > 3
153 0 0 115 defined $v[3] or defined $v[6]
0 0 115 defined $v[3] or defined $v[6] or @vals > 3
161 0 0 118 $err or not @v
339 9 0 0 defined $time[0] or defined $time[3]