Branch Coverage

blib/lib/App/Image/Generator.pm
Criterion Covered Total %
branch 1 12 8.3


line true false branch
41 1 0 if (not &getopts("hi:s:v", $self->{'_opts'}) or @ARGV < 1 or $self->{'_opts'}{'h'})
59 0 0 unless ($self->{'_opts'}{'s'} =~ /^(\d+)x(\d+)$/ms)
71 0 0 if ($type eq "jpg")
77 0 0 if ($self->{'_opts'}{'i'} ne $EMPTY_STR) { }
83 0 0 $self->{'_opts'}{'v'} ? :
96 0 0 if ($App::Image::Generator::EVAL_ERROR)