Branch Coverage

blib/lib/DBIx/Class/DateTime/Epoch.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
20 26 0 ref $cols[0] ? :
22 8 18 if (my $type = delete $info->{'epoch'})
25 4 4 if ($type =~ /^[cm]time$/)
28 2 2 if $type eq 'mtime'
42 2 4 unless $info->{'data_type'} =~ /int/i or exists $info->{'inflate_datetime'} and $info->{'inflate_datetime'} eq 'epoch'
50 1 2 unless $info->{'data_type'} =~ /int/i or exists $info->{'inflate_datetime'} and $info->{'inflate_datetime'} eq 'epoch'