Branch Coverage

blib/lib/Video/Pattern.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
51 2 8 unless (defined $self->{'fps'} and $self->{'fps'} =~ /^\d+$/ms)
59 4 1 if (not defined $self->{'image_generator'}) { }
86 10 591 if ($delay <= 0) { }
107 1 7 if (not defined $self->{'duration'}) { }
6 1 elsif ($self->{'duration'} =~ /^(\d+)(\w*)$/ms) { }
112 3 3 if ($duration_suffix ne $EMPTY_STR)
113 1 2 if ($duration_suffix eq 's') { }
1 1 elsif ($duration_suffix eq 'ms') { }
125 3 5 if ($err)
135 0 591 if ($Video::Pattern::OSNAME eq 'MSWin32') { }
140 0 0 unless ($Video::Pattern::EVAL_ERROR)
145 0 0 if (not $has_symlink)