| blib/lib/FBP/RadioBox.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::RadioBox; | ||||||
| 2 | |||||||
| 3 | 4 | 4 | 22 | use Mouse; | |||
| 4 | 6 | ||||||
| 4 | 22 | ||||||
| 4 | |||||||
| 5 | our $VERSION = '0.41'; | ||||||
| 6 | |||||||
| 7 | extends 'FBP::ControlWithItems'; | ||||||
| 8 | |||||||
| 9 | has label => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => 'Str', | ||||||
| 12 | required => 1, | ||||||
| 13 | default => '', | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | has selection => ( | ||||||
| 17 | is => 'ro', | ||||||
| 18 | isa => 'Int', | ||||||
| 19 | required => 1, | ||||||
| 20 | ); | ||||||
| 21 | |||||||
| 22 | has majorDimension => ( | ||||||
| 23 | is => 'ro', | ||||||
| 24 | isa => 'Int', | ||||||
| 25 | required => 1, | ||||||
| 26 | ); | ||||||
| 27 | |||||||
| 28 | has style => ( | ||||||
| 29 | is => 'ro', | ||||||
| 30 | isa => 'Str', | ||||||
| 31 | ); | ||||||
| 32 | |||||||
| 33 | has OnRadioBox => ( | ||||||
| 34 | is => 'ro', | ||||||
| 35 | isa => 'Str', | ||||||
| 36 | ); | ||||||
| 37 | |||||||
| 38 | 4 | 4 | 1383 | no Mouse; | |||
| 4 | 172 | ||||||
| 4 | 24 | ||||||
| 39 | __PACKAGE__->meta->make_immutable; | ||||||
| 40 | |||||||
| 41 | 1; |