| blib/lib/Data/Validate/URI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 30 | 63.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 172 | 13 | 0 | 61 | defined $scheme and length $scheme |
| 13 | 0 | 61 | defined $scheme and length $scheme and defined $path | |
| 175 | 10 | 1 | 50 | defined $authority and length $authority |
| 188 | 10 | 0 | 49 | defined $authority and length $authority |
| 192 | 53 | 0 | 6 | defined $query and length $query |
| 195 | 59 | 0 | 0 | defined $fragment and length $fragment |
| 296 | 25 | 0 | 4 | defined $query and length $query |
| 299 | 29 | 0 | 0 | defined $fragment and length $fragment |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 176 | 11 | 39 | 0 | length $path == 0 or $path =~ m[^/] |
| 284 | 26 | 3 | 0 | Data::Validate::Domain::is_domain($authority) or Data::Validate::IP::is_ipv4($authority) |