Branch Coverage

lib/Class/Dot/Meta/Class.pm
Criterion Covered Total %
branch 38 48 79.1


line true false branch
46 173 0 unless ($$options_ref{'property'})
52 32 141 if (exists $$options_ref{'for_class'})
61 29 3 unless ($$options_ref{'-no_constructor'})
110 66 77 if exists $$created_classes{$class_name}
112 2 75 defined $version ? :
118 75 2 if (_ARRAYLIKE $append_isa_ref)
123 76 1 if (_HASHLIKE $methods_ref)
140 0 32 if (_HASHLIKE($superclasses[-1]))
158 32 7 if (_HASHLIKE($superclasses[-1]))
166 1 39 if ($inheritor eq $base)
171 2 37 if $inheritor->isa($base)
173 0 37 unless (require_class($base))
182 32 7 if ($$options_ref{'append'})
209 0 0 if exists $seen{$isa_class}
222 114 0 defined $mro::VERSION ? :
230 0 0 unless defined $other
234 0 0 ref $other ? :
263 12 31 $has_options ? :
267 22 21 if ($$options{'-optimized'}) { }
286 15 28 if ($self->can('BUILD'))
287 10 5 $has_options ? :
291 7 8 if ($$options{'-rebuild'})
292 4 3 if (ref $ret)
308 3 39 if ($self->can('DEMOLISH'))