blib/lib/Gesture/Simple/Match.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Gesture::Simple::Match; | ||||||
2 | 1 | 1 | 6 | use Any::Moose; | |||
1 | 2 | ||||||
1 | 10 | ||||||
3 | |||||||
4 | has gesture => ( | ||||||
5 | is => 'ro', | ||||||
6 | isa => 'Gesture::Simple::Gesture', | ||||||
7 | required => 1, | ||||||
8 | ); | ||||||
9 | |||||||
10 | has template => ( | ||||||
11 | is => 'ro', | ||||||
12 | isa => 'Gesture::Simple::Template', | ||||||
13 | required => 1, | ||||||
14 | handles => ['name'], | ||||||
15 | ); | ||||||
16 | |||||||
17 | has score => ( | ||||||
18 | is => 'ro', | ||||||
19 | isa => 'Num', | ||||||
20 | required => 1, | ||||||
21 | ); | ||||||
22 | |||||||
23 | __PACKAGE__->meta->make_immutable; | ||||||
24 | 1 | 1 | 666 | no Any::Moose; | |||
1 | 2 | ||||||
1 | 5 | ||||||
25 | |||||||
26 | 1; | ||||||
27 |