blib/lib/Package/Stash/PP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 36 | 44 | 81.8 |
line | l | !l | condition |
---|---|---|---|
353 | 8 | 2 | not defined $values{'SCALAR'} and $type ne 'SCALAR' and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
41 | 57 | 1 | 2 | ref $package and &reftype($package) ne 'HASH' |
57 | 0 | 1 | ref $package and &reftype($package) eq 'HASH' | |
112 | 0 | 0 | 271 | defined $variable and length $variable |
157 | 57 | 0 | 2 | $^P & 16 and $sigil eq '&' |
0 | 57 | 2 | $^P and ($^P & 16 and $sigil eq '&') | |
305 | 1 | 0 | 0 | &blessed($namespace) and $namespace->isa('Package::Anon') |
353 | 6 | 2 | 2 | not defined $values{'SCALAR'} and $type ne 'SCALAR' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 2 | 2 | 58 | not defined $package or ref $package and &reftype($package) ne 'HASH' |
137 | 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' | |
143 | 2 | 1 | 5 | !defined($ref) || $ref eq 'SCALAR' || $ref eq 'REF' || $ref eq 'LVALUE' || $ref eq 'REGEXP' || $ref eq 'VSTRING' |
164 | 1 | 1 | 0 | $opts{'last_line_num'} || ($first_line_num ||= 0) |
259 | 16 | 1 | 14 | $sv->isa('B::SV') || $sv->isa('B::SPECIAL') && $B::specialsv_name[$$sv] ne 'Nullsv' |