blib/lib/Neo4j/Bolt/Path.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Neo4j::Bolt::Path; | ||||||
2 | # ABSTRACT: Representation of Neo4j Path | ||||||
3 | |||||||
4 | $Neo4j::Bolt::Path::VERSION = '0.4203'; | ||||||
5 | |||||||
6 | 6 | 6 | 68 | use strict; | |||
6 | 12 | ||||||
6 | 191 | ||||||
7 | 6 | 6 | 37 | use warnings; | |||
6 | 11 | ||||||
6 | 154 | ||||||
8 | |||||||
9 | 6 | 6 | 25 | use parent 'Neo4j::Types::Path'; | |||
6 | 11 | ||||||
6 | 33 | ||||||
10 | |||||||
11 | sub as_simple { | ||||||
12 | 1 | 1 | 1 | 2 | my ($self) = @_; | ||
13 | |||||||
14 | 1 | 8 | return [ @$self ]; | ||||
15 | } | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |