Branch Coverage

blib/lib/DateTime/Format/EraLegis.pm
Criterion Covered Total %
branch 46 78 58.9


line true false branch
21 0 0 if scalar @_ > 0
25 0 0 if scalar @_ > 0
30 0 13 unless scalar @_ > 0
0 13 unless ($Method::Signatures::mutc{'cache'}{'DateTime'} ||= 'Method::Signatures'->_make_constraint('DateTime'))->check($dt)
10 3 scalar @_ > 1 ? :
0 13 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($format)
0 13 if scalar @_ > 2
51 4 9 $dt->month <= 3 && $tdate{'sol'}{'sign'} > 0 ? :
56 10 3 $format eq 'raw' ? :
95 0 0 if scalar @_ > 0
100 0 1 if scalar @_ > 0
104 0 26 unless scalar @_ > 0
0 26 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($body)
0 26 unless scalar @_ > 1
0 26 unless ($Method::Signatures::mutc{'cache'}{'DateTime'} ||= 'Method::Signatures'->_make_constraint('DateTime'))->check($dt)
0 26 if scalar @_ > 2
106 0 26 if $time lt '1904-03-20'
112 0 26 unless $rows
173 0 2 if scalar @_ > 0
175 0 1 $self->lang eq 'english' ? :
1 1 $self->lang eq 'symbol' ? :
182 0 4 if scalar @_ > 0
183 2 2 if $self->lang eq 'symbol'
186 0 2 if $self->lang eq 'english'
189 0 2 if $self->lang eq 'poor-latin'
192 2 0 if $self->lang eq 'latin' and $self->show_deg
198 0 3 if scalar @_ > 0
201 3 0 $self->roman_year ? :
205 0 4 if scalar @_ > 0
207 4 0 if ($self->show_deg) { }
213 2 2 if ($self->show_terse)
216 2 2 if ($self->show_dow)
218 1 1 $self->lang eq 'latin' ? :
223 3 1 if ($self->show_year)
225 0 1 $self->lang eq 'english' ? :
2 1 $self->lang eq 'symbol' ? :
235 0 13 unless scalar @_ > 0
0 13 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($tdate)
0 13 if scalar @_ > 1