Condition Coverage

blib/lib/MRP/BaseClass.pm
Criterion Covered Total %
condition 7 65 10.7


and 3 conditions

line !l l&&!r l&&r condition
309 0 0 0 ref $func and push @list, $func->functions
328 0 0 0 $field eq $_ && !&MRP::Introspection::function($class, $field)
456 2 0 0 %all || %$delegates and not exists $ISA{$class . '::memberAccess'}

or 2 conditions

line l !l condition
21 0 0 shift() || die($package . '->' . $name . ' called for nothing!')
232 0 2 $class->MRP::BaseClass::_fields || {}
233 0 2 &MRP::Introspection::hash($class, 'delegates') || {}
234 0 2 &MRP::Introspection::array($class, 'public_vars') || []
243 0 2 &MRP::Introspection::array($class, 'defaults') || []
253 2 0 &MRP::Introspection::ISA($class) || []
682 0 0 ref $ref || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
22 0 0 0 ref $self || $self
29 0 0 0 $member =~ /$name/i or $name =~ /$member/i
37 0 0 0 $funcn =~ /$name/i or $name =~ /$funcn/i
53 0 0 0 ref $ref || $ref
111 0 0 0 shift() || confess('You must give an object to rebless')
112 0 0 0 shift() || confess("You must give a package to rebless $self into")
282 0 0 0 $MRP::BaseClass::cache{$isa} || do { $isa->MRP::BaseClass::check4Clashes, $MRP::BaseClass::cache{$isa} }
456 0 0 2 %all || %$delegates
508 0 0 0 $item ||= $name
533 0 0 0 $item ||= $name
549 0 0 0 $item ||= $name
574 0 0 0 $item ||= $name
591 0 0 0 $item ||= $name
626 0 0 0 $item ||= $name