| blib/lib/Thrift/IDL/Constant.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 9 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | n/a | ||
| total | 12 | 12 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Thrift::IDL::Constant; | ||||||
| 2 | |||||||
| 3 | =head1 NAME | ||||||
| 4 | |||||||
| 5 | Thrift::IDL::Constant | ||||||
| 6 | |||||||
| 7 | =head1 DESCRIPTION | ||||||
| 8 | |||||||
| 9 | Inherits from L |
||||||
| 10 | |||||||
| 11 | =cut | ||||||
| 12 | |||||||
| 13 | 6 | 6 | 36 | use strict; | |||
| 6 | 17 | ||||||
| 6 | 228 | ||||||
| 14 | 6 | 6 | 34 | use warnings; | |||
| 6 | 17 | ||||||
| 6 | 182 | ||||||
| 15 | 6 | 6 | 34 | use base qw(Thrift::IDL::Definition); | |||
| 6 | 13 | ||||||
| 6 | 3635 | ||||||
| 16 | __PACKAGE__->mk_accessors(qw(type name value)); | ||||||
| 17 | |||||||
| 18 | =head1 METHODS | ||||||
| 19 | |||||||
| 20 | =head2 type | ||||||
| 21 | |||||||
| 22 | =head2 name | ||||||
| 23 | |||||||
| 24 | =head2 value | ||||||
| 25 | |||||||
| 26 | Scalar accessors | ||||||
| 27 | |||||||
| 28 | =cut | ||||||
| 29 | |||||||
| 30 | 1; |