Condition Coverage

blib/lib/namespace/local.pm
Criterion Covered Total %
condition 37 54 68.5


and 3 conditions

line !l l&&!r l&&r condition
348 3 2 0 $self->{'next'} and not $self->{'next'}{'done'}
360 5 0 0 $self->{'todo'} and not $self->{'done'}
503 57 21 0 $table->{$name}{$_} and delete $current->{$name}{$_}
572 10 0 2 $restrict->{$name}{$type} and not $touch_not->{$name}{$type}
640 1598 49 508 /^\w+$/ and not $_ =~ /$except/

or 2 conditions

line l !l condition
317 2 23 $ENV{'PERL_NAMESPACE_LOCAL'} || ''
325 33 0 $opt{'caller'} ||= [caller 0]
328 0 33 $opt{'action'} ||= '-below'
521 9 21 $clear_list ||= [$self->read_names]
522 29 1 $table ||= {}
582 268 0 $old_table->{$name} || {}
583 239 29 $new_table->{$name} || {}
584 25 243 $touch_not->{$name} || {}
616 3 50 $diff->{$name}{'SCALAR'} ||= \(undef)
655 37 32 $list ||= [$self->read_names]
735 4 2 &refaddr($new) || 0
5 1 &refaddr($old) || 0

or 3 conditions

line l !l&&r !l&&!r condition
326 0 33 0 $opt{'except_rex'} ||= qr/^[0-9]+$|^_$/
327 0 33 0 $opt{'only_rex'} ||= qr/^/
329 1 32 0 $opt{'target'} ||= $opt{'caller'}[0]
330 0 33 0 $opt{'origin'} ||= join(':', @{$opt{'caller'};}[1, 2])
566 2 0 0 $restrict->{$_} or delete $uniq_name{$_}