Branch Coverage

blib/lib/DBIx/QuickORM/Schema/Table.pm
Criterion Covered Total %
branch 30 48 62.5


line true false branch
40 0 91 unless $self->{'name'}
42 34 57 $self->{'created'} ? :
45 0 91 unless ref $cols eq "HASH"
48 0 233 unless my $cval = $cols->{$cname}
49 0 233 unless builtin::blessed($cval) and $cval->isa("DBIx::QuickORM::Schema::Table::Column")
52 59 32 if (my $pk = $self->{'primary_key'})
54 0 64 unless my $col = $self->{'columns'}{$cname}
55 0 64 if $col->omit
68 3 0 if $self->{'columns'} or $other->{'columns'}
69 3 0 if $self->{'unique'} or $other->{'unique'}
70 3 0 if $self->{'links'} or $other->{'links'}
71 3 0 if $self->{'indexes'} or $other->{'indexes'}
72 3 0 if $self->{'primary_key'} or $other->{'primary_key'}
81 28 0 if $self->{'columns'}
82 28 0 if $self->{'unique'}
83 28 0 if $self->{'links'}
84 28 0 if $self->{'indexes'}
85 26 2 if $self->{'primary_key'}
119 0 329 unless my $col = $self->{'columns'}{$field}
120 34 295 unless my $type = $col->type
121 251 44 if ref $type
122 44 0 if $type->DOES("DBIx::QuickORM::Role::Type")
129 0 239 unless my $col = $self->{'columns'}{$field}
133 192 1 $_[0]{'columns'}{$_[1]} ? :