Condition Coverage

File:blib/lib/DateTime/Format/Genealogy.pm
Coverage:81.5%

line%coveragecondition
44667
ABdec
0X0
100
111
not ref $params->{'date'} and my $date = $params->{'date'}
449100
ABdec
000
011
1X1
$params->{'quiet'} // $self->{'quiet'}
450100
ABdec
000
011
1X1
$params->{'strict'} // $self->{'strict'}
48733
ABdec
000
011
1X1
$month_idx < 0 or $month_idx > 11
511100
ABdec
0X0
100
111
not $strict and $date =~ /^from (.+?) to (.+)/i
55167
ABdec
000
011
1X1
$self->{'dfn'} //= "DateTime::Format::Natural"->new
553100
ABdec
0X0
100
111
$date =~ /^\d/ and my $d = $self->_date_parser_cached($date)
57467
ABdec
0X0
100
111
$rc and $calendar_type ne "DGREGORIAN"
586100
ABdec
0X0
100
111
not $date =~ /^(?:Abt|ca?)/i and $date =~ /^[\w\s,]+$/