blib/lib/Toolforge/MixNMatch/Object/User.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 Toolforge::MixNMatch::Object::User; | ||||||
2 | |||||||
3 | 2 | 2 | 161050 | use strict; | |||
2 | 23 | ||||||
2 | 58 | ||||||
4 | 2 | 2 | 10 | use warnings; | |||
2 | 4 | ||||||
2 | 58 | ||||||
5 | |||||||
6 | 2 | 2 | 921 | use Mo qw(is required); | |||
2 | 999 | ||||||
2 | 10 | ||||||
7 | |||||||
8 | our $VERSION = 0.01; | ||||||
9 | |||||||
10 | has count => ( | ||||||
11 | is => 'ro', | ||||||
12 | required => 1, | ||||||
13 | ); | ||||||
14 | |||||||
15 | has uid => ( | ||||||
16 | is => 'ro', | ||||||
17 | required => 1, | ||||||
18 | ); | ||||||
19 | |||||||
20 | has username => ( | ||||||
21 | is => 'ro', | ||||||
22 | required => 1, | ||||||
23 | ); | ||||||
24 | |||||||
25 | 1; | ||||||
26 | |||||||
27 | __END__ |