blib/lib/EntityModel/Entity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 24 | 33.3 |
line | true | false | branch |
---|---|---|---|
86 | 14 | 6 | if @_ == 1 |
92 | 4 | 2 | unless delete $args{'field'} |
94 | 2 | 4 | if ($args{'auto_primary'}) |
102 | 0 | 6 | if exists $args{'keyfield'} |
142 | 0 | 0 | unless $dst->isa('EntityModel::Entity') |
144 | 0 | 0 | if $self->name ne $dst->name |
145 | 0 | 0 | if $self->field->count != $dst->field->count |
146 | 0 | 0 | unless $self->primary ~~ $dst->primary |
153 | 0 | 0 | unless $srcf and $dstf |
154 | 0 | 0 | unless $srcf->name eq $dstf->name |
156 | 0 | 0 | if @srcF or @dstF |
182 | 13 | 0 | if (my $field = delete $$def{'field'}) |