| blib/lib/Data/Rx/TypeBundle.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 8 | 9 | 88.8 |
| branch | 1 | 2 | 50.0 |
| condition | 1 | 3 | 33.3 |
| subroutine | 3 | 4 | 75.0 |
| pod | 0 | 2 | 0.0 |
| total | 13 | 20 | 65.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 292 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 24 | ||||||
| 2 | 1 | 1 | 3 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 104 | ||||||
| 3 | package Data::Rx::TypeBundle; | ||||||
| 4 | # ABSTRACT: base class for type bundles | ||||||
| 5 | $Data::Rx::TypeBundle::VERSION = '0.200007'; | ||||||
| 6 | sub prefix_pairs { | ||||||
| 7 | 54 | 50 | 33 | 54 | 0 | 154 | return if ref $_[0] and $_[0]->{no_prefix}; |
| 8 | 54 | 214 | $_[0]->_prefix_pairs; | ||||
| 9 | } | ||||||
| 10 | |||||||
| 11 | sub without_prefix { | ||||||
| 12 | 0 | 0 | 0 | bless { no_prefix => 1 } => $_[0]; | |||
| 13 | } | ||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 | |||||||
| 17 | __END__ |