blib/lib/Data/Rx/TypeBundle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 8 | 87.5 |
branch | 0 | 2 | 0.0 |
condition | 1 | 3 | 33.3 |
subroutine | 3 | 4 | 75.0 |
pod | 0 | 2 | 0.0 |
total | 11 | 19 | 57.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 414 | use v5.12.0; | |||
1 | 4 | ||||||
2 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 126 | ||||||
3 | package Data::Rx::TypeBundle 0.200008; | ||||||
4 | # ABSTRACT: base class for type bundles | ||||||
5 | |||||||
6 | sub prefix_pairs { | ||||||
7 | 70 | 0 | 33 | 70 | 0 | 204 | return if ref $_[0] and $_[0]->{no_prefix}; |
8 | 70 | 290 | $_[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__ |