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