Branch Coverage

blib/lib/Jifty/DBI/Column.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
58 0 139 unless $self->attributes
59 132 7 unless @_
60 7 0 @_ == 1 ? :
94 264 7 if ($self->can($_)) { }
112 3 4 if ($self->type =~ /INT|NUMERIC|DECIMAL|REAL|DOUBLE|FLOAT/i)
129 84 157 if ($self->type =~ /CHAR|TEXT/i)
143 0 0 if grep {$_->isa('Jifty::DBI::Filter::Boolean');} $self->output_filters
144 0 0 if $self->type =~ /BOOL/i
185 32 3 if $_ ne 'attributes' and $_ ne 'record_class' and not $_ =~ /^_/
200 0 0 if $_ ne 'record_class' and not $_ =~ /^_/
212 0 59 if (@_) { }
21 38 elsif (not $self->_checked_for_validate_sub || $self->_validator) { }
216 0 21 $self->aliased_as ? :
219 2 19 if $can
277 369 79 unless $self->record_class->can('schema_version')
278 9 70 unless defined $self->record_class->schema_version
283 3 67 if defined $self->since and $version < 'version'->new($self->since)
287 6 61 if defined $self->till and $version >= 'version'->new($self->till)