Branch Coverage

blib/lib/Evo/Class/Meta.pm
Criterion Covered Total %
branch 111 174 63.7


line true false branch
7 0 203 unless @_ <= 2
0 203 unless @_ >= 2
18 0 516 unless @_ <= 2
0 516 unless @_ >= 2
20 3 513 unless ${"${package}::EVO_CLASS_META";}
24 0 4344 unless @_ <= 1
0 4344 unless @_ >= 1
26 0 1862 unless @_ <= 1
0 1862 unless @_ >= 1
32 0 2789 unless @_ <= 1
0 2789 unless @_ >= 1
33 0 89 unless @_ <= 1
0 89 unless @_ >= 1
35 0 331 unless @_ <= 1
0 331 unless @_ >= 1
36 0 1862 unless @_ <= 1
0 1862 unless @_ >= 1
38 0 16 unless @_ <= 2
0 16 unless @_ >= 2
43 0 314 unless @_ <= 2
0 314 unless @_ >= 2
47 0 15 unless @_ <= 2
0 15 unless @_ >= 2
51 0 1846 unless @_ <= 2
0 1846 unless @_ >= 2
58 0 2573 unless @_ <= 2
0 2573 unless @_ >= 2
59 26 2547 if $self->methods->{$name}
66 2 96 if $meta and $meta->symbols->{$name}
69 1054 1491 unless my $code = Evo::Internal::Util::names2code($pkg, $name)
74 0 1234 unless @_ <= 2
0 1234 unless @_ >= 2
78 0 722 unless @_ <= 2
0 722 unless @_ >= 2
79 2 720 unless Evo::Internal::Util::check_subname($name)
82 0 920 unless @_ <= 2
0 920 unless @_ >= 2
84 5 915 if $self->is_attr($name)
85 3 912 if $self->is_method($name)
88 0 714 unless @_ <= 2
0 714 unless @_ >= 2
93 0 493 unless @_ >= 1
0 493 unless @_ & 1
97 3 484 if Evo::Internal::Util::names2code($pkg, $name)
100 483 1 if $opts{'method'}
103 0 8 unless @_ >= 1
0 8 unless @_ & 1
109 7 1 if $opts{'method'}
112 0 403 unless @_ >= 2
117 0 8 unless @_ >= 2
124 0 221 unless @_ <= 2
0 221 unless @_ >= 2
127 2 215 unless my $code = Evo::Internal::Util::names2code($pkg, $name)
131 0 57 unless @_ <= 1
0 57 unless @_ >= 1
137 0 61 unless @_ <= 1
0 61 unless @_ >= 1
140 1648 8 if not $self->is_private($_)
144 0 26 unless @_ <= 1
0 26 unless @_ >= 1
148 0 27 unless @_ <= 1
0 27 unless @_ >= 1
154 0 32 unless @_ <= 2
0 32 unless @_ >= 2
166 3 90 if $self->is_overridden($slot->{'name'})
172 4 211 if $self->is_overridden($name)
173 3 208 if Evo::Internal::Util::names2code($dest_p, $name)
186 0 33 unless @_ <= 2
0 33 unless @_ >= 2
190 0 23 unless @_ <= 1
0 23 unless @_ >= 1
194 0 20 unless @_ <= 2
0 20 unless @_ >= 2
202 16 3 unless @not_exists
215 0 449 unless @_ >= 2
217 1 448 if @scalars > 1
221 1 447 if $state{'optional'} and @scalars
223 3 444 if $state{'lazy'} and (&reftype($scalars[0]) // '') ne 'CODE'
224 1 80 if @scalars and ref $scalars[0] and &reftype($scalars[0]) ne 'CODE'
229 141 0 if $state{'optional'}
141 302 if ($state{'optional'}) { }
14 288 elsif ($state{'lazy'}) { }
66 222 elsif (@scalars) { }
230 14 0 if $state{'lazy'}
231 31 35 ref $scalars[0] ? :
245 0 1 unless @_ <= 1
0 1 unless @_ >= 1