blib/lib/URI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 31 | 74.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
70 | 144 | 0 | 136 | $scheme and $scheme =~ /^($scheme_re)(?::|$)/o |
153 | 144 | 0 | 1061 | $scheme and $scheme =~ /\A$scheme_re\z/o |
187 | 58 | 45 | 0 | $@ and not $@ =~ /Can\'t locate.*in \@INC/ |
229 | 63 | 1 | 270 | defined $new and length $new |
239 | 64 | 0 | 0 | $^W and $$self =~ /^$scheme_re:/o |
line | l | !l | condition |
---|---|---|---|
129 | 9 | 37 | $user ||= "" |
357 | 395 | 63 | $self->_scheme || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 1160 | 45 | 0 | implementor($scheme) || do { require URI::_foreign; $impclass = 'URI::_foreign' } |
11 | 1205 | 0 | $impclass ||= implementor($scheme) || do { require URI::_foreign; $impclass = 'URI::_foreign' } | |
101 | 925 | 289 | 0 | $str =~ /^$scheme_re:/o or $class->_no_scheme_ok |
360 | 10 | 43 | 405 | $uc_scheme or $esc |