Branch Coverage

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

line%coveragebranch
144100TFif $debug
148100TFunless ref $indi
154100TFif (my $birth = $indi->birth)
155100TFif (ref $birth and my $place = $birth->place)
166100TFif (my $death = $indi->death)
16750TFif (ref $death and my $place = $death->place)
180100TFunless defined $fam and ref $fam
18250TFref $fam->husband && $fam->husband->name ? :
18350TFref $fam->wife && $fam->wife->name ? :
18850TFif (my $marriage = $fam->marriage)
18950TFif (ref $marriage and my $place = $marriage->place)
202100TFif $debug
203100TFif $debug
213100TFunless (exists $cache{$place})
215100TFif ($location and $$location{'lat'} and $$location{'lon'}) { }
22050TFif $debug
221100TFunless $$location{"geocoder"} =~ /^Geo::Coder::Free/
22450TFif $debug
230100TFif ($cache{$place})
239100TFif $debug
241100TFif scalar @geocoded_events == 0
24350TFif $debug
25450TFif ($google_key) { }
27350TFif ($event_count > 5)
29250TFif $date_a =~ /^Unknown/i and not $date_b =~ /^Unknown/i
29350TFif $date_b =~ /^Unknown/i and not $date_a =~ /^Unknown/i
29450TFif $date_a =~ /^Unknown/i and $date_b =~ /^Unknown/i
300100TFif ($by_type{"birth"})
313100TFif ($by_type{"marriage"})
326100TFif ($by_type{"death"})
3660TFif ($first)
40150TFif ($event_count > $max_events)