File Coverage

blib/lib/OpenSearch/Remote.pm
Criterion Covered Total %
statement 24 29 82.7
branch n/a
condition n/a
subroutine 8 9 88.8
pod 0 1 0.0
total 32 39 82.0


line stmt bran cond sub pod time code
1             package OpenSearch::Remote;
2 4     4   27 use strict;
  4         28  
  4         201  
3 4     4   24 use warnings;
  4         8  
  4         238  
4 4     4   26 use Moo;
  4         8  
  4         54  
5 4     4   1777 use Types::Standard qw(InstanceOf);
  4         10  
  4         36  
6 4     4   7713 use Data::Dumper;
  4         10  
  4         312  
7 4     4   2083 use OpenSearch::Remote::Info;
  4         16  
  4         186  
8 4     4   34 use feature qw(signatures);
  4         11  
  4         507  
9 4     4   42 no warnings qw(experimental::signatures);
  4         9  
  4         664  
10              
11             has '_base' => (
12             is => 'rw',
13             isa => InstanceOf['OpenSearch::Base'],
14             required => 1,
15             );
16              
17 0     0 0   sub info( $self, @params ) {
  0            
  0            
  0            
18 0           return ( OpenSearch::Remote::Info->new(@params, _base => $self->_base)->execute );
19             }
20              
21             1;