Condition Coverage

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

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