File Coverage

blib/lib/Geo/SpatialDB/Location.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::SpatialDB::Location;
2             $Geo::SpatialDB::Location::VERSION = '0.000_001'; # TRIAL
3              
4 2     2   6 $Geo::SpatialDB::Location::VERSION = '0.000001';use Moo 2;
  2         24  
  2         8  
5 2     2   1063 use namespace::clean;
  2         13746  
  2         6  
6              
7             # ABSTRACT: A logical entity which can be described by a point on the map
8              
9             extends 'Geo::SpatialDB::Entity';
10              
11             has rel => ( is => 'rw' ); # arrayref of each entity ID related to this location
12             has lat => ( is => 'rw' );
13             has lon => ( is => 'rw' );
14             has rad => ( is => 'rw' ); # in meters
15              
16             1;
17              
18             __END__