| blib/lib/Valiemon/Attributes/Properties.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 6 | 178 | unless ref $data eq 'HASH' |
| 20 | 0 | 178 | unless (ref $properties eq 'HASH') |
| 26 | 74 | 181 | unless (exists $data->{$prop}) |
| 29 | 2 | 72 | $properties->{$prop}{'$ref'} ? : |
| 30 | 6 | 67 | if (my $default = $definition->{'default'}) { } |
| 5 | 62 | elsif ($definition->{'required'}) { } | |
| 51 | 43 | 136 | unless ($res) |