| blib/lib/Mojo/Base/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 16 | 62.5 |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 14 | 3 | ref $self->{$_} and &Scalar::Util::weaken($self->{$_}) |
| 62 | 0 | 3 | ref($_[0]{$attr} = &$value($_[0])) && &Scalar::Util::weaken($_[0]{$attr}) |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 26 | 0 | 0 | 16 | my $class = ref $self || $self and $attrs |
| 28 | 11 | 4 | 1 | ref $value and ref $value ne 'CODE' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 2 | 14 | 0 | ref $self || $self |
| 147 | 0 | 12 | 0 | ref $class || $class |