Branch Coverage

blib/lib/Date/Format/ISO8601.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
25 5 3 ref $_[0] eq 'HASH' ? :
28 7 0 $local_or_gm eq 'gm' ? :
7 1 unless defined $tz
30 0 8 $local_or_gm eq 'local' ? :
38 3 5 if ($which eq 'date' or $which eq 'datetime')
39 2 1 unless defined $date_sep
43 6 2 if ($which eq 'time' or $which eq 'datetime')
44 5 1 unless defined $time_sep
46 2 4 if ($sec_frac and not defined $opts->{'second_precision'} or $opts->{'second_precision'})
50 0 2 if (not defined $opts->{'second_precision'}) { }
61 2 6 if ($which eq 'date') { }
5 1 elsif ($which eq 'time') { }
1 0 elsif ($which eq 'datetime') { }