blib/lib/URI/Match.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
17 | 2 | 10 | if (@_ == 1) |
27 | 7 | 5 | if $self->_match($part, $cond) |
36 | 12 | 0 | $self->can($part) ? : |
2 | 12 | !defined($part) ? : | |
42 | 10 | 4 | if (not $ref or $ref eq 'Regexp') { } |
2 | 2 | elsif ($ref eq 'CODE') { } | |
2 | 0 | elsif (my $code = eval { do { $cond->can('match') } }) { } |