Condition Coverage

blib/lib/DateTime/Format/Alami.pm
Criterion Covered Total %
condition 32 48 66.6


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 7 ${"${class}::RE_DT";} and ${"${class}::RE_DUR";}
558 1 0 2 lc $m->{'o_ampm'} eq 'pm' and $hour < 12
559 2 1 0 lc $m->{'o_ampm'} eq 'am' and $hour == 12

or 2 conditions

line l !l condition
92 0 0 $pat_name_dep_orders{$a} // 9999
0 0 $pat_name_dep_orders{$b} // 9999
171 99 2 $opts //= {}
172 8 93 $opts->{'format'} //= 'DateTime'
174 5 96 $opts->{'returns'} //= 'first'
255 8 9 $opts //= {}
256 8 9 $opts->{'format'} //= 'Duration'
257 5 12 $opts->{'returns'} //= 'first'
563 3 11 $m->{'o_second'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
80 0 0 0 $is_p || $is_pdur
0 0 0 $is_p || $is_pdur
148 0 0 7 $self->{'time_zone'} //= $self->{'_time_zone'}
201 1 1 100 $opts->{'format'} eq 'combined' or $opts->{'format'} eq 'epoch'
279 1 1 22 $opts->{'format'} eq 'combined' or $opts->{'format'} eq 'seconds'
485 75 2 70 $m->{'o_yearint'} // $m->{'o_year4int'}
2 2 68 ($m->{'o_yearint'} // $m->{'o_year4int'}) // $m->{'o_year2int'}