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
180 3 1 2 not $uri_obj->has_recognized_scheme and $modified_rawuri =~ m[^[^:]+:\d{1,5}(?:/|$)]
220 109 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 259 scalar @args == 0 or not $args[0]
180 23 2 4 not $uri_obj->scheme or not $uri_obj->has_recognized_scheme and $modified_rawuri =~ m[^[^:]+:\d{1,5}(?:/|$)]