File Coverage

blib/lib/HTTP/Headers/ActionPack/Authorization/Digest.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 2 2 100.0
total 20 20 100.0


line stmt bran cond sub pod time code
1             package HTTP::Headers::ActionPack::Authorization::Digest;
2             BEGIN {
3 4     4   30935 $HTTP::Headers::ActionPack::Authorization::Digest::AUTHORITY = 'cpan:STEVAN';
4             }
5             {
6             $HTTP::Headers::ActionPack::Authorization::Digest::VERSION = '0.09';
7             }
8             # ABSTRACT: The Digest Authorization Header
9              
10 4     4   30 use strict;
  4         9  
  4         130  
11 4     4   20 use warnings;
  4         7  
  4         158  
12              
13 4     4   907 use parent 'HTTP::Headers::ActionPack::Core::BaseAuthHeader';
  4         355  
  4         26  
14              
15 6     6 1 52 sub username { (shift)->params->{'username'} }
16 6     6 1 26 sub realm { (shift)->params->{'realm'} }
17              
18             1;
19              
20             __END__