Branch Coverage

blib/lib/File/Find/IncludesTimeRange.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
102 0 0 if (not defined $opts{'start'}) { }
0 0 elsif (not defined $opts{'end'}) { }
0 0 elsif (not defined $opts{'items'}) { }
0 0 elsif (ref $opts{'start'} ne 'Time::Piece') { }
0 0 elsif (ref $opts{'end'} ne 'Time::Piece') { }
0 0 elsif (ref $opts{'items'} ne 'ARRAY') { }
0 0 elsif ($opts{'start'} > $opts{'end'}) { }
118 0 0 unless (defined $opts{'strptime'})
122 0 0 unless (defined $opts{'regex'})
133 0 0 if ($item =~ /$opts{'regex'}/)
136 0 0 if (defined $+{'subsec'})
142 0 0 if (not $opts{'ts_is_unixtime'}) { }
146 0 0 if (not $@ and defined $timestamp)
155 0 0 if (defined $full_timestamp)
156 0 0 unless (defined $found->{$full_timestamp})
169 0 0 if ($start <= $current_timestamp and $current_timestamp <= $end) { }
0 0 elsif (defined $previous_timestamp and not $previous_found and $previous_timestamp < $start and $current_timestamp > $end) { }
173 0 0 if (defined $previous_timestamp and not $previous_found and $start != $current_timestamp) { }
0 0 elsif (not $previous_found and $start == $current_timestamp) { }
196 0 0 if (not defined $timestamp_to_return[0] and defined $found_timestamps[0] and $found_timestamps[$#found_timestamps] <= $end)