Branch Coverage

blib/lib/Venus/Meta.pm
Criterion Covered Total %
branch 63 80 78.7


line true false branch
17 0 3 unless $name
21 2 1 $data->{$name} ? :
27 1 636 if ($self->{'attrs'})
45 2 634 wantarray ? :
54 1221 12966 if (${"${name}::META";} and ${"${name}::META";}->{'ATTR'}) { }
67 0 2 unless $name
71 1 1 $data->{$name} ? :
77 1440 2713 if ($self->{'bases'})
91 0 2713 wantarray ? :
125 1 3 unless $type
126 0 3 unless $name
132 3 3 if @$configs
135 3 0 $configs ? :
141 0 6 unless $type
147 0 6 unless int grep(($type eq $_), ("attrs", "bases", "mixins", "roles", "subs"))
153 0 6 wantarray ? :
159 0 2 unless $name
163 1 1 $data->{$name} ? :
169 12547 806 if ($self->{'mixins'})
187 0 806 wantarray ? :
195 38 3784 if (${"${name}::META";} and ${"${name}::META";}->{'MIXIN'}) { }
214 0 635 unless $name
218 619 16 $data->{$name} ? :
224 25772 2704 if ($self->{'roles'})
242 1 2703 wantarray ? :
251 5798 53900 if (${"${name}::META";} and ${"${name}::META";}->{'ROLE'}) { }
264 1 9 unless $from
265 0 9 unless $type
266 0 9 unless $name
273 1 8 if (lc $from eq 'bases') { }
4 4 elsif (lc $from eq 'roles') { }
1 3 elsif (lc $from eq 'mixins') { }
287 10 4 if (lc $type eq 'sub') { }
288 4 6 if (*{"${source}::$name";}{"CODE"})
293 2 2 if ($${"${source}::META";}{uc $type}{$name})
301 0 9 wantarray ? :
307 0 2 unless $name
311 1 1 $data->{$name} ? :
317 0 3 if ($self->{'subs'})
331 0 3 wantarray ? :