| blib/lib/FBP/GridSizer.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::GridSizer; | ||||||
| 2 | |||||||
| 3 | 4 | 4 | 24 | use Mouse; | |||
| 4 | 6 | ||||||
| 4 | 27 | ||||||
| 4 | |||||||
| 5 | our $VERSION = '0.41'; | ||||||
| 6 | |||||||
| 7 | extends 'FBP::Sizer'; | ||||||
| 8 | |||||||
| 9 | has rows => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => 'Int', | ||||||
| 12 | required => 1, | ||||||
| 13 | ); | ||||||
| 14 | |||||||
| 15 | has cols => ( | ||||||
| 16 | is => 'ro', | ||||||
| 17 | isa => 'Int', | ||||||
| 18 | required => 1, | ||||||
| 19 | ); | ||||||
| 20 | |||||||
| 21 | has vgap => ( | ||||||
| 22 | is => 'ro', | ||||||
| 23 | isa => 'Int', | ||||||
| 24 | required => 1, | ||||||
| 25 | ); | ||||||
| 26 | |||||||
| 27 | has hgap => ( | ||||||
| 28 | is => 'ro', | ||||||
| 29 | isa => 'Int', | ||||||
| 30 | required => 1, | ||||||
| 31 | ); | ||||||
| 32 | |||||||
| 33 | 4 | 4 | 1494 | no Mouse; | |||
| 4 | 10 | ||||||
| 4 | 18 | ||||||
| 34 | __PACKAGE__->meta->make_immutable; | ||||||
| 35 | |||||||
| 36 | 1; |