Branch Coverage

blib/lib/Venus/Meta.pm
Criterion Covered Total %
branch 70 90 77.7


line true false branch
17 0 3 unless $name
21 2 1 $data->{$name} ? :
27 1 60 if ($self->{'attrs'})
28 0 1 wantarray ? :
45 2 58 wantarray ? :
54 69 301 if (${"${name}::META";} and ${"${name}::META";}->{'ATTR'}) { }
67 0 2 unless $name
71 1 1 $data->{$name} ? :
77 970 2286 if ($self->{'bases'})
78 0 970 wantarray ? :
91 0 2286 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 14039 909 if ($self->{'mixins'})
170 0 14039 wantarray ? :
187 0 909 wantarray ? :
195 38 4304 if (${"${name}::META";} and ${"${name}::META";}->{'MIXIN'}) { }
214 0 507 unless $name
218 487 20 $data->{$name} ? :
224 28758 2272 if ($self->{'roles'})
225 0 28758 wantarray ? :
242 1 2271 wantarray ? :
251 4406 41683 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 45 11 if ($self->{'subs'})
318 45 0 wantarray ? :
331 8 3 wantarray ? :