Condition Coverage

blib/lib/Net/SNTP/Server.pm
Criterion Covered Total %
condition 4 32 12.5


and 3 conditions

line !l l&&!r l&&r condition
197 4 0 0 defined $array_IP[0] and defined $array_IP[1]
0 0 0 defined $array_IP[0] and defined $array_IP[1] and defined $array_IP[2]
0 0 0 defined $array_IP[0] and defined $array_IP[1] and defined $array_IP[2] and defined $array_IP[3]
212 0 0 0 $@ and $@ =~ /Error Creating Socket/
248 0 0 0 $@ and $@ =~ /Error Receiving/
291 0 0 0 $@ and $@ =~ /Error Sending/
367 0 0 4 $port >= 1 and 65536 >= $port
377 0 0 4 defined $numericInput and $numericInput =~ /^[0-9]+$/
0 0 4 defined $numericInput and $numericInput =~ /^[0-9]+$/ and $numericInput > 0

or 2 conditions

line l !l condition
208 0 0 $moduleInput{-'ip'} || '127.0.0.1'

or 3 conditions

line l !l&&r !l&&!r condition
259 0 0 0 not defined $ntpdate_tmp[0] or index($ntpdate_tmp[0], 'ntpdc') != -1