blib/lib/Geo/JSON/Role/Geometry.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::Role::Geometry; | ||||||
2 | |||||||
3 | our $VERSION = '0.006'; # VERSION | ||||||
4 | |||||||
5 | # ABSTRACT: Moo::Role representing behaviour of a geojson Geometry object | ||||||
6 | |||||||
7 | 6 | 6 | 4547 | use Moo::Role; | |||
6 | 15 | ||||||
6 | 49 | ||||||
8 | |||||||
9 | 6 | 6 | 2384 | use Types::Standard qw/ Any /; | |||
6 | 19 | ||||||
6 | 69 | ||||||
10 | |||||||
11 | has coordinates => ( is => 'ro', isa => Any, required => 1 ); | ||||||
12 | |||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |