| blib/lib/Valiemon/Attributes/Properties.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 6 | 183 | unless ref $data eq 'HASH' |
| 20 | 0 | 183 | unless (ref $properties eq 'HASH') |
| 26 | 81 | 186 | unless (exists $data->{$prop}) |
| 29 | 3 | 78 | $properties->{$prop}{'$ref'} ? : |
| 30 | 6 | 73 | if (my $default = $definition->{'default'}) { } |
| 5 | 68 | elsif ($context->prims->is_boolean($definition->{'required'}) and $definition->{'required'}) { } | |
| 52 | 43 | 141 | unless ($res) |