Condition Coverage

blib/lib/Net/Prober.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

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

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 1 not $probe_type or ref $probe_type ne 'HASH'
88 0 0 1 not defined $host or $host eq ''