GIN/Keys/Join.pm

filter: Statementstmt 100% 23 / 23 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 91.1% 31 / 34 CC 2 SCAR 2.2
CC
2
Cov
96%
join_key
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« GIN/DelegateToIndexed.pm ↑ Summary GIN/SelfIDs.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Search::GIN::Keys::Join;
4  
5 4 our $VERSION = '0.11';
6  
7 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 23 ▶sub join_keys {
Subroutine join_keys: called CC=1 SCAR=0.0
Pod undocumented
11 23 my ( $self, @keys ) = @_;
12 23 map { $self->join_key($_) } @keys;
13 }
14  
15 43 ▶sub join_key {
Subroutine join_key: called CC=2 SCAR=7.0
Pod undocumented
16 43 my ( $self, @key ) = @_;
17 4 ▶ no warnings 'uninitialized';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 43 ▶ join ":", map { ref($_) ? @$_ : $_ } @key;
Branch: 1 branch
BranchTrueFalseTotal
ref $_ ? : 43 0 43
19 }
20  
21 4 1;
« GIN/DelegateToIndexed.pm ↑ Summary GIN/SelfIDs.pm »