| blib/lib/DBIx/QuickORM/Schema.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 30 | 50.0 |
| line | l | !l | condition |
|---|---|---|---|
| 28 | 25 | 39 | $self->{'row_class'} //= "DBIx::QuickORM::Row" |
| 40 | 4 | 0 | $_[0]{'tables'}{$_[1]} // undef |
| 67 | 0 | 20 | $params{'tables'} //= {map({$_, $self->{'tables'}{$_}->clone;} keys %{$$self{"tables"};})} |
| 76 | 1 | 63 | $self->_links // [] |
| 77 | 31 | 60 | $_->_links // [] |
| 81 | 5 | 7 | $debug //= "unknown" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 56 | 0 | 3 | 0 | $params{'tables'} //= merge_hash_of_objs($self->{'tables'}, $other->{'tables'}) |
| 57 | 0 | 0 | 0 | $params{'name'} //= $self->{'name'} |
| 58 | 0 | 3 | 0 | $params{'row_class'} //= $other->{'row_class'} |
| 68 | 0 | 1 | 0 | $params{'name'} //= $self->{'name'} |
| 89 | 0 | 12 | 0 | my $local_unique //= $other_table->unique->{column_key(@{$other_cols;})} ? 1 : 0 |
| 90 | 0 | 12 | 0 | my $other_unique //= $local_table->unique->{column_key(@{$local_cols;})} ? 1 : 0 |