Condition Coverage

blib/lib/Time/Timecode.pm
Criterion Covered Total %
condition 31 52 59.6


and 3 conditions

line !l l&&!r l&&r condition
63 14 52 12 @_ == 1 and not $_[0] =~ /^\d+$/
194 8 14 0 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 0 58 $options->{'delimiter'} || $DEFAULT_DELIMITER
24 0 55 $options->{'fps'} || $DEFAULT_FPS
69 18 48 0 $self->{'frame_delimiter'} ||= $DEFAULT_FRAME_DELIMITER
93 14 0 12 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