Branch Coverage

blib/lib/Valiemon/Attributes/AdditionalItems.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
15 2 12 unless ref $data eq 'ARRAY'
21 4 8 unless ref $items eq 'ARRAY'
23 4 4 if (ref $additionalItems eq 'HASH') { }
0 4 elsif (ref $additionalItems eq 'ARRAY') { }
31 14 2 if ($idx >= $n)
43 0 4 unless ($context->prims->is_boolean($additionalItems))
47 2 2 if not $additionalItems and scalar @$data > scalar @$items