blib/lib/Class/LazyObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 21 | 57.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 78 | 0 | 56 | $method eq 'new' and not ref $self |
48 | 56 | 0 | 14 | ref $$self and UNIVERSAL::isa($$self, $class_method->get_classdata('class')) |
181 | 56 | 0 | 0 | ref $id and UNIVERSAL::isa($id, $own_package->get_classdata('class')) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 70 | 64 | 0 | ref $self || $self |
29 | 20 | 16 | 0 | ref $self || $self |
61 | 66 | 4 | 0 | UNIVERSAL::can($_[0], $method) || $class_method->_prepareAUTOLOADRef($_[0], ref($_[0]) . '::' . $method) || Carp::croak(sprintf(q[Can't locate object method "%s" via package "%s" ], $method, ref $_[0])) |
95 | 24 | 0 | 0 | ref $object_or_package || $object_or_package |