line |
true |
false |
branch |
28
|
1 |
4 |
unless $self->map_path |
29
|
1 |
4 |
unless $self->font_path |
30
|
4 |
1 |
unless $self->max_width |
31
|
4 |
1 |
unless $self->max_height |
33
|
2 |
3 |
if scalar @err_msgs > 0 |
41
|
13 |
0 |
if ($path_info) { } |
43
|
1 |
12 |
if ($$env{'QUERY_STRING'}) |
48
|
11 |
2 |
if ($params) |
49
|
2 |
9 |
if $self->param_filter |
51
|
10 |
1 |
if ($params) |
52
|
1 |
9 |
if $self->max_width < $$params{'width'} |
57
|
1 |
8 |
if $self->max_height < $$params{'height'} |
62
|
8 |
0 |
if $params |
76
|
13 |
0 |
if ($ref_config_path eq 'Regexp') { } |
|
0 |
0 |
elsif (defined $config_path) { } |
81
|
0 |
0 |
if (substr($given_path, 0, $match_length) eq $config_path) { } |
139
|
2 |
13 |
unless $ext |
141
|
1 |
12 |
if $ext eq 'jpg' |
148
|
3 |
10 |
if ($query) |
149
|
1 |
2 |
if $$query{'text'} |
150
|
2 |
1 |
if $$query{'color'} |
151
|
2 |
1 |
if $$query{'bgcolor'} |
153
|
1 |
2 |
if $$query{'minsize'} |
177
|
0 |
0 |
if ($size - $min_size < 1) { } |
|
0 |
0 |
elsif ($width_ratio > 1) { } |
|
0 |
0 |
elsif ($width_ratio > 0.9) { } |
198
|
0 |
0 |
unless $img->write('data', \$binary, 'type', $type) |
222
|
3 |
4 |
if ($color_str =~ /^([0-9a-fA-F]{6})$/) |