Branch Coverage

blib/lib/POE/Component/Client/NTP.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
132 0 2 unless $opts{'event'}
135 0 2 unless $opts{'host'}
136 2 0 unless $opts{'port'} and $opts{'port'} =~ /^\d+$/
138 0 2 ref $options eq 'HASH' ? :
151 0 2 if ($kernel == $sender and not $$self{'session'})
155 0 2 if ($$self{'session'}) { }
156 0 0 if (my $ref = $kernel->alias_resolve($$self{'session'})) { }
180 0 2 if ($err)
196 0 2 unless (send($socket, $ntp_msg, 0, $$ai{'addr'}) == length $ntp_msg)
219 0 1 unless (defined $remote_address)