blib/lib/Evo/Class/Meta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 28 | 92.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
66 | 2427 | 98 | 0 | $meta and $meta->symbols->{$name} |
71 | 71 | 981 | 417 | !$xsub && $realpkg eq $pkg |
221 | 306 | 141 | 1 | $state{'optional'} and @scalars |
223 | 430 | 14 | 3 | $state{'lazy'} and (&reftype($scalars[0]) // '') ne 'CODE' |
224 | 363 | 35 | 46 | @scalars and ref $scalars[0] |
398 | 45 | 1 | @scalars and ref $scalars[0] and &reftype($scalars[0]) ne 'CODE' |
line | l | !l | condition |
---|---|---|---|
13 | 1 | 202 | ${"${package}::EVO_CLASS_META";} ||= bless({'package', $package, 'private', {}, 'methods', {}, 'reqs', {}, 'overridden', {}}, $me) |
223 | 15 | 2 | &reftype($scalars[0]) // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
11 | 1 | 202 | 0 | ${"${package}::EVO_CLASS_ATTRS";} ||= 'Evo::Class::Attrs'->new |
201 | 83 | 217 | 5 | $self->is_attr($_) || $class->can($_) |