Branch Coverage

lib/UR/Object/Type.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
47 0 991 unless ($property_meta)
54 121 119 if (@_) { }
57 4 117 if (%extra)
63 1 3 unless (defined $self->{'attributes_have'}{$name})
66 0 0 if ($op and $op ne '==' and $op ne 'eq')
71 4 3 if $_->can($name)
74 0 120 unless defined wantarray
75 113 7 if wantarray
76 0 7 if @matches > 1
85 446 0 if (@_ == 2) { }
89 32 414 unless $class_names and @$class_names
118 731 0 if (my $has = $class_meta->{'has'})
136 0 0 if (@_) { }
139 0 0 unless defined wantarray
140 0 0 if wantarray
141 0 0 if @matches > 1