Condition Coverage

blib/lib/Net/Prober.pm
Criterion Covered Total %
condition 5 14 35.7


and 3 conditions

line !l l&&!r l&&r condition
24 1 0 20 defined $port and $port ne ''
1 14 6 defined $port and $port ne '' and $port =~ /^\D/

or 2 conditions

line l !l condition
90 0 0 $probe_args{'class'} || 'tcp'

or 3 conditions

line l !l&&r !l&&!r condition
80 0 0 0 not $probe_type or ref $probe_type ne 'HASH'
85 0 0 0 not defined $host or $host eq ''