Condition Coverage

blib/lib/ArangoDB/ConnectOptions.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
38 1 14 0 defined $$options{'host'} and is_string($$options{'host'})
40 1 12 0 defined $$options{'port'} and is_integer($$options{'port'})
44 1 9 1 defined $$options{'timeout'} and not is_integer($$options{'timeout'})
48 7 2 1 $$options{'auth_type'} and none sub { $$options{'auth_type'} eq $_; } , @supported_auth_type
52 6 2 1 $$options{'auth_user'} and not is_string($$options{'auth_user'})
53 6 1 1 $$options{'auth_passwd'} and not is_string($$options{'auth_passwd'})
54 5 1 1 $$options{'inet_aton'} and not is_code_ref($$options{'inet_aton'})