Condition Coverage

test/attr.pm
Criterion Covered Total %
condition 10 59 16.9


and 3 conditions

line !l l&&!r l&&r condition
6 5 1 0 $type eq 'any' and $type0 =~ /^((?:ref\s*)?(?:array|hash) )?(\w+(?:(?:::|\.)\w+)*)$/
0 0 0 $sub_is_new_hploo and $prev_pack
0 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)
0 0 0 $sub0 ne $isa_sub and not ref $_[0]
0 0 0 $sub0 ne $isa_sub and not ref $_[0] and $isa_sub =~ /^(.*?(?:::)?$sub_name)\::$sub_name$/
0 0 0 $sub0 eq $isa_sub and UNIVERSAL::isa($_[0], $pack)
0 0 0 $isa_sub and defined &$isa_sub
0 0 0 $isa_sub and defined &$isa_sub and $sub0 ne $isa_sub
1 0 0 not defined &Foo and @Foo::ISA > 1
1 0 0 ref $this and UNIVERSAL::isa($this, $class)
1 0 0 ref $ret_this and UNIVERSAL::isa($ret_this, $class)
0 0 0 $Foo::CLASS_HPLOO{'ATTR'} and UNIVERSAL::isa($this, 'HASH')
10 2 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'Foo')
16 0 0 2 ref $_[0] && UNIVERSAL::isa($_[0], 'Foo')

or 2 conditions

line l !l condition
6 0 0 $only_stak || {}
10 0 $_[5] || scalar caller
10 0 2 ref $this || 'Foo'
16 2 0 ref $this || 'Foo'

or 3 conditions

line l !l&&r !l&&!r condition
6 0 0 0 $look_deep or not defined &$isa_sub
0 0 0 $isa_i eq $pack or $isa_i eq 'Class::HPLOO::Base'
0 0 0 !ref($_[0]) && $_[0] ne $prev_pack && !UNIVERSAL::isa($_[0], $prev_pack) || ref $_[0] && !UNIVERSAL::isa($_[0], $prev_pack)