| blib/lib/FBP/SpinButton.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 FBP::SpinButton; | ||||||
| 2 | |||||||
| 3 | 4 | 4 | 20 | use Mouse; | |||
| 4 | 12 | ||||||
| 4 | 25 | ||||||
| 4 | |||||||
| 5 | our $VERSION = '0.41'; | ||||||
| 6 | |||||||
| 7 | extends 'FBP::Control'; | ||||||
| 8 | |||||||
| 9 | has style => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => 'Str', | ||||||
| 12 | ); | ||||||
| 13 | |||||||
| 14 | has OnSpin => ( | ||||||
| 15 | is => 'ro', | ||||||
| 16 | isa => 'Str', | ||||||
| 17 | ); | ||||||
| 18 | |||||||
| 19 | has OnSpinUp => ( | ||||||
| 20 | is => 'ro', | ||||||
| 21 | isa => 'Str', | ||||||
| 22 | ); | ||||||
| 23 | |||||||
| 24 | has OnSpinDown => ( | ||||||
| 25 | is => 'ro', | ||||||
| 26 | isa => 'Str', | ||||||
| 27 | ); | ||||||
| 28 | |||||||
| 29 | 4 | 4 | 5887 | no Mouse; | |||
| 4 | 13 | ||||||
| 4 | 19 | ||||||
| 30 | __PACKAGE__->meta->make_immutable; | ||||||
| 31 | |||||||
| 32 | 1; |