| blib/lib/Mojo/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 18 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 27 | 0 | 0 | 11550 | my $class = ref $self || $self and $attrs |
| 29 | 4921 | 6628 | 1 | ref $value and ref $value ne "CODE" |
| 39 | 2868 | 2626 | 0 | ref $self->{$_} and builtin::weaken($self->{$_}) |
| 60 | 0 | 53 | 148 | ref($_[0]{$attr} = &$value($_[0])) && builtin::weaken($_[0]{$attr}) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 27 | 2 | 11548 | 0 | ref $self || $self |
| 143 | 7937 | 49478 | 0 | ref $class || $class |