blib/lib/Mojo/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 18 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
29 | 0 | 0 | 10710 | my $class = ref $self || $self and $attrs |
31 | 4536 | 6173 | 1 | ref $value and ref $value ne "CODE" |
41 | 2716 | 2425 | 0 | ref $self->{$_} and &Scalar::Util::weaken($self->{$_}) |
62 | 0 | 65 | 132 | ref($_[0]{$attr} = &$value($_[0])) && &Scalar::Util::weaken($_[0]{$attr}) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 2 | 10708 | 0 | ref $self || $self |
145 | 7375 | 46144 | 0 | ref $class || $class |