File Coverage

blib/lib/GIS/Distance/Fast/Cosine.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package GIS::Distance::Fast::Cosine;
2 1     1   7644 use 5.008001;
  1         4  
3 1     1   6 use strictures 2;
  1         5  
  1         27  
4             our $VERSION = '0.16';
5              
6 1     1   162 use parent 'GIS::Distance::Formula';
  1         2  
  1         5  
7              
8 1     1   47 use GIS::Distance::Fast;
  1         2  
  1         25  
9 1     1   5 use namespace::clean;
  1         1  
  1         19  
10              
11             *_distance = \&GIS::Distance::Fast::cosine_distance;
12              
13             1;
14             __END__