line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::SSLLabs::Simulation; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
20
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
83
|
|
4
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
62
|
|
5
|
3
|
|
|
3
|
|
1315
|
use WebService::SSLLabs::SimClient(); |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
616
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.33'; |
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__ |