Condition Coverage

blib/lib/Package/Stash/PP.pm
Criterion Covered Total %
condition 36 44 81.8


and 2 conditions

line l !l condition
344 8 2 not defined $values{'SCALAR'} and $type ne 'SCALAR' and 0

and 3 conditions

line !l l&&!r l&&r condition
32 57 1 2 ref $package and &reftype($package) ne 'HASH'
57 0 1 ref $package and &reftype($package) eq 'HASH'
103 0 0 271 defined $variable and length $variable
148 57 0 2 $^P & 16 and $sigil eq '&'
0 57 2 $^P and ($^P & 16 and $sigil eq '&')
296 1 0 0 &blessed($namespace) and $namespace->isa('Package::Anon')
344 6 2 2 not defined $values{'SCALAR'} and $type ne 'SCALAR'

or 3 conditions

line l !l&&r !l&&!r condition
32 2 2 58 not defined $package or ref $package and &reftype($package) ne 'HASH'
128 12 14 42 $type eq 'HASH' or $type eq 'ARRAY'
26 4 38 $type eq 'HASH' or $type eq 'ARRAY' or $type eq 'IO'
18 13 25 $type eq 'HASH' or $type eq 'ARRAY' or $type eq 'IO' or $type eq 'CODE'
134 2 1 5 !defined($ref) || $ref eq 'SCALAR' || $ref eq 'REF' || $ref eq 'LVALUE' || $ref eq 'REGEXP' || $ref eq 'VSTRING'
155 1 1 0 $opts{'last_line_num'} || ($first_line_num ||= 0)
250 16 1 14 $sv->isa('B::SV') || $sv->isa('B::SPECIAL') && $B::specialsv_name[$$sv] ne 'Nullsv'