Branch Coverage

blib/lib/Video/Pattern.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
54 2 8 unless (defined $self->{'fps'} and $self->{'fps'} =~ /^\d+$/ms)
62 4 1 if (not defined $self->{'image_generator'}) { }
89 10 591 if ($delay <= 0) { }
110 1 7 if (not defined $self->{'duration'}) { }
6 1 elsif ($self->{'duration'} =~ /^(\d+)(\w*)$/ms) { }
115 3 3 if ($duration_suffix ne $EMPTY_STR)
116 1 2 if ($duration_suffix eq 's') { }
1 1 elsif ($duration_suffix eq 'ms') { }
0 1 elsif ($duration_suffix eq 'min') { }
0 1 elsif ($duration_suffix eq 'h') { }
138 3 5 if ($err)
148 0 591 if ($Video::Pattern::OSNAME eq 'MSWin32') { }
153 0 0 unless ($Video::Pattern::EVAL_ERROR)
158 0 0 if (not $has_symlink)