blib/lib/DBIx/Class/InflateColumn/TimeMoment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
28 | 0 | 6 | if (exists $info->{$key}) |
31 | 0 | 0 | unless $info->{$key} |
38 | 0 | 2 | unless $requested_type or $info->{'data_type'} |
42 | 1 | 0 | unless $data_type eq 'datetime' or $data_type eq 'timestamp' or $data_type eq 'date' |
57 | 9 | 2 | defined $dt ? : |
79 | 4 | 7 | unless $value =~ /(?: Z | (?: [+-] \d{2} (?: :? \d{2} )? ) | UTC | GMT )$/x |
87 | 0 | 2 | unless $info->{'datetime_undef_if_invalid'} |