Branch Coverage

blib/lib/Authen/HTTP/Signature.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
397 0 5 unless $request
398 0 5 unless $self->has_get_header
401 0 16 unless $self->get_header->($request, $_)
418 2 3 if (scalar @{$self->headers;} == 1 and $self->headers->[0] =~ /^date$/i) { }
425 0 5 if ($self->has_extensions)
460 0 5 unless $request
463 0 5 unless $key
465 2 3 unless ($self->get_header->($request, 'date'))
472 2 3 if ($self->algorithm =~ /^rsa/) { }
3 0 elsif ($self->algorithm =~ /^hmac/) { }
518 0 6 unless $key
520 0 6 unless $self->has_signing_string
521 0 6 unless $self->has_signature
524 2 4 if ($self->algorithm =~ /^rsa/) { }
4 0 elsif ($self->algorithm =~ /^hmac/) { }