Condition Coverage

blib/lib/Net/Google/SafeBrowsing4/URI.pm
Criterion Covered Total %
condition 12 12 100.0


and 3 conditions

line !l l&&!r l&&r condition
188 3 1 2 not $uri_obj->has_recognized_scheme and $modified_rawuri =~ m[^[^:]+:\d{1,5}(?:/|$)]
228 128 129 3 $uri_obj->host =~ /\.\d[^\.]*$/ and not $uri_obj->host =~ /^(?:2(?:5[0-5]|[0-4][0-9])|[01]?[0-9]{1,2})(?:\.(?:2(?:5[0-5]|[0-4][0-9])|[01]?[0-9]{1,2})){3}$/

or 3 conditions

line l !l&&r !l&&!r condition
58 1 2 278 scalar @args == 0 or not $args[0]
188 23 2 4 not $uri_obj->scheme or not $uri_obj->has_recognized_scheme and $modified_rawuri =~ m[^[^:]+:\d{1,5}(?:/|$)]