Branch Coverage

blib/lib/Mars/Meta.pm
Criterion Covered Total %
branch 29 40 72.5


line true false branch
15 0 2 unless $name
19 1 1 $data->{$name} ? :
25 0 3 if ($self->{'attrs'})
49 10 9 if (${"${name}::META";} and ${"${name}::META";}->{'ATTR'}) { }
62 0 2 unless $name
66 1 1 $data->{$name} ? :
72 4 146 if ($self->{'bases'})
108 0 4 unless $type
114 0 4 unless int grep(($type eq $_), ("attrs", "bases", "mixins", "roles", "subs"))
124 0 2 unless $name
128 1 1 $data->{$name} ? :
134 0 3 if ($self->{'mixins'})
158 3 15 if (${"${name}::META";} and ${"${name}::META";}->{'MIXIN'}) { }
177 0 44 unless $name
181 38 6 $data->{$name} ? :
187 0 137 if ($self->{'roles'})
211 122 790 if (${"${name}::META";} and ${"${name}::META";}->{'ROLE'}) { }
224 0 2 unless $name
228 1 1 $data->{$name} ? :
234 0 3 if ($self->{'subs'})