| blib/lib/Geoffrey/Action/Constraint/Unique.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 0 | 11 | unless ($unique) |
| 21 | 2 | 9 | unless ($s_table_name) |
| 25 | 0 | 9 | unless $hr_params |
| 26 | 2 | 7 | unless (XXX) |
| 30 | 2 | 5 | if (not $hr_params->{'columns'} or scalar @{$hr_params->{'columns'};} == 0) |
| 42 | 2 | 3 | if $self->for_table |
| 56 | 0 | 1 | unless ($unique) |
| 69 | 0 | 2 | unless ($unique) |
| 73 | 1 | 1 | unless ($s_table_name) |
| 85 | 0 | 4 | unless ($unique) |