line |
true |
false |
branch |
131
|
1 |
3 |
unless open L, "< $log" |
180
|
3 |
0 |
if ($$self{'realRoutes'}[0]) { } |
205
|
0 |
0 |
if ($network eq $logicalAnd) { } |
228
|
6 |
14 |
if ($$self{'bestMask'} == 0) { } |
|
3 |
11 |
elsif ($$self{'bestMask'} < $tmpMask) { } |
|
4 |
7 |
elsif ($$self{'bestMask'} == $tmpMask) { } |
269
|
6192 |
12233 |
if ($line =~ /($re) ($re )?/o) |
271
|
6099 |
93 |
if ($2) |
279
|
132 |
2752 |
if ($line =~ /via ($re),\s+.*$/o or $line =~ /(is directly connected.*)$/o or $line =~ /via ($re)$/o) |
286
|
15602 |
71 |
if ($getConnected == 1) |
287
|
51 |
15551 |
if substr($nextHop, 0, 2) eq 'is' |
293
|
20 |
15653 |
if (&NetCheck($network, $mask, $destination)) |
295
|
13 |
7 |
if ($self->bestMaskProc($mask)) |
316
|
1 |
3 |
if ($route =~ /is directly connected.*$/) |
328
|
0 |
3 |
unless (grep /is directly connected.*$/, @output) |
334
|
3 |
0 |
if (grep /is directly connected.*$/, @output) { } |
|
0 |
0 |
elsif ($length > 1) { } |
346
|
0 |
0 |
if ($count == 8) |