blib/lib/OpenID/Lite/Role/Storable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 5 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 2 | 50.0 |
pod | 0 | 1 | 0.0 |
total | 4 | 8 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package OpenID::Lite::Role::Storable; | ||||||
2 | |||||||
3 | 2 | 2 | 1421 | use Any::Moose '::Role'; | |||
2 | 5 | ||||||
2 | 13 | ||||||
4 | |||||||
5 | requires qw( | ||||||
6 | store_association | ||||||
7 | get_association | ||||||
8 | remove_association | ||||||
9 | use_nonce | ||||||
10 | cleanup_nonces | ||||||
11 | cleanup_associations | ||||||
12 | ); | ||||||
13 | |||||||
14 | sub cleanup { | ||||||
15 | 0 | 0 | 0 | my $self = shift; | |||
16 | 0 | return ($self->cleanup_nonces, $self->cleanup_associations); | |||||
17 | } | ||||||
18 | |||||||
19 | |||||||
20 | 1; | ||||||
21 | |||||||
22 |