Branch Coverage

blib/lib/Phone/Info.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
47 0 0 if (defined $_[1])
55 0 0 if (not defined $args{'token'}) { }
56 0 0 unless (defined $ENV{'WHITEPAGESTOKEN'})
69 0 0 unless (defined $$self{'wp'})
137 0 0 if (defined $_[1])
155 0 0 unless (defined $res)
162 0 0 unless (defined $$res{'result'})
169 0 0 unless (defined $$res{'result'}{'type'})
176 0 0 if ($$res{'result'}{'type'} ne 'success')
244 0 0 if (defined $_[1])
250 0 0 unless (defined $args{'res'})
258 0 0 unless (defined $args{'format'})
263 0 0 unless (defined $args{'header'})
269 0 0 unless (defined $args{'seperator'})
274 0 0 unless (defined $args{'quotechar'})
279 0 0 unless (defined $args{'quote'})
296 0 0 if ($format[$fint] eq 'firstname')
300 0 0 if ($format[$fint] eq 'middlename')
304 0 0 if ($format[$fint] eq 'lastname')
308 0 0 if ($format[$fint] eq 'phone')
312 0 0 if ($format[$fint] eq 'house')
316 0 0 if ($format[$fint] eq 'street')
320 0 0 if ($format[$fint] eq 'city')
324 0 0 if ($format[$fint] eq 'state')
328 0 0 if ($format[$fint] eq 'zip')
332 0 0 unless (defined $data)
336 0 0 if ($args{'quote'})
344 0 0 if ($fint ne $#format)
405 0 0 if (defined $_[1])
421 0 0 unless (defined $res)
428 0 0 unless (defined $$res{'result'})
435 0 0 unless (defined $$res{'result'}{'type'})
442 0 0 if ($$res{'result'}{'type'} ne 'success')
476 0 0 if (defined $_[1])
482 0 0 unless (defined $args{'phone'})
493 0 0 unless (defined $res)
500 0 0 unless (defined $$res{'result'})
507 0 0 unless (defined $$res{'result'}{'type'})
514 0 0 if ($$res{'result'}{'type'} ne 'success')