| blib/lib/URL/Signature.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 21 | 52.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 19 | 1 | 1 | 3 | exists $attrs{'key'} and defined _STRING($attrs{'key'}) |
| 24 | 0 | 0 | 3 | defined _CLASS($attrs{'digest'}) and Class::Load::load_class($attrs{'digest'}) |
| 35 | 0 | 0 | 3 | defined _STRING($attrs{'format'}) and _CLASS $child_class |
| 84 | 0 | 0 | 5 | $code && $uri |
| line | l | !l | condition |
|---|---|---|---|
| 23 | 0 | 3 | $attrs{'digest'} ||= 'Digest::SHA' |
| 28 | 0 | 3 | $attrs{'length'} ||= 28 |
| 32 | 2 | 1 | $attrs{'format'} ||= 'path' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 84 | 0 | 0 | 5 | not $code && $uri or $code ne $self->code_for_uri($new_uri) |