File Coverage

blib/lib/WebService/SSLLabs/Simulation.pm
Criterion Covered Total %
statement 9 26 34.6
branch n/a
condition n/a
subroutine 3 10 30.0
pod 7 7 100.0
total 19 43 44.1


line stmt bran cond sub pod time code
1             package WebService::SSLLabs::Simulation;
2              
3 3     3   20 use strict;
  3         6  
  3         82  
4 3     3   13 use warnings;
  3         6  
  3         65  
5 3     3   1207 use WebService::SSLLabs::SimClient();
  3         7  
  3         625  
6              
7             our $VERSION = '0.32';
8              
9             sub new {
10 0     0 1   my ( $class, $json ) = @_;
11 0           my $self = $json;
12 0           bless $self, $class;
13 0           $self->{client} = WebService::SSLLabs::SimClient->new( $self->{client} );
14 0           return $self;
15             }
16              
17             sub client {
18 0     0 1   my ($self) = @_;
19 0           return $self->{client};
20             }
21              
22             sub error_code {
23 0     0 1   my ($self) = @_;
24 0           return $self->{errorCode};
25             }
26              
27             sub attempts {
28 0     0 1   my ($self) = @_;
29 0           return $self->{attempts};
30             }
31              
32             sub protocol_id {
33 0     0 1   my ($self) = @_;
34 0           return $self->{protocolId};
35             }
36              
37             sub suite_id {
38 0     0 1   my ($self) = @_;
39 0           return $self->{suiteId};
40             }
41              
42             sub kx_info {
43 0     0 1   my ($self) = @_;
44 0           return $self->{kxInfo};
45             }
46              
47             1;
48             __END__