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
315 3 2 0 $self->{'next'} and not $self->{'next'}{'done'}
323 5 0 0 $self->{'todo'} and not $self->{'done'}
466 57 21 0 $table->{$name}{$_} and delete $current->{$name}{$_}
535 10 0 2 $restrict->{$name}{$type} and not $touch_not->{$name}{$type}
603 1198 37 396 /^\w+$/ and not $_ =~ /$except/

or 2 conditions

line l !l condition
284 2 21 $ENV{'PERL_NAMESPACE_LOCAL'} || ''
292 30 0 $opt{'caller'} ||= [caller 0]
295 0 30 $opt{'action'} ||= '-below'
484 9 18 $clear_list ||= [$self->read_names]
485 26 1 $table ||= {}
545 211 0 $old_table->{$name} || {}
546 184 27 $new_table->{$name} || {}
547 21 190 $touch_not->{$name} || {}
579 3 46 $diff->{$name}{'SCALAR'} ||= \(undef)
618 34 29 $list ||= [$self->read_names]
698 4 2 &refaddr($new) || 0
5 1 &refaddr($old) || 0

or 3 conditions

line l !l&&r !l&&!r condition
293 0 30 0 $opt{'except_rex'} ||= qr/^[0-9]+$|^_$/
294 0 30 0 $opt{'only_rex'} ||= qr/^/
296 1 29 0 $opt{'target'} ||= $opt{'caller'}[0]
297 0 30 0 $opt{'origin'} ||= join(':', @{$opt{'caller'};}[1, 2])
529 2 0 0 $restrict->{$_} or delete $uniq_name{$_}