blib/lib/URI/Find.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 26 | 76.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
338 | 62 | 0 | 1 | $cruft =~ /^;/ and $orig_match =~ /\&(\#[1-9]\d{1,3}|[a-zA-Z]{2,8})$/ |
361 | 273 | 24 | 18 | $$cruft =~ /\Q$close\E$/ and $open_count == $close_count + 1 |
519 | 238 | 0 | 42 | $uri =~ $self->schemeless_uri_re and not $uri =~ /^$schemeRe:/ |
527 | 259 | 12 | 9 | $uri->isa('URI::_foreign') && !($uri->scheme =~ /$extraSchemesRe/) |
line | l | !l | condition |
---|---|---|---|
120 | 17 | 194 | $escape_func ||= sub { return $_[0]; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
87 | 0 | 208 | 0 | ref $proto || $proto |
116 | 194 | 17 | 0 | @_ == 2 or @_ == 3 |
533 | 9 | 6 | 265 | $has_invalid_scheme or $is_empty |
536 | 0 | 15 | 265 | $@ or not defined $uri |