File Coverage

blib/lib/OpenSearch/Security/ReloadTransportCerts.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::Security::ReloadTransportCerts;
2 4     4   32 use strict;
  4         13  
  4         181  
3 4     4   25 use warnings;
  4         13  
  4         350  
4 4     4   32 use Moo;
  4         8  
  4         34  
5 4     4   1932 use Types::Standard qw(InstanceOf);
  4         12  
  4         43  
6 4     4   7439 use feature qw(signatures);
  4         12  
  4         636  
7 4     4   28 no warnings qw(experimental::signatures);
  4         18  
  4         740  
8              
9             has '_base' => (
10             is => 'rw',
11             isa => InstanceOf ['OpenSearch::Base'],
12             required => 1,
13             );
14              
15 0     0 0   sub execute($self) {
  0            
  0            
16 0           my $res = $self->_base->_put( $self, [ '_plugins', '_security', 'api', 'ssl', 'transport', 'reloadcerts' ] );
17             }
18              
19             1;