Branch Coverage

File:Koha/DateUtils.pm
Coverage:79.2%

line%coveragebranch
56100TFif (not $tz)
5950TFif (not $date_format)
6250TFif ($date_string)
63100TFif (ref $date_string eq 'DateTime')
67100TFif ($date_format eq 'metric') { }
72100TFif ($date_format eq 'iso') { }
100TFelsif ($date_format eq 'us') { }
50TFelsif ($date_format eq 'sql') { }
74100TFif ($date_string =~ /^0000-0/)
10750TFdefined $force_pref ? :
159100TFif (defined $str and $str =~ /^\d{4}-\d{2}-\d{2}/)
17950TFif (defined $str and $str =~ /^\d{4}-\d{2}-\d{2}/)