PostgreSQL/Vector.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PostgreSQL/Test/SequenceTest.pm ↑ Summary Shortcut/pg.pm »
1 package DBIO::PostgreSQL::Vector;
2 # ABSTRACT: pgvector distance-query helpers for DBIO::PostgreSQL
3  
4 31 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 31 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 31 our $VERSION = '0.900004';
8  
9 31 ▶use DBIO::PostgreSQL::Vector::Op ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 31 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 31 our @EXPORT_OK = qw(vector);
13  
14 46 ▶sub vector {
Subroutine vector: called CC=1 SCAR=0.0
Pod documented
15 46 my ( $col, %opts ) = @_;
16 46 return DBIO::PostgreSQL::Vector::Op->new( col => $col, %opts );
17 }
18  
19  
20  
21 31 1;
22  
23 __END__
« PostgreSQL/Test/SequenceTest.pm ↑ Summary Shortcut/pg.pm »