Condition Coverage

blib/lib/Mojo/Base/Tiny.pm
Criterion Covered Total %
condition 10 16 62.5


and 2 conditions

line l !l condition
42 14 3 ref $self->{$_} and &Scalar::Util::weaken($self->{$_})
65 0 3 ref($_[0]{$attr} = &$value($_[0])) && &Scalar::Util::weaken($_[0]{$attr})

and 3 conditions

line !l l&&!r l&&r condition
29 0 0 16 my $class = ref $self || $self and $attrs
31 11 4 1 ref $value and ref $value ne 'CODE'

or 3 conditions

line l !l&&r !l&&!r condition
29 2 14 0 ref $self || $self
150 0 12 0 ref $class || $class