Branch Coverage

blib/lib/Ingres/Utility/IIMonitor.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
90 0 0 unless ($serverId)
93 0 0 unless (defined $ENV{'II_SYSTEM'})
98 0 0 unless (-x $iimonitor_file)
102 0 0 unless $$this{'xpct'} = 'Expect::Simple'->new({'Cmd', "$iimonitor_file $serverId", 'Prompt', [-'re', 'IIMONITOR>\\s+'], 'DisconnectCmd', 'QUIT', 'Verbose', 0, 'Debug', 0, 'Timeout', 10})
131 0 0 @_ ? :
132 0 0 if ($serverStatus)
133 0 0 if ($serverStatus ne 'LISTEN')
134 0 0 if ($serverStatus ne 'SHUTDOWN')
167 0 0 unless ($serverStatus)
170 0 0 if ($serverStatus ne 'SHUT')
171 0 0 if ($serverStatus ne 'CLOSED')
172 0 0 if ($serverStatus ne 'OPEN')
237 0 0 @_ ? :
238 0 0 if ($target eq 'FORMATTED' or $target eq 'STATS') { }
240 0 0 if (@_)
248 0 0 if ($target ne 'USER' and $target ne 'SYSTEM' and $target ne 'ALL' and $target ne '')
255 0 0 @_ ? :
256 0 0 if ($mode ne 'FORMATTED' and $mode ne 'STATS' and $mode ne '')
306 0 0 if ($$this{'sessPtr'} >= scalar @{$$this{'sessOutArray'};})
313 0 0 if (/^session\s/i) { }
0 0 elsif (@foo = /^\s+(user)\:\s(.*)\((.*)\s+.*\)/i) { }
0 0 elsif (@foo = /^\s+(db\sname)\:\s(.*)\((owned\sby)\:\s(.*)\s+\)/i) { }
0 0 elsif (@foo = /^\s+(application\scode)\:\s(.*)\s(current\sfacility)\:\s(.*)\s+\((.*)\)/i) { }
0 0 elsif (@foo = /^\s+(.*)\:\s+(.*:.*)/) { }
0 0 elsif (@foo = /^\s+(.*)\:\s*(.*)/) { }
314 0 0 if ($$this{'sessMode'} eq 'STATS') { }
315 0 0 if (@foo = /^(session)\s([0-9A-Fa-f]+)\s+\((.*)\)(\s*)(.*)/i)
316 0 0 if (scalar keys %sess > 0)
321 0 0 if (defined $5)
327 0 0 if (defined $stats[$j + 1])
336 0 0 if (@foo = /^(session)\s([0-9A-Fa-f]+)\s+\((.*)\)\s+(cs_state)\:\s(.*)\s\((.*)\)\s(cs_mask)\:\s(.*)/i)
337 0 0 if (scalar keys %sess > 0)
372 0 0 if (defined $foo[$j])
375 0 0 if (defined $foo[$j + 1])