blib/lib/WebService/Box/Types/By.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WebService::Box::Types::By; | ||||||
2 | |||||||
3 | 11 | 11 | 38867 | use strict; | |||
11 | 23 | ||||||
11 | 401 | ||||||
4 | 11 | 11 | 55 | use warnings; | |||
11 | 20 | ||||||
11 | 330 | ||||||
5 | |||||||
6 | 11 | 11 | 3384 | use Moo; | |||
11 | 66540 | ||||||
11 | 115 | ||||||
7 | 11 | 11 | 11981 | use Types::Standard qw(Str Int); | |||
11 | 185902 | ||||||
11 | 128 | ||||||
8 | |||||||
9 | our $VERSION = 0.01; | ||||||
10 | |||||||
11 | has [qw/type name login/] => (is => 'ro', isa => Str, required => 1); | ||||||
12 | has id => (is => 'ro', isa => Int, required => 1); | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |