| blib/lib/HTML/FormFu/Constraint/DBIC/Unique.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 18 | 61.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 41 | 0 | 0 | 0 | defined $stash->{'context'} and defined $self->model |
| 116 | 4 | 9 | 0 | $existing_row and defined(my $self_stash_key = $self->self_stash_key) |
| 4 | 3 | 6 | $existing_row and defined(my $id_field = $self->id_field) | |
| 129 | 1 | 1 | 4 | defined $value and length $value |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 0 | 0 | 16 | not defined $value or $value eq '' |
| 85 | 1 | 12 | 0 | $self->column || $self->parent->name |