Branch Coverage

blib/lib/Whelk/Schema/Definition/Object.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
12 8 23 if ($hints{'parameters'})
25 25 14 if $properties->{$key}->required
28 23 0 if (%items)
31 23 0 if @required
50 1 12 $item->description ? :
64 148 3 if ($properties)
75 0 156 if $self->_valid_nullable($value)
77 147 9 if (ref $value eq "HASH")
79 144 3 if ($properties)
81 52 155 unless (exists $value->{$key})
83 13 39 if $properties->{$key}->required
89 21 134 if defined $inhaled
92 2 108 if ($self->strict)
94 2 1 if exists $properties->{$key}
110 0 90 if $self->_valid_nullable($value)
113 3 87 unless $properties
116 8 18 unless exists $value->{$key} or $properties->{$key}->has_default