Branch Coverage

blib/lib/Util/DataThing/Type.pm
Criterion Covered Total %
branch 21 40 52.5


line true false branch
37 4 2 $_[0] ? :
71 0 0 unless return $primitives{$type_name}
77 10 5 if defined $objects{$object_class}
86 0 2 unless UNIVERSAL::isa($value, $class)
111 14 0 defined $_[0]{'object_class'} ? :
121 0 1 unless $self->is_object
130 1 2 unless $properties
140 0 1 unless $self->is_object
152 0 12 unless $self->is_object
163 16 9 unless $properties
165 7 2 if ($want_array) { }
166 1 6 if defined $$properties{$property_name}
169 1 1 if defined $$properties{$property_name}
190 0 10 if (@_ == 2) { }
199 0 10 if (@_ == 2) { }
211 0 0 if $a == $b
213 0 0 unless $a->isa('Util::ObjectThing::Type') and $b->isa('Util::ObjectThing::Type')
215 0 0 if ($a->is_object and $b->is_object)
219 0 0 if ($a->is_array and $b->is_array)
223 0 0 if ($a->is_map and $b->is_map)