Branch Coverage

lib/Class/Dot/Meta/Property.pm
Criterion Covered Total %
branch 41 50 82.0


line true false branch
79 64 50 ref $the_class ? :
88 114 0 if (scalar @{$isa;} > 1) { }
92 103 105 if (defined $attr) { }
93 42 61 if (exists $$class_meta{$attr})
104 608 0 unless (exists $$all_properties{$name})
113 0 0 if (defined $attr) { }
121 64 50 defined $attr ? :
127 44 5 ref $the_class ? :
131 2 47 if ($isa_cache)
132 1 1 if ($ENV{'TESTING_CLASS_DOT'})
144 0 3 unless (require_class($composite))
162 508 0 unless (exists $$left_side{$key})
185 6 87 unless (_NEWSCHOOL_TYPE($isa))
197 6 87 if (exists $$all_options{'-accessor_type'}) { }
6 81 elsif ($$all_options{'-chained'}) { }
0 81 elsif ($$all_options{'-constrained'}) { }
228 12 81 if ($is_mutator)
235 76 17 if (not $is_mutator and $$privacy_rules{'has_getter'})
245 75 18 if (not $is_mutator and $$privacy_rules{'has_setter'})
250 3 72 if ($property =~ /^(_+)/msx)
269 161 2 unless (*{"${caller_class}::$accessor_name";}{'CODE'})
285 19 74 defined $opt_privacy_type ? :
289 17 76 if (exists $TYPE_PRIVACY_ALIASES{$privacy_type})
293 0 93 unless exists $TYPE_PRIVACY_RULES{$privacy_type}
298 93 0 wantarray ? :