GIN/Indexable.pm

filter: Statementstmt 71.4% 15 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 0.0% 0 / 3 totaltotal 61.2% 19 / 31 CC 1 SCAR 3.6
CC
1
Cov
71%
gin_id
2.0
gin_compare_values
2.0
gin_consistent
2.0
CRAP 1.4
« GIN/Core.pm ↑ Summary GIN/DelegateToIndexed.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Search::GIN::Indexable;
4  
5 1 our $VERSION = '0.11';
6  
7 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 requires 'gin_extract_values';
11  
12 0 ▶sub gin_id {
Subroutine gin_id: not called CC=1 SCAR=6.9
Pod undocumented
13 0 my $self = shift;
14 0 return $self;
15 }
16  
17 0 ▶sub gin_compare_values {
Subroutine gin_compare_values: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my ( $self, $one, $two ) = @_;
19 0 $one cmp $two;
20 }
21  
22 0 ▶sub gin_consistent {
Subroutine gin_consistent: not called CC=1 SCAR=6.9
Pod undocumented
23 0 my ( $self, $index, $query, @args ) = @_;
24 0 $query->gin_consistent($index, $self, @args);
25 }
26  
27 1 1;
« GIN/Core.pm ↑ Summary GIN/DelegateToIndexed.pm »