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
186 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]
201 0 0 0 $@ and $@ =~ /Error Creating Socket/
237 0 0 0 $@ and $@ =~ /Error Receiving/
280 0 0 0 $@ and $@ =~ /Error Sending/
356 0 0 4 $port >= 1 and 65535 >= $port
366 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
197 0 0 $moduleInput{-'ip'} || '127.0.0.1'

or 3 conditions

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