Condition Coverage

blib/lib/Sub/Delete.pm
Criterion Covered Total %
condition 17 25 68.0


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
35 0 0 16 $stashname =~ /^(?:(?!\d)\w*(?:::\w*)*)\z/ && $key =~ /^(?!\d)\w+\z/
52 3 0 13 keys %imported_slots == 1 and exists $imported_slots{'SCALAR'}
0 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
60 0 1 7 !$check_importedness || $imported_slots{$_}