Condition Coverage

blib/lib/Extender.pm
Criterion Covered Total %
condition 15 47 31.9


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 ref $extend{$name} eq "SCALAR" and defined ${$extend{$name};}
0 0 0 ref $extend{$name} eq "SCALAR" and defined ${$extend{$name};} and ref ${$extend{$name};} eq "CODE"
78 0 0 1 ref $object and ref $object ne "HASH"
0 0 1 ref $object and ref $object ne "HASH" and ref $object ne "ARRAY"
0 0 1 ref $object and ref $object ne "HASH" and ref $object ne "ARRAY" and ref $object ne "SCALAR"
81 0 0 1 defined $existing_method and $existing_method =~ /^\w+$/
84 0 0 1 defined $new_name and $new_name =~ /^\w+$/
103 0 0 1 defined $method_name and $method_name =~ /^\w+$/
163 0 0 3 defined $role_class and $role_class =~ /^\w+$/
198 0 0 2 defined $class and $class =~ /^\w+$/
231 0 0 1 $original_destroy and ref $self
245 0 0 1 $ref_type and $ref_type ne "CODE"

or 2 conditions

line l !l condition
204 0 2 $$class{"_${hook_name}_hooks"} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
24 0 3 0 exists $INC{$module} or defined *{"${module}::";}
48 4 0 0 ref $object || $object
166 0 2 1 exists $INC{$role_class} or defined *{"${role_class}::";}