Condition Coverage

blib/lib/Mock/Quick/Class.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
151 5 0 0 @_ == 1 and ref $_[0] eq 'HASH'
169 7 1 19 $type and $type eq 'CODE'
170 7 0 1 $class and $class->isa('Mock::Quick::Method')
184 6 3 3 $self->is_takeover and not $package->can($name)

or 2 conditions

line l !l condition
19 28 17 $self->{'-metrics'} ||= {}
44 0 3 delete $params{'-caller'} || [&CORE::GLOBAL::caller()]
204 3 6 $self->package->can($name) || undef

or 3 conditions

line l !l&&r !l&&!r condition
26 1 6 0 &blessed($proto) || $proto