Condition Coverage

blib/lib/Time/Timecode.pm
Criterion Covered Total %
condition 32 52 61.5


and 3 conditions

line !l l&&!r l&&r condition
63 14 52 12 @_ == 1 and not $_[0] =~ /^\d+$/
194 8 0 14 ref $rhs and $rhs->isa('Time::Timecode')
258 0 0 77 $frames =~ /^\d+$/ and $frames >= 0
0 0 77 $frames =~ /^\d+$/ and $frames >= 0 and $frames <= $max
307 4 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
126 1 2 $options ||= {}
128 1 2 $options->{'dropframe'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 79 @_ < 2 or not defined $_[1]
59 21 58 0 $options->{'delimiter'} || $DEFAULT_DELIMITER
24 55 0 $options->{'fps'} || $DEFAULT_FPS
69 18 48 0 $self->{'frame_delimiter'} ||= $DEFAULT_FRAME_DELIMITER
93 14 1 11 shift() || $DEFAULT_TO_STRING_FORMAT
129 0 3 0 $options->{'delimiter'} ||= $self->{'delimiter'}
130 1 2 0 $options->{'frame_delimiter'} ||= $self->{'frame_delimiter'}
234 362 77 0 $self->{'rounded_fps'} ||= POSIX::ceil($self->fps)
264 0 0 231 not defined $value or $value < 0
0 1 230 not defined $value or $value < 0 or $value > 59
353 0 0 26 $self->{'fps'} == 30 or $self->{'fps'} == 60