Branch Coverage

blib/lib/WWW/Wikipedia.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
96 12 0 unless defined $follow
124 13 17 if $language
144 12 0 if defined $bool
157 13 10 if defined $value
179 0 11 unless defined $string
181 1 10 utf8::is_utf8($string) ? :
187 10 1 if ($response->is_success) { }
193 1 8 if $self->follow_redirects and $entry->raw =~ /^#REDIRECT\s*\[\[([^|\]]+)/is and $1 ne $string
216 1 0 if ($response->is_success)
239 12 1 if (@_)