| blib/lib/Whelk/Schema/Definition.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 49 | 12 | 1 | pop() ? : |
| 58 | 31 | 569 | if (builtin::blessed($item) and $item->isa(__PACKAGE__)) |
| 61 | 47 | 522 | if (ref $item eq 'SCALAR') { } |
| 25 | 497 | elsif (ref $item eq 'ARRAY') { } | |
| 497 | 0 | elsif (ref $item eq 'HASH') { } | |
| 72 | 0 | 497 | unless defined $type |
| 97 | 9 | 21 | if defined $error |
| 151 | 23 | 67 | if (defined $inhaled) |
| 152 | 23 | 0 | if ref $error_sub eq "CODE" |
| 167 | 45 | 84 | if ($self->name and not $hints{'full'}) { } |
| 186 | 2 | 74 | if (defined $self->description) |
| 190 | 1 | 75 | if ($self->nullable) |