Branch Coverage

File:C4/Dates.pm
Coverage:65.0%

line%coveragebranch
3850TFunless (defined $prefformat)
450TFif (defined $prefformat)
81100TF@_ ? :
87100TFif $format eq 'sql'
89100TFif $format eq 'iso'
91100TFif $format eq 'rfc822'
9850TFunless my $val = shift @_
9950TFunless my $dformat = $$self{'dateformat'}
10250TFif $debug
10350TFif ($val =~ /$re/)
105100TFif ($dformat eq 'rfc822')
12250TFif $dformat eq 'rfc822'
125100TFif ($months[$i] =~ /$month_abbr/)
13250TFif ($days[$i] =~ /$day_abbr/)
143100TFunless (check_date($year, $month, $day))
14750TFunless (check_time($hour, $minute, $second))
173100TFscalar @_ >= 2 ? :
1740TFscalar @_ >= 2 ? :
50TFunless $format_map{$dformat}
175100TF@_ ? :
17650TFif ($debug and $debug > 1)
182100TF@_ ? :
18950TF@_ ? :
195100TFif $incoming eq 'syspref'
19650TFunless scalar grep(/^$incoming$/, keys %format_map) == 1
2020TF@_ ? :
208100TFunless @_
21450TFif (@_)
21750TFif $self eq 'C4::Dates'
22350TF@_ ? :