blib/lib/Class/LazyObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 56 | 0 | 40 | $method eq 'new' and not ref $self |
39 | 40 | 0 | 10 | ref $$self and UNIVERSAL::isa($$self, $class_method->get_classdata('class')) |
172 | 40 | 0 | 0 | ref $id and UNIVERSAL::isa($id, $own_package->get_classdata('class')) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 50 | 46 | 0 | ref $self || $self |
52 | 47 | 3 | 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])) |
86 | 16 | 0 | 0 | ref $object_or_package || $object_or_package |