blib/lib/Data/Model/Mixin/FindOrCreate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
16 | 9 | 8 | if (ref $key eq 'HASH') { } |
19 | 0 | 9 | unless $index |
22 | 1 | 8 | unless $schema->unique->{$index} |
25 | 4 | 4 | if $row |
31 | 4 | 4 | if $row |