Branch Coverage

blib/lib/RAS/AS5200.pm
Criterion Covered Total %
branch 1 56 1.7


line true false branch
22 1 0 unless ($$ras{'hostname'})
24 0 0 unless $$ras{'prompt'}
51 0 0 if ($session->errmsg)
61 0 0 if ($$ras{'login'}) { }
63 0 0 if ($session->errmsg)
69 0 0 if ($session->errmsg)
75 0 0 if ($session->errmsg)
80 0 0 if ($session->errmsg)
85 0 0 if ($command =~ s/^ENABLE //)
89 0 0 if ($session->errmsg)
92 0 0 if ($session->errmsg)
100 0 0 if ($session->errmsg)
102 0 0 if ($line eq '[confirm]')
103 0 0 if ($line =~ /^$$ras{'prompt'}$/)
124 0 0 unless $username
125 0 0 if ($$ras{'truncateusernames'})
131 0 0 unless /^\s+\d+ tty \d+\s/ or /^\s+Se\d+\:\d+\s/
134 0 0 if $user eq $username
150 0 0 unless /^\s+\d+ tty \d+\s/ or /^\s+Se\d+\:\d+\s/
170 0 0 unless /^\s+\d+ tty \d+ / or /^\s+Se\d+\:\d+ /
172 0 0 if $user =~ /^\s*$/
183 0 0 unless $username
184 0 0 if ($$ras{'truncateusernames'})
186 0 0 unless @ports
190 0 0 if (/^tty/) { }
0 0 elsif (/^Se/) { }
212 0 0 unless /\s+\d+ packets output, (\d+) bytes.+/
214 0 0 if ($outoctets > $bytelimit)