Branch Coverage

blib/lib/Mojolicious/Plugin/I18NUtils.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
34 0 50 unless defined $date
48 0 60 unless defined $date
63 11 0 if lc $to eq 'iso'
80 16 0 if ($opts and $opts->{'cash'})
138 45 76 if (length $date < 11)
147 8 113 unless eval { do { my $date_obj = 'Time::Piece'->strptime($date, $in); $out_date = $date_obj->strftime($out); 1 } }
160 0 50 unless $lang
218 0 82 unless $lang