line |
true |
false |
branch |
20
|
0 |
0 |
unless ($self->{'target'}->isa('FusionInventory::Agent::Target::Server')) |
26
|
0 |
0 |
unless (@options) |
35
|
0 |
0 |
unless ($address =~ /^$FusionInventory::Agent::Task::WakeOnLan::mac_address_pattern$/) |
44
|
0 |
0 |
unless (@addresses) |
56
|
0 |
0 |
$params{'methods'} ? : |
64
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::EVAL_ERROR) |
80
|
0 |
0 |
unless $FusionInventory::Agent::Task::WakeOnLan::UID == 0 |
81
|
0 |
0 |
unless 'Net::Write::Layer2'->require |
109
|
0 |
0 |
unless socket my $socket, 2, 2, getprotobyname 'udp' |
111
|
0 |
0 |
unless setsockopt $socket, 1, 6, 1 |
120
|
0 |
0 |
unless send $socket, $packet, 0, $destination |
131
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'linux') |
139
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME =~ /freebsd|openbsd|netbsd|gnukfreebsd|gnuknetbsd|dragonfly/) |
147
|
0 |
0 |
if ($FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'MSWin32') |
167
|
0 |
0 |
if $FusionInventory::Agent::Task::WakeOnLan::OSNAME eq 'MSWin32' |
191
|
11 |
9 |
unless $subkey_id =~ m[^\{\S+\}/$] |
195
|
62 |
27 |
unless $subsubkey->{'Connection/'} |
196
|
23 |
4 |
unless $subsubkey->{'Connection/'}{'/PnpInstanceID'} |
197
|
2 |
2 |
unless $subsubkey->{'Connection/'}{'/PnpInstanceID'} eq $pnpid |