blib/lib/Geo/JSON/LineString.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Geo::JSON::LineString; | ||||||
2 | |||||||
3 | our $VERSION = '0.006'; # VERSION | ||||||
4 | |||||||
5 | # ABSTRACT: object representing a geojson LineString | ||||||
6 | |||||||
7 | 4 | 4 | 3806 | use Moo; | |||
4 | 9 | ||||||
4 | 33 | ||||||
8 | extends 'Geo::JSON::Base'; | ||||||
9 | with 'Geo::JSON::Role::Geometry'; | ||||||
10 | |||||||
11 | 4 | 4 | 1628 | use Geo::JSON::Types -types; | |||
4 | 11 | ||||||
4 | 98 | ||||||
12 | |||||||
13 | has '+coordinates' => ( isa => LineString ); | ||||||
14 | |||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |