blib/lib/POE/Component/Client/NTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 20 | 45.0 |
line | true | false | branch |
---|---|---|---|
133 | 0 | 2 | unless $opts{'event'} |
136 | 0 | 2 | unless $opts{'host'} |
137 | 2 | 0 | unless $opts{'port'} and $opts{'port'} =~ /^\d+$/ |
139 | 0 | 2 | ref $options eq 'HASH' ? : |
152 | 0 | 2 | if ($kernel == $sender and not $$self{'session'}) |
156 | 0 | 2 | if ($$self{'session'}) { } |
157 | 0 | 0 | if (my $ref = $kernel->alias_resolve($$self{'session'})) { } |
181 | 0 | 2 | if ($err) |
197 | 0 | 2 | unless (send($socket, $ntp_msg, 0, $$ai{'addr'}) == length $ntp_msg) |
220 | 0 | 1 | unless (defined $remote_address) |