Condition Coverage

blib/lib/Time/Timecode.pm
Criterion Covered Total %
condition 31 49 63.2


and 3 conditions

line !l l&&!r l&&r condition
59 11 31 11 @_ == 1 and not $_[0] =~ /^\d+$/
249 0 0 52 $frames =~ /^\d+$/ and $frames >= 0
0 0 52 $frames =~ /^\d+$/ and $frames >= 0 and $frames <= $max
290 9 0 1 $self->is_dropframe && $self->seconds == 0 && ($self->frames == 0 || $self->frames == 1) && $self->minutes % 10 != 0

or 2 conditions

line l !l condition
98 1 1 $options ||= {}
100 1 1 $$options{'dropframe'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
48 0 0 53 @_ < 2 or not defined $_[1]
52 16 0 37 $$options{'delimiter'} || $DEFAULT_DELIMITER
15 0 38 $$options{'fps'} || $DEFAULT_FPS
64 9 0 33 $$self{'_is_dropframe'} ||= $DEFAULT_DROPFRAME
65 13 29 0 $$self{'_frame_delimiter'} ||= $DEFAULT_FRAME_DELIMITER
101 0 2 0 $$options{'delimiter'} ||= $$self{'_delimiter'}
102 1 1 0 $$options{'frame_delimiter'} ||= $$self{'_frame_delimiter'}
217 466 52 0 $$self{'_rounded_fps'} ||= sprintf('%.0f', $self->fps)
255 0 0 156 not defined $value or $value < 0
0 1 155 not defined $value or $value < 0 or $value > 59
325 1 4 5 defined $$self{'_is_dropframe'} or index($DROP_FRAME_DELIMITERS, $4) == -1