Branch Coverage

blib/lib/Scrape/USPS/ZipLookup/Address.pm
Criterion Covered Total %
branch 14 36 38.8


line true false branch
77 0 5 if @_ and ref $_[0] eq $class
79 5 0 if (@_) { }
99 0 0 unless $message
104 0 0 unless defined $$self{$key}
133 0 20 unless defined $field
134 0 20 unless $all_fields{$field}
136 0 20 if (@_) { }
182 0 5 unless (@_)
191 0 5 if (@_ == 1 and ref $_[0] and UNIVERSAL::isa($_[0], 'Scrape::USPS::ZipLookup::Address')) { }
0 5 elsif (@_ == 1 and ref $_[0] eq 'HASH') { }
0 5 elsif (@_ == 6) { }
0 5 elsif (@_ == 5) { }
3 2 elsif (@_ == 4) { }
2 0 elsif (@_ == 3) { }
0 0 elsif (@_ == 2) { }
237 0 18 unless $input_fields{$key}
253 0 0 unless $$self{$_} eq ''
270 0 0 unless $$self{$_} eq ''