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 72 54 80 @words and $words[0] =~ /^\d+/
60 64 2 not $time and $vals[0] =~ /^\d{3}/
64 58 2 $time and not defined $time->[3]
122 1 1 $time and not defined $time->[3] and not defined $v[0]
147 17 66 0 not $time and @vals != 3
154 59 64 0 not $time and @vals != 3
123 0 0 not $time and @vals != 3 and @vals != 2
164 0 17 43 defined $time->[0] and not defined $v[0]
165 2 58 0 defined $time->[3] and not defined $v[3]
166 6 0 54 defined $time->[6] and not defined $v[6]
193 411 51 0 $v != int $v and $i < 5
204 2 7 51 defined $sec and $sec != int $sec
297 0 0 0 $shift =~ s/^(\+|-)// && $1 eq '-'
311 2 13 51 defined $time[5] and $time[5] =~ /\.(\d+)/
318 12 0 3 defined $time[6] and not defined $shiftOffset->{'Timezone'}
329 6 54 0 @shift > 6 and @time <= 6
384 6 0 0 $shiftOffset->{'Timezone'} and @time <= 6
433 0 0 444 defined $time[$i] and defined $toTime[$i]
442 0 0 54 $time[$i] == $toTime[$i] and $time[$i + 1] == $toTime[$i + 1]
446 0 0 0 $toTime[6] >= 0 and $toTime[7] >= 0

or 2 conditions

line l !l condition
140 54 0 shift @vals || 0
149 76 7 pop @vals || 0
150 73 10 pop @vals || 0
156 110 13 shift @vals || 0
157 64 59 shift @vals || 0
191 408 54 $time->[$i] || 0
120 342 $shift->[$i] || 0

or 3 conditions

line l !l&&r !l&&!r condition
102 0 0 0 $year % 100 or not $year % 400
134 80 2 124 @words and $words[0] =~ /^\d+/ or not $time and $vals[0] =~ /^\d{3}/
2 0 124 @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 54 defined $v[6] or @vals > 2
146 0 0 83 @v or @vals > 3
153 0 0 123 defined $v[3] or defined $v[6]
0 0 123 defined $v[3] or defined $v[6] or @vals > 3
161 0 0 126 $err or not @v
339 9 0 0 defined $time[0] or defined $time[3]