Condition Coverage

blib/lib/Sub/Delete.pm
Criterion Covered Total %
condition 18 25 72.0


and 2 conditions

line l !l condition
57 7 8 defined *$glob{$_} and !$check_importedness || $imported_slots{$_} ? *$newglob : *alias = *$glob{$_}
59 10 0 defined *$glob{$_} and *$newglob = *$glob{$_}

and 3 conditions

line !l l&&!r l&&r condition
32 0 0 16 $stashname =~ /^(?:(?!\d)\w*(?:::\w*)*)\z/ && $key =~ /^(?!\d)\w+\z/
46 3 0 13 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'}
3 1 12 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'} and not $imported_slots{'SCALAR'}
1 1 11 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'} and not $imported_slots{'SCALAR'} and &Internals::SvREFCNT(\$$glob) == 1
2 0 11 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'} and not $imported_slots{'SCALAR'} and &Internals::SvREFCNT(\$$glob) == 1 and not defined *$glob{'IO'}
1 0 11 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'} and not $imported_slots{'SCALAR'} and &Internals::SvREFCNT(\$$glob) == 1 and not defined *$glob{'IO'} and not defined *$glob{'FORMAT'}

or 3 conditions

line l !l&&r !l&&!r condition
57 0 1 7 !$check_importedness || $imported_slots{$_}