File Coverage

blib/lib/OpenSearch/Cluster/GetSettings.pm
Criterion Covered Total %
statement 18 22 81.8
branch n/a
condition n/a
subroutine 6 7 85.7
pod 0 1 0.0
total 24 30 80.0


line stmt bran cond sub pod time code
1             package OpenSearch::Cluster::GetSettings;
2 4     4   31 use strict;
  4         10  
  4         182  
3 4     4   21 use warnings;
  4         10  
  4         262  
4 4     4   23 use Moo;
  4         8  
  4         29  
5 4     4   1854 use Types::Standard qw(InstanceOf);
  4         9  
  4         32  
6 4     4   6872 use feature qw(signatures);
  4         10  
  4         646  
7 4     4   26 no warnings qw(experimental::signatures);
  4         8  
  4         786  
8              
9             with 'OpenSearch::Parameters::Cluster::GetSettings';
10              
11             has '_base' => (
12             is => 'rw',
13             isa => InstanceOf['OpenSearch::Base'],
14             required => 1,
15             );
16              
17 0     0 0   sub execute($self) {
  0            
  0            
18 0           my $res = $self->_base->_get( $self, [ '_cluster', 'settings' ] );
19             }
20              
21              
22             1;