blib/lib/PDF/TableX/Types.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 1 | 3 | 33.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 2 | 4 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package PDF::TableX::Types; | ||||||
2 | |||||||
3 | 1 | 1 | 21801 | use MooseX::Types -declare => [qw/StyleDefinition/]; | |||
0 | |||||||
0 | |||||||
4 | use MooseX::Types::Moose qw/ArrayRef Any/; | ||||||
5 | |||||||
6 | subtype StyleDefinition, as ArrayRef; | ||||||
7 | coerce StyleDefinition, from Any, via { | ||||||
8 | [$_,$_,$_,$_]; | ||||||
9 | }; |