Branch Coverage

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


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') { }
0 1 elsif ($duration_suffix eq 'min') { }
0 1 elsif ($duration_suffix eq 'h') { }
135 3 5 if ($err)
145 0 591 if ($Video::Pattern::OSNAME eq 'MSWin32') { }
150 0 0 unless ($Video::Pattern::EVAL_ERROR)
155 0 0 if (not $has_symlink)