Condition Coverage

lib/NetworkInfo/Discovery/Register.pm
Criterion Covered Total %
condition 0 47 0.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 0 $self->file and -r $self->file
156 0 0 0 $$args{'ip'} and $$args{'mask'}
335 0 0 0 exists $$args{'ip'} and exists $$self{'ip2int'}{$$args{'ip'}}
340 0 0 0 exists $$args{'mac'} and exists $$self{'mac2int'}{$$args{'mac'}}
391 0 0 0 $v and $newint{$k} ne $v
427 0 0 0 $$args{'ip'} and $$args{'mask'} ne ''
464 0 0 0 $$args{'ip'} and $$args{'mask'} ne ''
473 0 0 0 $$self{'subnets'}[$i]{'ip'} eq $$args{'ip'} and $$self{'subnets'}[$i]{'mask'} eq $$args{'mask'}
561 0 0 0 exists $$args{'ip'} and $$args{'ip'}
565 0 0 0 exists $$args{'mask'} and $$args{'mask'} ne ''
570 0 0 0 exists $$args{'mac'} and $$args{'mac'}
870 0 0 0 $1 eq '0.0.0.0' and $2 eq 0

or 2 conditions

line l !l condition
875 0 0 $2 || 32

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 0 ref $proto || $proto
131 0 0 0 $$args{'ip'} or $$args{'mac'}
222 0 0 0 $$args{'ip'} or $$args{'mac'}