blib/lib/Kwiki/UserName/Cookie.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 1 | 3 | 33.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 2 | 4 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Kwiki::UserName::Cookie; | ||||||
2 | 1 | 1 | 22867 | use Kwiki::UserName -Base; | |||
0 | |||||||
0 | |||||||
3 | use mixin 'Kwiki::Installer'; | ||||||
4 | |||||||
5 | our $VERSION = "0.01"; | ||||||
6 | |||||||
7 | const class_title => 'Kwiki user name from Cookie'; | ||||||
8 | |||||||
9 | sub register { | ||||||
10 | my $registry = shift; | ||||||
11 | $registry->add(preload => 'user_name'); | ||||||
12 | } | ||||||
13 | |||||||
14 | __DATA__ |