blib/lib/Data/Rx/CoreType.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 18 | 19 | 94.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 553 | use strict; | |||
1 | 2 | ||||||
1 | 29 | ||||||
2 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 41 | ||||||
3 | package Data::Rx::CoreType; | ||||||
4 | # ABSTRACT: base class for core Rx types | ||||||
5 | $Data::Rx::CoreType::VERSION = '0.200006'; | ||||||
6 | 1 | 1 | 5 | use parent 'Data::Rx::CommonType::EasyNew'; | |||
1 | 2 | ||||||
1 | 7 | ||||||
7 | |||||||
8 | 1 | 1 | 37 | use Carp (); | |||
1 | 3 | ||||||
1 | 44 | ||||||
9 | |||||||
10 | sub type_uri { | ||||||
11 | 756 | 756 | 0 | 3772 | sprintf 'tag:codesimply.com,2008:rx/core/%s', $_[0]->subname | ||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |