Condition Coverage

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

line%coveragecondition
149100
Adec
00
11
$params->{'height'} || '400px'
150100
Adec
00
11
$params->{'width'} || '600px'
16050
Adec
00
11
$indi->name || 'Unknown'
16667
ABdec
0X0
100
111
ref $birth and my $place = $birth->place
16750
Adec
00
11
$birth->date || 'Unknown date'
17833
ABdec
0X0
100
111
ref $death and my $place = $death->place
17950
Adec
00
11
$death->date || 'Unknown date'
19133
ABdec
0X0
100
111
defined $fam and ref $fam
19333
ABdec
0X0
100
111
ref $fam->husband && $fam->husband->name
19433
ABdec
0X0
100
111
ref $fam->wife && $fam->wife->name
20033
ABdec
0X0
100
111
ref $marriage and my $place = $marriage->place
20350
Adec
00
11
$marriage->date || 'Unknown date'
22867
ABdec
0X0
100
111
defined $lat and defined $long
28750
ABCdec
0XX0
10X0
1100
1111
&blessed($location) and $location->can("latitude") and $location->can("longitude")
29733
ABdec
000
011
1X1
($location->{'long'} // $location->{'lng'}) // $location->{'lon'}
33
ABdec
000
011
1X1
$location->{'long'} // $location->{'lng'}
31967
ABdec
0X0
100
111
defined $location->{'database'} and $LOCAL_DATABASES{$location->{'database'}}
32067
ABdec
0X0
100
111
defined $location->{'geocoder'} and $location->{'geocoder'} =~ /^Geo::Coder::Free/
35433
ABdec
0X0
100
111
$date_a =~ /^Unknown/i and not $date_b =~ /^Unknown/i
35533
ABdec
0X0
100
111
$date_b =~ /^Unknown/i and not $date_a =~ /^Unknown/i
35633
ABdec
0X0
100
111
$date_a =~ /^Unknown/i and $date_b =~ /^Unknown/i