blib/lib/POE/Component/WakeOnLAN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 16 | 43.7 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 1 | unless $params{'macaddr'} |
21 | 0 | 1 | unless $params{'event'} |
23 | 1 | 0 | unless $params{'port'} and $params{'port'} =~ /^\d+$/ |
24 | 1 | 0 | unless $params{'address'} and Net::IP::Minimal::ip_get_version($params{'address'}) |
27 | 0 | 1 | ref $options eq 'HASH' ? : |
40 | 0 | 1 | if ($kernel == $sender and not $$self{'session'}) |
45 | 0 | 1 | if ($session) { } |
46 | 0 | 0 | if (my $ref = $kernel->alias_resolve($$self{'session'})) { } |