line |
true |
false |
branch |
20
|
0 |
0 |
unless ($$self{'target'}->isa('FusionInventory::Agent::Target::Server')) |
26
|
0 |
0 |
unless ($options) |
34
|
0 |
0 |
unless ($address =~ /^$FusionInventory::Agent::Task::WakeOnLan::mac_address_pattern$/) |
42
|
0 |
0 |
unless (@addresses) |
54
|
0 |
0 |
$params{'methods'} ? : |
62
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::EVAL_ERROR) |
78
|
0 |
0 |
unless $FusionInventory::Agent::Task::WakeOnLan::UID == 0 |
79
|
0 |
0 |
unless 'Net::Write::Layer2'->require |
107
|
0 |
0 |
unless socket my $socket, 2, 2, getprotobyname 'udp' |
109
|
0 |
0 |
unless setsockopt $socket, 1, 6, 1 |
118
|
0 |
0 |
unless send $socket, $packet, 0, $destination |
129
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'linux') |
137
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME =~ /freebsd|openbsd|netbsd|gnukfreebsd|gnuknetbsd|dragonfly/) |
145
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'MSWin32') |
163
|
0 |
0 |
if $FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'MSWin32' |
189
|
0 |
0 |
unless $subkey_id =~ m[^\{\S+\}/$] |
193
|
0 |
0 |
unless $$subsubkey{'Connection/'} |
194
|
0 |
0 |
unless $$subsubkey{'Connection/'}{'/PnpInstanceID'} |
195
|
0 |
0 |
unless $$subsubkey{'Connection/'}{'/PnpInstanceID'} eq $pnpid |