Condition Coverage

blib/lib/Mojo/Base.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 10958 my $class = ref $self || $self and $attrs
31 4670 6287 1 ref $value and ref $value ne "CODE"
41 2738 2452 0 ref $self->{$_} and &Scalar::Util::weaken($self->{$_})
62 0 69 132 ref($_[0]{$attr} = &$value($_[0])) && &Scalar::Util::weaken($_[0]{$attr})

or 3 conditions

line l !l&&r !l&&!r condition
29 2 10956 0 ref $self || $self
145 7530 46874 0 ref $class || $class