Condition Coverage

blib/lib/DateTime/Format/Alami.pm
Criterion Covered Total %
condition 26 42 61.9


and 3 conditions

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

or 2 conditions

line l !l condition
91 0 0 $pat_name_dep_orders{$a} // 9999
0 0 $pat_name_dep_orders{$b} // 9999
170 95 2 $opts //= {}
171 8 89 $opts->{'format'} //= 'DateTime'
173 5 92 $opts->{'returns'} //= 'first'
254 8 9 $opts //= {}
255 8 9 $opts->{'format'} //= 'Duration'
256 5 12 $opts->{'returns'} //= 'first'
550 3 11 $m->{'o_second'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 $is_p || $is_pdur
0 0 0 $is_p || $is_pdur
147 0 0 7 $self->{'time_zone'} //= $self->{'_time_zone'}
200 1 1 96 $opts->{'format'} eq 'combined' or $opts->{'format'} eq 'epoch'
278 1 1 22 $opts->{'format'} eq 'combined' or $opts->{'format'} eq 'seconds'