blib/lib/Mojo/Base/Che.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 15 | 26.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
10 | 0 | 0 | 196 | my $class = ref $self || $self and $attrs |
12 | 80 | 116 | 0 | ref $value and ref $value ne 'CODE' |
23 | 0 | 0 | 0 | ref $self->{$_} and &Scalar::Util::weaken($self->{$_}) |
46 | 0 | 0 | 0 | ref($_[0]{$attr} = &$value($_[0])) && &Scalar::Util::weaken($_[0]{$attr}) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
10 | 0 | 196 | 0 | ref $self || $self |