Branch Coverage

blib/lib/Ingres/Utility/Netutil.pm
Criterion Covered Total %
branch 0 144 0.0


line true false branch
121 0 0 if (@_)
125 0 0 exists $params{'USER'} ? :
126 0 0 exists $params{'user'} ? :
128 0 0 exists $params{'VNODE'} ? :
129 0 0 exists $params{'vnode'} ? :
130 0 0 unless (defined $ENV{'II_SYSTEM'})
135 0 0 unless (-x $Netutil_file)
140 0 0 if ($userId)
143 0 0 if ($vnode)
154 0 0 unless ($$this{'xpct'} = 'Expect'->new)
163 0 0 unless ($obj->spawn($Netutil_file, @cmdParams))
189 0 0 if ($obj and @_)
199 0 0 if ($$this{'cmdInject'})
208 0 0 unless ($obj->expect($$this{'timeout'}, @{$$this{'prompt'};}))
218 0 0 if scalar @_ != 3
224 0 0 if (defined $lines[0])
225 0 0 if ($lines[0] eq $cmd)
228 0 0 if (defined $lines[0] and $cmdInject)
229 0 0 if ($lines[0] eq $cmdInject)
241 0 0 @_ ? :
243 0 0 if ($object eq 'LOGIN') { }
0 0 elsif ($object eq 'CONNECTION') { }
253 0 0 if ($$this{'streamType'} ne $object)
257 0 0 unless ($$this{'stream'})
260 0 0 unless ($$this{'streamPtr'})
264 0 0 if (scalar @antes <= $$this{'streamPtr'})
288 0 0 @_ ? :
289 0 0 if ($type)
290 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
296 0 0 @_ ? :
348 0 0 @_ ? :
349 0 0 if ($type)
350 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
356 0 0 @_ ? :
357 0 0 @_ ? :
358 0 0 @_ ? :
359 0 0 @_ ? :
420 0 0 @_ ? :
421 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
426 0 0 @_ ? :
427 0 0 unless ($vnode)
431 0 0 @_ ? :
432 0 0 unless ($user)
436 0 0 @_ ? :
437 0 0 unless ($passwd)
473 0 0 @_ ? :
474 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
479 0 0 @_ ? :
480 0 0 unless ($vnode)
484 0 0 @_ ? :
485 0 0 unless ($addr)
489 0 0 @_ ? :
490 0 0 unless ($proto)
494 0 0 @_ ? :
495 0 0 unless ($listen)
526 0 0 @_ ? :
527 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
532 0 0 @_ ? :
533 0 0 unless ($vnode)
566 0 0 @_ ? :
567 0 0 if ($type ne 'GLOBAL' and $type ne 'PRIVATE')
572 0 0 @_ ? :
573 0 0 unless ($vnode)
577 0 0 @_ ? :
578 0 0 unless ($addr)
582 0 0 @_ ? :
583 0 0 unless ($proto)
587 0 0 @_ ? :
588 0 0 unless ($listen)
607 0 0 @_ ? :
628 0 0 @_ ? :
645 0 0 @_ ? :