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   8762 use 5.008001;
  1         4  
3 1     1   5 use strictures 2;
  1         6  
  1         34  
4             our $VERSION = '0.14';
5              
6 1     1   177 use parent 'GIS::Distance::Formula';
  1         3  
  1         4  
7              
8 1     1   79 use GIS::Distance::Fast;
  1         3  
  1         23  
9 1     1   5 use namespace::clean;
  1         1  
  1         6  
10              
11             *_distance = \&GIS::Distance::Fast::cosine_distance;
12              
13             1;
14             __END__