| line |
true |
false |
branch |
|
33
|
1 |
1 |
unless (defined $fh) |
|
46
|
18 |
441 |
if ($lines[$linenumber] =~ /^\={46}$/o) |
|
53
|
1786 |
15 |
if (not $lines[$linenumber] =~ /^\={46}$/o) { } |
|
73
|
0 |
1 |
unless ($ifconfigtext) |
|
80
|
3 |
17 |
if ($line =~ /^(\w+)\s+/o) |
|
82
|
2 |
1 |
unless ($match =~ /ifconfig/o) |
|
87
|
2 |
18 |
if ($line =~ /Link encap:(\w+)\s+/io) |
|
90
|
1 |
19 |
if ($line =~ /HWaddr ($re_mac)/io) |
|
93
|
2 |
18 |
if ($line =~ /inet addr:($re_net_ipv4)/io) |
|
96
|
1 |
19 |
if ($line =~ /bcast:($re_net_ipv4)/io) |
|
99
|
2 |
18 |
if ($line =~ /mask:($re_net_ipv4)/io) |
|
103
|
2 |
18 |
if ($line =~ /MTU:(\d+)/io) |
|
115
|
0 |
2 |
unless (defined $mask) |
|
120
|
0 |
8 |
if ($_ < 0 or $_ > 255) |
|
166
|
1 |
13 |
if ($section[$linenumber] =~ /Issuing 'hostname'/i) |
|
172
|
1 |
0 |
if (defined $hostname) { } |