blib/lib/Mojo/Base/Che.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 15 | 26.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
10 | 0 | 0 | 197 | my $class = ref $self || $self and $attrs |
12 | 80 | 117 | 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 | 197 | 0 | ref $self || $self |