Branch Coverage

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


line true false branch
26 5 3 ref $_[0] eq 'HASH' ? :
29 7 0 $local_or_gm eq 'gm' ? :
7 1 unless defined $tz
31 0 8 $local_or_gm eq 'local' ? :
39 3 5 if ($which eq "date" or $which eq "datetime")
40 2 1 unless defined $date_sep
44 6 2 if ($which eq "time" or $which eq "datetime")
45 5 1 unless defined $time_sep
47 2 4 if ($sec_frac and not defined $opts->{'second_precision'} or $opts->{'second_precision'})
51 0 2 if (not defined $opts->{'second_precision'}) { }
62 2 6 if ($which eq 'date') { }
5 1 elsif ($which eq 'time') { }
1 0 elsif ($which eq 'datetime') { }