Branch Coverage: lib/OpenAPI/Handler/Captcha.pm

# Branch Coverage

File: | lib/OpenAPI/Handler/Captcha.pm
Coverage: | 70.0%

line | % | coverage | branch
--- | --- | --- | ---
173 | 50 | T | F | if ($col eq 'id') { }
175 | 100 | T | F | if ($captcha_from_cookie)
195 | 100 | T | F | if ($value =~ s/\.(gif|jpg|png|jpeg)$//g)
197 | 50 | T | F | if ($ext eq 'jpg')
199 | 50 | T | F | if ($col eq 'id') { }
202 | 100 | T | F | if (defined $solution) { }
204 | 100 | T | F | if ($lang eq 'cn') { }
| 100 | T | F | elsif ($lang eq 'en') { }
230 | 50 | T | F | if $j > 100
235 | 50 | T | F | if ($len >= 15)
252 | 50 | T | F | if $j > 100
257 | 100 | T | F | if $len == 3
258 | 50 | T | F | if ($len >= 5)
288 | 50 | T | F | if $captcha->gdbox_empty
316 | 50 | T | F | if $captcha->gdbox_empty