File Coverage

blib/lib/OpenSearch/Security/SSLInfo.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::SSLInfo;
2 4     4   30 use strict;
  4         10  
  4         204  
3 4     4   24 use warnings;
  4         11  
  4         256  
4 4     4   27 use Moo;
  4         9  
  4         54  
5 4     4   1813 use Types::Standard qw(InstanceOf);
  4         10  
  4         36  
6 4     4   7249 use feature qw(signatures);
  4         12  
  4         680  
7 4     4   27 no warnings qw(experimental::signatures);
  4         9  
  4         679  
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->_get( $self, [ '_opendistro', '_security', 'sslinfo' ] );
17             }
18              
19             1;