Condition Coverage

blib/lib/DBIx/QuickORM/Schema/Table.pm
Criterion Covered Total %
condition 31 70 44.2


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 233 builtin::blessed($cval) and $cval->isa("DBIx::QuickORM::Schema::Table::Column")

or 2 conditions

line l !l condition
44 89 2 $self->{'columns'} //= {}
59 62 29 $self->{'unique'} //= {}
60 31 60 $self->{'links'} //= []
61 62 29 $self->{'indexes'} //= []
70 0 3 $params{'links'} //= [@{$self->{'links'};}, @{$other->{'links'};}]
71 0 3 $params{'indexes'} //= [@{$self->{'indexes'};}, @{$other->{'indexes'};}]
72 0 3 $params{'primary_key'} //= [@{$self->{'primary_key'};}]
83 0 28 $params{'links'} //= [@{$self->{'links'};}]
84 0 28 $params{'indexes'} //= [@{$self->{'indexes'};}]
85 0 26 $params{'primary_key'} //= [@{$self->{'primary_key'};}]
97 1 0 $self->{'columns'}{$cname} // undef
135 65 25 $_[0]{'fields_to_fetch'} //= [map({$_->name;} grep({not $_->omit;} values %{$_[0]{"columns"};}))]
136 0 0 $_[0]{'fields_to_omit'} //= [map({$_->name;} grep({$_->omit;} values %{$_[0]{"columns"};}))]
137 0 0 $_[0]{'fields_list_all'} //= [map({$_->name;} values %{$_[0]{"columns"};})]

or 3 conditions

line l !l&&r !l&&!r condition
31 7 0 0 $_[0]{'name'} //= $_[0]{'db_name'}
32 0 0 0 $_[0]{'db_name'} //= $_[0]{'name'}
38 63 28 0 $self->{'db_name'} //= $self->{'name'}
39 91 0 0 $self->{'name'} //= $self->{'db_name'}
68 0 3 0 $params{'columns'} //= merge_hash_of_objs($self->{'columns'}, $other->{'columns'})
3 0 0 $self->{'columns'} or $other->{'columns'}
69 0 3 0 $params{'unique'} //= merge_hash_of_objs($self->{'unique'}, $other->{'unique'})
3 0 0 $self->{'unique'} or $other->{'unique'}
70 3 0 0 $self->{'links'} or $other->{'links'}
71 3 0 0 $self->{'indexes'} or $other->{'indexes'}
72 3 0 0 $self->{'primary_key'} or $other->{'primary_key'}
81 0 28 0 $params{'columns'} //= clone_hash_of_objs($self->{'columns'})
82 0 28 0 $params{'unique'} //= clone_hash_of_objs($self->{'unique'})