Condition Coverage

blib/lib/Net/SNTP/Client.pm
Criterion Covered Total %
condition 12 29 41.3


and 3 conditions

line !l l&&!r l&&r condition
190 2 0 0 $@ and $@ =~ /Error Creating Socket/
242 2 0 0 $@ and $@ =~ /Error Sending/
255 2 0 0 $@ and $@ =~ /Error Receiving/
2 0 0 $@ and $@ =~ /Error Timeout/
270 2 0 0 $@ and $@ =~ /Error Closing Socket/
451 0 5 6 defined $numericInput and $numericInput =~ /^[0-9]+$/
5 0 6 defined $numericInput and $numericInput =~ /^[0-9]+$/ and $numericInput > 0
461 0 1 5 $port >= 1 and 65536 >= $port

or 2 conditions

line l !l condition
186 2 0 $moduleInput{'-port'} || 123

or 3 conditions

line l !l&&r !l&&!r condition
472 0 0 0 $input eq '0' or $input eq '1'