Branch Coverage

blib/lib/WWW/Correios/CEP.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
29 0 2 defined $params->{'user_agent'} ? :
1 1 defined $params->{'post_url'} ? :
0 2 defined $params->{'post_content'} ? :
33 1 1 if defined $params->{'timeout'}
42 3 0 unless wantarray
44 0 3 wantarray ? :
55 0 3 if ($cep =~ /^00/o or $cep =~ /(\d)\1{7}/) { }
59 2 1 unless (defined $this->{'_lwp_ua'})
81 2 1 if ($res->is_success) { }
89 0 3 if $@
92 3 0 wantarray ? :
100 0 2 unless $obj->{'dados'}
102 1 1 if ($as_html_tree) { }
124 0 2 unless @$address_ref