Condition Coverage

blib/lib/Test/Net/Connect.pm
Criterion Covered Total %
condition 0 11 0.0


and 3 conditions

line !l l&&!r l&&r condition
232 0 0 0 exists $$spec{'host'} && defined $$spec{'host'}

or 2 conditions

line l !l condition
240 0 0 $$spec{'proto'} ||= 'tcp'

or 3 conditions

line l !l&&r !l&&!r condition
232 0 0 0 not exists $$spec{'host'} && defined $$spec{'host'} or $$spec{'host'} =~ /^\s*$/
246 0 0 0 not defined $$spec{'port'} or $$spec{'port'} =~ /^\s*$/