File Coverage

blib/lib/HTTP/CookieMonster/Cookie.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package HTTP::CookieMonster::Cookie;
2             our $VERSION = '0.11';
3 3     3   399 use strict;
  3         10  
  3         80  
4 3     3   13 use warnings;
  3         6  
  3         62  
5              
6 3     3   442 use Moo;
  3         10027  
  3         14  
7              
8             # in order of args required in $cookie_jar->scan callback
9              
10             has 'version' => ( is => 'rw', );
11             has 'key' => ( is => 'rw', );
12             has 'val' => ( is => 'rw', );
13             has 'path' => ( is => 'rw', );
14             has 'domain' => ( is => 'rw', );
15             has 'port' => ( is => 'rw', );
16             has 'path_spec' => ( is => 'rw', );
17             has 'secure' => ( is => 'rw', );
18             has 'expires' => ( is => 'rw', );
19             has 'discard' => ( is => 'rw', );
20             has 'hash' => ( is => 'rw', );
21              
22             1;
23              
24             # ABSTRACT: Cookie representation used by HTTP::CookieMonster
25              
26             __END__