| blib/lib/Data/Validate/URI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 28 | 38 | 73.6 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 178 | 11 | 0 | 69 | defined $scheme and length $scheme | 
| 11 | 0 | 69 | defined $scheme and length $scheme and defined $path | |
| 181 | 8 | 1 | 60 | defined $authority and length $authority | 
| 194 | 8 | 0 | 59 | defined $authority and length $authority | 
| 198 | 62 | 0 | 5 | defined $query and length $query | 
| 201 | 67 | 0 | 0 | defined $fragment and length $fragment | 
| 256 | 33 | 0 | 4 | defined $query and length $query | 
| 259 | 37 | 0 | 0 | defined $fragment and length $fragment | 
| line | l | !l | condition | 
|---|---|---|---|
| 217 | 18 | 42 | shift() // {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 182 | 9 | 51 | 0 | length $path == 0 or $path =~ m[^/] | 
| 244 | 34 | 3 | 8 | Data::Validate::Domain::is_domain($authority, $options) or Data::Validate::IP::is_ipv4($authority) | 
| 328 | 4 | 1 | 12 | $self //= shift() | 
| 381 | 11 | 2 | 30 | $self //= shift() |