Branch Coverage

File:blib/lib/HTML/Genealogy/Map.pm
Coverage:73.8%

line%coveragebranch
128100TFref $_[0] ? :
155100TFif $debug
15950TFunless ref $indi
165100TFif (my $birth = $indi->birth)
166100TFif (ref $birth and my $place = $birth->place)
177100TFif (my $death = $indi->death)
17850TFif (ref $death and my $place = $death->place)
19150TFunless defined $fam and ref $fam
19350TFref $fam->husband && $fam->husband->name ? :
19450TFref $fam->wife && $fam->wife->name ? :
19950TFif (my $marriage = $fam->marriage)
20050TFif (ref $marriage and my $place = $marriage->place)
213100TFif $debug
214100TFif $debug
224100TFunless (exists $cache{$place})
228100TFif (defined $lat and defined $long) { }
23350TFif $debug
234100TFunless _is_local($location)
23750TFif $debug
243100TFif ($cache{$place})
252100TFif $debug
254100TFif scalar @geocoded_events == 0
25650TFif $debug
26750TFif ($google_key) { }
285100TFunless defined $location
28750TFif (&blessed($location) and $location->can("latitude") and $location->can("longitude"))
29150TFif (ref $location eq "HASH")
31050TFunless ref $location
31150TFif ref $location eq "ARRAY"
319100TFif defined $location->{'database'} and $LOCAL_DATABASES{$location->{'database'}}
320100TFif defined $location->{'geocoder'} and $location->{'geocoder'} =~ /^Geo::Coder::Free/
33550TFif ($event_count > 5)
35450TFif $date_a =~ /^Unknown/i and not $date_b =~ /^Unknown/i
35550TFif $date_b =~ /^Unknown/i and not $date_a =~ /^Unknown/i
35650TFif $date_a =~ /^Unknown/i and $date_b =~ /^Unknown/i
362100TFif ($by_type{'birth'})
375100TFif ($by_type{'marriage'})
388100TFif ($by_type{'death'})
4280TFif ($first)
463100TFif ($event_count > $max_events)