Branch Coverage

blib/lib/DBIx/Class/DynamicSubclass.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
137 0 1 unless $this->has_column($column)
139 0 1 unless $map and ref $map and ref $map eq 'HASH'
158 0 4 if ($this->can('add_frozen_columns'))
162 0 0 unless index($_, '-') == 0 or exists $real_columns->{$_}
169 0 4 if ($deferred)
178 0 9 unless my $col = $self->typecast_column
183 4 5 unless defined $val
184 5 4 if (my $target_class = $self->_typecast_map->{$val}) { }
197 10 2 if ($tc_col = $self->typecast_column and $tc_col eq $column)