line |
true |
false |
branch |
20
|
0 |
1 |
if (exists $$self{'network_command'} and not ref $$self{'network_command'}) |
31
|
0 |
1 |
if ($contents =~ /^$START_TOKEN$/ and $contents =~ qr/^$END_TOKEN$/) |
80
|
2 |
0 |
if (defined $netcmd and not @$netcmd) { } |
88
|
0 |
0 |
if ($^O eq 'linux') |
99
|
0 |
0 |
if ($platform eq 'linux') { } |
|
0 |
0 |
elsif ($platform eq 'darwin') { } |
119
|
0 |
0 |
if (-x '/usr/sbin/rc.d') { } |
|
0 |
0 |
elsif (-x '/etc/init.d/networking') { } |
|
0 |
0 |
elsif (-x '/etc/init.d/network') { } |
123
|
0 |
0 |
if ($services =~ /^\[STARTED\]\[AUTO\] $service$/m) |
128
|
0 |
0 |
unless (defined $cmd) |
148
|
0 |
0 |
if $^O ne 'linux' |