blib/lib/URL/Signature.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
19 | 2 | 3 | unless exists $attrs{'key'} and defined _STRING($attrs{'key'}) |
24 | 0 | 3 | unless defined _CLASS($attrs{'digest'}) and Class::Load::load_class($attrs{'digest'}) |
29 | 0 | 3 | unless defined _POSINT($attrs{'length'}) |
35 | 0 | 3 | unless defined _STRING($attrs{'format'}) and _CLASS $child_class |
41 | 0 | 3 | unless $loaded |
80 | 0 | 5 | if $old_code |
84 | 0 | 5 | if not $code && $uri or $code ne $self->code_for_uri($new_uri) |