Branch Coverage

blib/lib/DateTime/Format/EraLegis.pm
Criterion Covered Total %
branch 59 92 64.1


line true false branch
22 0 0 if scalar @_ > 0
26 0 0 if scalar @_ > 0
31 0 22 unless scalar @_ > 0
0 22 unless ($Method::Signatures::mutc{'cache'}{'DateTime'} ||= 'Method::Signatures'->_make_constraint('DateTime'))->check($dt)
18 4 exists $args{'format'} ? :
0 22 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($format)
2 20 exists $args{'geo'} ? :
0 22 if keys %args
0 22 if scalar @_ > 5
39 2 20 if ($geo)
52 14 8 if ($dt->hms lt $sunrise)
53 3 11 $dow == 1 ? :
75 4 18 $dt->month <= 3 && $tdate{'sol'}{'sign'} > 0 ? :
80 18 4 $format eq 'raw' ? :
119 0 0 if scalar @_ > 0
124 0 1 if scalar @_ > 0
128 0 44 unless scalar @_ > 0
0 44 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($body)
0 44 unless scalar @_ > 1
0 44 unless ($Method::Signatures::mutc{'cache'}{'DateTime'} ||= 'Method::Signatures'->_make_constraint('DateTime'))->check($dt)
0 44 if scalar @_ > 2
130 0 44 if $time lt '1904-03-20'
136 0 44 unless $rows
203 0 3 if scalar @_ > 0
205 0 1 $self->lang eq 'english' ? :
2 1 $self->lang eq 'symbol' ? :
212 0 5 if scalar @_ > 0
213 3 2 if $self->lang eq 'symbol'
216 0 2 if $self->lang eq 'english'
219 0 2 if $self->lang eq 'poor-latin'
222 2 0 if $self->lang eq 'latin' and $self->show_deg
228 0 4 if scalar @_ > 0
231 4 0 $self->roman_year ? :
235 0 5 if scalar @_ > 0
237 4 1 $self->vs15 ? :
238 5 0 if ($self->show_deg) { }
244 2 3 if ($self->show_terse)
247 3 2 if ($self->show_dow)
249 1 2 $self->lang eq 'latin' ? :
254 4 1 if ($self->show_year)
256 0 1 $self->lang eq 'english' ? :
3 1 $self->lang eq 'symbol' ? :
266 0 22 unless scalar @_ > 0
0 22 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($tdate)
0 22 if scalar @_ > 1
269 19 3 $self->lang eq 'symbol' && $self->vs15 ? :