blib/lib/WWW/Wikipedia.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
96 | 10 | 0 | unless defined $follow |
124 | 11 | 11 | if $language |
144 | 10 | 0 | if defined $bool |
157 | 10 | 0 | if defined $value |
179 | 0 | 6 | unless defined $string |
181 | 0 | 6 | utf8::is_utf8($string) ? : |
187 | 0 | 6 | if ($response->is_success) { } |
193 | 0 | 0 | if $self->follow_redirects and $entry->raw =~ /^#REDIRECT\s*\[\[([^|\]]+)/is and $1 ne $string |
216 | 0 | 1 | if ($response->is_success) |
239 | 13 | 1 | if (@_) |