Branch Coverage

blib/lib/Elastic/Model/TypeMap/Structured.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
56 2 4 unless %$dict
72 2 4 unless %$dict
84 3 15 unless (shift())->type_constraints
92 4 18 unless %$dict
100 4 28 ref $flator ? :
120 4 9 unless %$tcs
126 2 16 unless %key_mapping
143 4 6 unless my $content_tc = $tcs->[1]
146 2 4 unless my $content = $map->find($type, $content_tc, $attr)
152 0 4 if ref $content
170 45 0 if (my $handler = $map->$types->{$parent->name})
180 1 2 $type eq 'mapper' ? :
21 3 $tc->can('type_parameter') ? :