Condition Coverage

blib/lib/Class/HPLOO/Base.pm
Criterion Covered Total %
condition 23 73 31.5


and 3 conditions

line !l l&&!r l&&r condition
56 0 6 0 $sub_is_new_hploo and $prev_pack
6 0 0 $sub_is_new_hploo and $prev_pack and !ref($_[0]) && $_[0] ne $prev_pack && !UNIVERSAL::isa($_[0], $prev_pack) || ref $_[0] && !UNIVERSAL::isa($_[0], $prev_pack)
62 0 3 3 $sub0 ne $isa_sub and not ref $_[0]
3 0 3 $sub0 ne $isa_sub and not ref $_[0] and $isa_sub =~ /^(.*?(?:::)?$sub_name)\::$sub_name$/
66 6 0 0 $sub0 eq $isa_sub and UNIVERSAL::isa($_[0], $pack)
82 0 0 6 $isa_sub and defined &$isa_sub
0 0 6 $isa_sub and defined &$isa_sub and $sub0 ne $isa_sub
166 0 3 1 defined @{"${ISA_i}::ISA";} and @{"${ISA_i}::ISA";} > 2
174 2 0 0 $ret and UNIVERSAL::isa($ret, $class)
192 0 3 1 defined @{"${ISA_i}::ISA";} and @{"${ISA_i}::ISA";} > 2
225 1 0 0 not defined &{"${class}::$class_end";} and @{"${class}::ISA";} > 1
231 0 0 0 defined &{"${ISA_i}::__CLASS__";} and defined &{"${ISA_i}::SUPER";}
0 0 0 defined &{"${ISA_i}::__CLASS__";} and defined &{"${ISA_i}::SUPER";} and defined &{"${ISA_i}::new_call_END";}
239 1 0 0 ref $this and UNIVERSAL::isa($this, $class_bless)
252 0 0 1 ref $ret_this and UNIVERSAL::isa($ret_this, $class_bless)
254 1 0 0 $$CLASS_HPLOO{'ATTR'} and UNIVERSAL::isa($this, 'HASH')
313 0 0 0 $type eq 'any' and $type0 =~ /^((?:ref\s*)?(?:array|hash) )?(\w+(?:(?:::|\.)\w+)*)$/

or 2 conditions

line l !l condition
103 0 0 $only_stak || {}
478 0 0 $_[5] || scalar caller

or 3 conditions

line l !l&&r !l&&!r condition
38 1 0 0 ref $_[0] || ($_[1] ? $_[1] : $_[0])
56 0 0 0 !ref($_[0]) && $_[0] ne $prev_pack && !UNIVERSAL::isa($_[0], $prev_pack) || ref $_[0] && !UNIVERSAL::isa($_[0], $prev_pack)
139 6 0 6 $look_deep or not defined &$isa_sub
141 0 0 6 $isa_i eq $pack or $isa_i eq 'Class::HPLOO::Base'
231 0 0 0 $new_ref == $NEW_REF or defined &{"${ISA_i}::__CLASS__";} and defined &{"${ISA_i}::SUPER";} and defined &{"${ISA_i}::new_call_END";}
237 0 1 0 $this ||= $class