| blib/lib/DBIx/Class/Helper/Row/Enumeration.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 22 | 72.7 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 19 | 23 | if ref $col |
| 36 | 3 | 20 | unless $info->{'data_type'} eq 'enum' |
| 38 | 0 | 20 | unless exists $info->{'extra'}{'list'} |
| 42 | 0 | 20 | unless $handlers |
| 44 | 15 | 5 | if (XXX) |
| 48 | 35 | 5 | if (my $method = &$handlers($_, $col, $class)) { } |
| 60 | 0 | 20 | unless XXX |
| 64 | 0 | 45 | unless $handler |
| 65 | 0 | 45 | unless my $value = $handlers->{$handler} |
| 75 | 0 | 45 | if $self->can($method) and not $MINE{$method} |
| 79 | 10 | 35 | $info->{'is_nullable'} ? : |