blib/lib/Neo4j/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 Neo4j::Types; | ||||||
2 | |||||||
3 | 1 | 1 | 498 | use Moose::Util::TypeConstraints; | |||
0 | |||||||
0 | |||||||
4 | |||||||
5 | subtype 'Neo4jData', as 'HashRef[ArrayRef[Str]|Str]'; | ||||||
6 | |||||||
7 | coerce 'Neo4jData', from 'Undef', via { {} }; | ||||||
8 | |||||||
9 | subtype 'URL', as 'Str', where { m!^https?://! }; | ||||||
10 | |||||||
11 | |||||||
12 | 1; |