SSVC/CoordinatorTriage.pm

filter: Statementstmt 76.0% 57 / 75 Branchbran 50.0% 6 / 12 Conditioncond 33.3% 8 / 24 MC/DCmcdc 0.0% 0 / 13 Subroutinesub 54.1% 13 / 24 Podpod 100% 13 / 13 totaltotal 60.2% 97 / 161 CC 15 SCAR 27.1
CC
15
Cov
64%
new
35.7
report_public
2.0
supplier_contacted
2.0
CRAP 15.0
↑ Summary SSVC.pm »
1 package SSVC::CoordinatorTriage;
2  
3 2 ▶use feature ':5.10';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶use parent 'SSVC::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use Carp ();
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 ▶use constant METADATA => +{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 key => 'coordinator_triage',
14 name => 'Coordinator Triage',
15 description =>
16 'Coordinator decision about whether to decline, track, or actively coordinate a vulnerability report.',
17 url => 'https://certcc.github.io/SSVC/',
18 2 };
19  
20 #<<<
21 2 ▶use constant DECISION_POINTS => +{
Subroutine BEGIN: called CC=1 SCAR=0.0
22 report_public => {
23 vector_name => 'RP',
24 label => 'Report Public',
25 definition => 'Is a viable report of the details of the vulnerability already publicly available?',
26 values => [N => 'no', Y => 'yes'],
27 },
28  
29 supplier_contacted => {
30 vector_name => 'SCON',
31 label => 'Supplier Contacted',
32 definition =>
33 'Has the reporter made a good-faith effort to contact the supplier of the vulnerable component using a quality contact method?',
34 values => [N => 'no', Y => 'yes'],
35 },
36  
37 report_credibility => {
38 vector_name => 'RC',
39 label => 'Report Credibility',
40 definition => 'Is the report credible?',
41 values => [NC => 'not_credible', C => 'credible'],
42 },
43  
44 supplier_cardinality => {
45 vector_name => 'SC',
46 label => 'Supplier Cardinality',
47 definition => 'How many suppliers are responsible for the vulnerable component and its remediation or mitigation plan?',
48 values => [O => 'one', M => 'multiple'],
49 },
50  
51 supplier_engagement => {
52 vector_name => 'SE',
53 label => 'Supplier Engagement',
54 definition =>
55 'Is the supplier responding to the reporter\'s contact effort and actively participating in the coordination effort?',
56 values => [A => 'active', U => 'unresponsive'],
57 },
58  
59 automatable => {
60 vector_name => 'A',
61 label => 'Automatable',
62 definition => 'Can an attacker reliably automate creating exploitation events for this vulnerability?',
63 values => [N => 'no', Y => 'yes'],
64 },
65  
66 value_density => {
67 vector_name => 'VD',
68 label => 'Value Density',
69 definition => 'The concentration of value in the target.',
70 values => [D => 'diffuse', C => 'concentrated'],
71 },
72  
73 safety_impact => {
74 vector_name => 'SI',
75 label => 'Safety Impact',
76 definition => 'The safety impact of the vulnerability.',
77 values => [N => 'negligible', M => 'marginal', R => 'critical', C => 'catastrophic'],
78 },
79  
80 utility => {
81 vector_name => 'U',
82 label => 'Utility',
83 definition => 'The usefulness of the exploit to the adversary, computed from Automatable and Value Density.',
84 values => [L => 'laborious', E => 'efficient', S => 'super_effective'],
85 },
86  
87 public_safety_impact => {
88 vector_name => 'PSI',
89 label => 'Public Safety Impact',
90 definition => 'A coarse-grained representation of impact to public safety, computed from Safety Impact.',
91 values => [M => 'minimal', S => 'significant'],
92 },
93  
94 decision => {
95 vector_name => 'COORDINATE',
96 label => 'Decline, Track, Coordinate',
97 definition => 'The coordinator triage decision.',
98 values => [D => 'decline', T => 'track', C => 'coordinate'],
99 },
100 2 };
101 #>>>
102  
103 2 ▶use constant DECISION_PATH => [qw(RP SCON RC SC SE U PSI)];
Subroutine BEGIN: called CC=1 SCAR=0.0
104 2 ▶use constant VECTOR => [qw(RP SCON RC SC SE VD A SI U PSI COORDINATE)];
Subroutine BEGIN: called CC=1 SCAR=0.0
105  
106 # https://certcc.github.io/SSVC/reference/decision_points/utility/ (Automatable x Value Density -> Utility)
107 # A VD => U
108 2 my %A_VD_to_U = (N => {D => 'L', C => 'E'}, Y => {D => 'E', C => 'S'},);
109  
110 # https://certcc.github.io/SSVC/reference/decision_points/public_safety_impact/ (Safety Impact -> Public Safety Impact)
111 # SI => PSI
112 2 my %SI_to_PSI = (N => 'M', M => 'S', R => 'S', C => 'S');
113  
114 # https://certcc.github.io/SSVC/howto/triage_decision/
115 # (Report Public x Supplier Contacted x Report Credibility x Supplier Cardinality x Supplier Engagement x Utility x Public Safety Impact -> Decision)
116 # RP SCON RC SC SE U PSI => COORDINATE
117 #<<<
118 2 ▶use constant DECISION_TREE => +{
Subroutine BEGIN: called CC=1 SCAR=0.0
119 'N:N:C:M:A:E:M' => 'D', 'N:N:C:M:A:E:S' => 'D', 'N:N:C:M:A:L:M' => 'D', 'N:N:C:M:A:L:S' => 'D',
120 'N:N:C:M:A:S:M' => 'D', 'N:N:C:M:A:S:S' => 'C', 'N:N:C:M:U:E:M' => 'D', 'N:N:C:M:U:E:S' => 'D',
121 'N:N:C:M:U:L:M' => 'D', 'N:N:C:M:U:L:S' => 'D', 'N:N:C:M:U:S:M' => 'D', 'N:N:C:M:U:S:S' => 'C',
122 'N:N:C:O:A:E:M' => 'D', 'N:N:C:O:A:E:S' => 'D', 'N:N:C:O:A:L:M' => 'D', 'N:N:C:O:A:L:S' => 'D',
123 'N:N:C:O:A:S:M' => 'D', 'N:N:C:O:A:S:S' => 'D', 'N:N:C:O:U:E:M' => 'D', 'N:N:C:O:U:E:S' => 'D',
124 'N:N:C:O:U:L:M' => 'D', 'N:N:C:O:U:L:S' => 'D', 'N:N:C:O:U:S:M' => 'D', 'N:N:C:O:U:S:S' => 'D',
125 'N:N:NC:M:A:E:M' => 'D', 'N:N:NC:M:A:E:S' => 'D', 'N:N:NC:M:A:L:M' => 'D', 'N:N:NC:M:A:L:S' => 'D',
126 'N:N:NC:M:A:S:M' => 'D', 'N:N:NC:M:A:S:S' => 'C', 'N:N:NC:M:U:E:M' => 'D', 'N:N:NC:M:U:E:S' => 'D',
127 'N:N:NC:M:U:L:M' => 'D', 'N:N:NC:M:U:L:S' => 'D', 'N:N:NC:M:U:S:M' => 'D', 'N:N:NC:M:U:S:S' => 'C',
128 'N:N:NC:O:A:E:M' => 'D', 'N:N:NC:O:A:E:S' => 'D', 'N:N:NC:O:A:L:M' => 'D', 'N:N:NC:O:A:L:S' => 'D',
129 'N:N:NC:O:A:S:M' => 'D', 'N:N:NC:O:A:S:S' => 'D', 'N:N:NC:O:U:E:M' => 'D', 'N:N:NC:O:U:E:S' => 'D',
130 'N:N:NC:O:U:L:M' => 'D', 'N:N:NC:O:U:L:S' => 'D', 'N:N:NC:O:U:S:M' => 'D', 'N:N:NC:O:U:S:S' => 'D',
131 'N:Y:C:M:A:E:M' => 'D', 'N:Y:C:M:A:E:S' => 'T', 'N:Y:C:M:A:L:M' => 'D', 'N:Y:C:M:A:L:S' => 'T',
132 'N:Y:C:M:A:S:M' => 'C', 'N:Y:C:M:A:S:S' => 'C', 'N:Y:C:M:U:E:M' => 'C', 'N:Y:C:M:U:E:S' => 'C',
133 'N:Y:C:M:U:L:M' => 'C', 'N:Y:C:M:U:L:S' => 'C', 'N:Y:C:M:U:S:M' => 'C', 'N:Y:C:M:U:S:S' => 'C',
134 'N:Y:C:O:A:E:M' => 'D', 'N:Y:C:O:A:E:S' => 'T', 'N:Y:C:O:A:L:M' => 'D', 'N:Y:C:O:A:L:S' => 'D',
135 'N:Y:C:O:A:S:M' => 'D', 'N:Y:C:O:A:S:S' => 'T', 'N:Y:C:O:U:E:M' => 'C', 'N:Y:C:O:U:E:S' => 'C',
136 'N:Y:C:O:U:L:M' => 'T', 'N:Y:C:O:U:L:S' => 'C', 'N:Y:C:O:U:S:M' => 'C', 'N:Y:C:O:U:S:S' => 'C',
137 'N:Y:NC:M:A:E:M' => 'D', 'N:Y:NC:M:A:E:S' => 'T', 'N:Y:NC:M:A:L:M' => 'D', 'N:Y:NC:M:A:L:S' => 'T',
138 'N:Y:NC:M:A:S:M' => 'T', 'N:Y:NC:M:A:S:S' => 'C', 'N:Y:NC:M:U:E:M' => 'D', 'N:Y:NC:M:U:E:S' => 'T',
139 'N:Y:NC:M:U:L:M' => 'D', 'N:Y:NC:M:U:L:S' => 'T', 'N:Y:NC:M:U:S:M' => 'T', 'N:Y:NC:M:U:S:S' => 'C',
140 'N:Y:NC:O:A:E:M' => 'D', 'N:Y:NC:O:A:E:S' => 'T', 'N:Y:NC:O:A:L:M' => 'D', 'N:Y:NC:O:A:L:S' => 'D',
141 'N:Y:NC:O:A:S:M' => 'D', 'N:Y:NC:O:A:S:S' => 'T', 'N:Y:NC:O:U:E:M' => 'D', 'N:Y:NC:O:U:E:S' => 'T',
142 'N:Y:NC:O:U:L:M' => 'D', 'N:Y:NC:O:U:L:S' => 'D', 'N:Y:NC:O:U:S:M' => 'D', 'N:Y:NC:O:U:S:S' => 'T',
143 'Y:N:C:M:A:E:M' => 'D', 'Y:N:C:M:A:E:S' => 'D', 'Y:N:C:M:A:L:M' => 'D', 'Y:N:C:M:A:L:S' => 'D',
144 'Y:N:C:M:A:S:M' => 'D', 'Y:N:C:M:A:S:S' => 'C', 'Y:N:C:M:U:E:M' => 'D', 'Y:N:C:M:U:E:S' => 'D',
145 'Y:N:C:M:U:L:M' => 'D', 'Y:N:C:M:U:L:S' => 'D', 'Y:N:C:M:U:S:M' => 'D', 'Y:N:C:M:U:S:S' => 'C',
146 'Y:N:C:O:A:E:M' => 'D', 'Y:N:C:O:A:E:S' => 'D', 'Y:N:C:O:A:L:M' => 'D', 'Y:N:C:O:A:L:S' => 'D',
147 'Y:N:C:O:A:S:M' => 'D', 'Y:N:C:O:A:S:S' => 'D', 'Y:N:C:O:U:E:M' => 'D', 'Y:N:C:O:U:E:S' => 'D',
148 'Y:N:C:O:U:L:M' => 'D', 'Y:N:C:O:U:L:S' => 'D', 'Y:N:C:O:U:S:M' => 'D', 'Y:N:C:O:U:S:S' => 'D',
149 'Y:N:NC:M:A:E:M' => 'D', 'Y:N:NC:M:A:E:S' => 'D', 'Y:N:NC:M:A:L:M' => 'D', 'Y:N:NC:M:A:L:S' => 'D',
150 'Y:N:NC:M:A:S:M' => 'D', 'Y:N:NC:M:A:S:S' => 'C', 'Y:N:NC:M:U:E:M' => 'D', 'Y:N:NC:M:U:E:S' => 'D',
151 'Y:N:NC:M:U:L:M' => 'D', 'Y:N:NC:M:U:L:S' => 'D', 'Y:N:NC:M:U:S:M' => 'D', 'Y:N:NC:M:U:S:S' => 'C',
152 'Y:N:NC:O:A:E:M' => 'D', 'Y:N:NC:O:A:E:S' => 'D', 'Y:N:NC:O:A:L:M' => 'D', 'Y:N:NC:O:A:L:S' => 'D',
153 'Y:N:NC:O:A:S:M' => 'D', 'Y:N:NC:O:A:S:S' => 'D', 'Y:N:NC:O:U:E:M' => 'D', 'Y:N:NC:O:U:E:S' => 'D',
154 'Y:N:NC:O:U:L:M' => 'D', 'Y:N:NC:O:U:L:S' => 'D', 'Y:N:NC:O:U:S:M' => 'D', 'Y:N:NC:O:U:S:S' => 'D',
155 'Y:Y:C:M:A:E:M' => 'D', 'Y:Y:C:M:A:E:S' => 'D', 'Y:Y:C:M:A:L:M' => 'D', 'Y:Y:C:M:A:L:S' => 'D',
156 'Y:Y:C:M:A:S:M' => 'D', 'Y:Y:C:M:A:S:S' => 'C', 'Y:Y:C:M:U:E:M' => 'D', 'Y:Y:C:M:U:E:S' => 'D',
157 'Y:Y:C:M:U:L:M' => 'D', 'Y:Y:C:M:U:L:S' => 'D', 'Y:Y:C:M:U:S:M' => 'D', 'Y:Y:C:M:U:S:S' => 'C',
158 'Y:Y:C:O:A:E:M' => 'D', 'Y:Y:C:O:A:E:S' => 'D', 'Y:Y:C:O:A:L:M' => 'D', 'Y:Y:C:O:A:L:S' => 'D',
159 'Y:Y:C:O:A:S:M' => 'D', 'Y:Y:C:O:A:S:S' => 'D', 'Y:Y:C:O:U:E:M' => 'D', 'Y:Y:C:O:U:E:S' => 'D',
160 'Y:Y:C:O:U:L:M' => 'D', 'Y:Y:C:O:U:L:S' => 'D', 'Y:Y:C:O:U:S:M' => 'D', 'Y:Y:C:O:U:S:S' => 'D',
161 'Y:Y:NC:M:A:E:M' => 'D', 'Y:Y:NC:M:A:E:S' => 'D', 'Y:Y:NC:M:A:L:M' => 'D', 'Y:Y:NC:M:A:L:S' => 'D',
162 'Y:Y:NC:M:A:S:M' => 'D', 'Y:Y:NC:M:A:S:S' => 'C', 'Y:Y:NC:M:U:E:M' => 'D', 'Y:Y:NC:M:U:E:S' => 'D',
163 'Y:Y:NC:M:U:L:M' => 'D', 'Y:Y:NC:M:U:L:S' => 'D', 'Y:Y:NC:M:U:S:M' => 'D', 'Y:Y:NC:M:U:S:S' => 'C',
164 'Y:Y:NC:O:A:E:M' => 'D', 'Y:Y:NC:O:A:E:S' => 'D', 'Y:Y:NC:O:A:L:M' => 'D', 'Y:Y:NC:O:A:L:S' => 'D',
165 'Y:Y:NC:O:A:S:M' => 'D', 'Y:Y:NC:O:A:S:S' => 'D', 'Y:Y:NC:O:U:E:M' => 'D', 'Y:Y:NC:O:U:E:S' => 'D',
166 'Y:Y:NC:O:U:L:M' => 'D', 'Y:Y:NC:O:U:L:S' => 'D', 'Y:Y:NC:O:U:S:M' => 'D', 'Y:Y:NC:O:U:S:S' => 'D',
167 2 };
168 #>>>
169  
170 192 ▶sub new {
Subroutine new: called CC=15 SCAR=35.8
Pod documented
171  
172 192 my ($class, %params) = @_;
173  
174 192 my $self = $class->SUPER::new(%params);
175  
176 192 ▶ unless ($self->vector_value('A') && $self->vector_value('VD')) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->vector_value("A") and $self->vector_value("VD")) 0 192 192
Condition33%1/3
$self->vector_value("A") and $self->vector_value("VD")
!ll&&!rl&&r
00192
MC/DC0%0/2
$self->vector_value("A") and $self->vector_value("VD")
$self->vector_value("A") $self->vector_value("VD")
Truth table33%1/3
A and B
A= $self->vector_value("A")B= $self->vector_value("VD")
ABresult
0X0
100
111
177 0 Carp::croak "Cannot compute 'utility': need 'automatable' and 'value_density'";
178 }
179  
180 192 my $computed_U = $A_VD_to_U{$self->vector_value('A')}->{$self->vector_value('VD')};
181  
182 192 ▶ if ($self->vector_value('U') && $self->vector_value('U') ne $computed_U) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->vector_value("U") and $self->vector_value("U") ne $computed_U) 0 192 192
Condition33%1/3
$self->vector_value("U") and $self->vector_value("U") ne $computed_U
!ll&&!rl&&r
19200
MC/DC0%0/2
$self->vector_value("U") and $self->vector_value("U") ne $computed_U
$self->vector_value("U") $self->vector_value("U") ne $computed_U
Truth table33%1/3
A and B
A= $self->vector_value("U")B= $self->vector_value("U") ne $computed_U
ABresult
0X0
100
111
183 0 Carp::croak sprintf "Inconsistent 'utility' (got: %s, expected: %s)", $self->vector_value('U'), $computed_U;
184 }
185  
186 192 $self->{vector}->{U} = $computed_U;
187 192 $self->{decision_points}->{utility} = $class->decision_point_labels('utility')->{$computed_U};
188  
189 192 ▶ unless ($self->vector_value('SI')) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->vector_value("SI")) 0 192 192
190 0 Carp::croak "Cannot compute 'public_safety_impact': need 'safety_impact'";
191 }
192  
193 192 my $computed_PSI = $SI_to_PSI{$self->vector_value('SI')};
194  
195 192 ▶ if ($self->vector_value('PSI') && $self->vector_value('PSI') ne $computed_PSI) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->vector_value("PSI") and $self->vector_value("PSI") ne $computed_PSI) 0 192 192
Condition33%1/3
$self->vector_value("PSI") and $self->vector_value("PSI") ne $computed_PSI
!ll&&!rl&&r
19200
MC/DC0%0/2
$self->vector_value("PSI") and $self->vector_value("PSI") ne $computed_PSI
$self->vector_value("PSI") $self->vector_value("PSI") ne $computed_PSI
Truth table33%1/3
A and B
A= $self->vector_value("PSI")B= $self->vector_value("PSI") ne $computed_PSI
ABresult
0X0
100
111
196 0 Carp::croak sprintf "Inconsistent 'public_safety_impact' (got: %s, expected: %s)", $self->vector_value('PSI'),
197 $computed_PSI;
198 }
199  
200 192 $self->{vector}->{PSI} = $computed_PSI;
201 $self->{decision_points}->{public_safety_impact}
202 192 = $class->decision_point_labels('public_safety_impact')->{$computed_PSI};
203  
204 192 ▶ unless ($self->vector_value('RP')
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->vector_value("RP") and $self->vector_value("SCON") and $self->vector_value("RC") and $self->vector_value("SC") and $self->vector_value("SE")) 0 192 192
Condition33%4/12
$self->vector_value("RP") and $self->vector_value("SCON") and $self->vector_value("RC") and $self->vector_value("SC") and $self->vector_value("SE")
!ll&&!rl&&r
00192
$self->vector_value("RP") and $self->vector_value("SCON") and $self->vector_value("RC") and $self->vector_value("SC")
!ll&&!rl&&r
00192
$self->vector_value("RP") and $self->vector_value("SCON") and $self->vector_value("RC")
!ll&&!rl&&r
00192
$self->vector_value("RP") and $self->vector_value("SCON")
!ll&&!rl&&r
00192
MC/DC0%0/5
$self->vector_value("RP") and $self->vector_value("SCON") and $self->vector_value("RC") and $self->vector_value("SC") and $self->vector_value("SE")
$self->vector_value("RP") $self->vector_value("SCON") $self->vector_value("RC") $self->vector_value("SC") $self->vector_value("SE")
Truth table16%1/6
A and B and C and D and E
A= $self->vector_value("RP")B= $self->vector_value("SCON")C= $self->vector_value("RC")D= $self->vector_value("SC")E= $self->vector_value("SE")
ABCDEresult
0XXXX0
10XXX0
110XX0
1110X0
111100
111111
205 && $self->vector_value('SCON')
206 && $self->vector_value('RC')
207 && $self->vector_value('SC')
208 && $self->vector_value('SE'))
209 {
210 0 Carp::croak "Cannot compute 'decision'"
211 . ": need 'report_public', 'supplier_contacted', 'report_credibility', 'supplier_cardinality' and 'supplier_engagement'";
212 }
213  
214 192 my $computed_D = $class->DECISION_TREE->{join ':', map { $self->vector_value($_) } @{$class->DECISION_PATH}};
215  
216 192 ▶ if ($self->vector_value('COORDINATE') && $self->vector_value('COORDINATE') ne $computed_D) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->vector_value("COORDINATE") and $self->vector_value("COORDINATE") ne $computed_D) 0 192 192
Condition33%1/3
$self->vector_value("COORDINATE") and $self->vector_value("COORDINATE") ne $computed_D
!ll&&!rl&&r
19200
MC/DC0%0/2
$self->vector_value("COORDINATE") and $self->vector_value("COORDINATE") ne $computed_D
$self->vector_value("COORDINATE") $self->vector_value("COORDINATE") ne $computed_D
Truth table33%1/3
A and B
A= $self->vector_value("COORDINATE")B= $self->vector_value("COORDINATE") ne $computed_D
ABresult
0X0
100
111
217 0 Carp::croak sprintf "Inconsistent 'decision' (got: %s, expected: %s)", $self->vector_value('COORDINATE'),
218 $computed_D;
219 }
220  
221 192 $self->{vector}->{COORDINATE} = $computed_D;
222 192 $self->{decision} = $class->decision_point_labels('decision')->{$computed_D};
223  
224 192 return $self;
225  
226 }
227  
228 0 ▶sub report_public { shift->{decision_points}->{report_public} }
Subroutine report_public: not called CC=1 SCAR=6.9
Pod documented
229 0 ▶sub supplier_contacted { shift->{decision_points}->{supplier_contacted} }
Subroutine supplier_contacted: not called CC=1 SCAR=6.9
Pod documented
230 0 ▶sub report_credibility { shift->{decision_points}->{report_credibility} }
Subroutine report_credibility: not called CC=1 SCAR=6.9
Pod documented
231 0 ▶sub supplier_cardinality { shift->{decision_points}->{supplier_cardinality} }
Subroutine supplier_cardinality: not called CC=1 SCAR=6.9
Pod documented
232 0 ▶sub supplier_engagement { shift->{decision_points}->{supplier_engagement} }
Subroutine supplier_engagement: not called CC=1 SCAR=6.9
Pod documented
233 0 ▶sub automatable { shift->{decision_points}->{automatable} }
Subroutine automatable: not called CC=1 SCAR=6.9
Pod documented
234 0 ▶sub value_density { shift->{decision_points}->{value_density} }
Subroutine value_density: not called CC=1 SCAR=6.9
Pod documented
235 0 ▶sub safety_impact { shift->{decision_points}->{safety_impact} }
Subroutine safety_impact: not called CC=1 SCAR=6.9
Pod documented
236 0 ▶sub utility { shift->{decision_points}->{utility} }
Subroutine utility: not called CC=1 SCAR=6.9
Pod documented
237 0 ▶sub public_safety_impact { shift->{decision_points}->{public_safety_impact} }
Subroutine public_safety_impact: not called CC=1 SCAR=6.9
Pod documented
238 192 ▶sub decision { shift->{decision} }
Subroutine decision: called CC=1 SCAR=0.0
Pod documented
239  
240 0 ▶sub TO_JSON {
Subroutine TO_JSON: not called CC=1 SCAR=6.9
Pod documented
241  
242 0 my $self = shift;
243  
244 return {
245 0 report_public => $self->report_public,
246 supplier_contacted => $self->supplier_contacted,
247 report_credibility => $self->report_credibility,
248 supplier_cardinality => $self->supplier_cardinality,
249 supplier_engagement => $self->supplier_engagement,
250 automatable => $self->automatable,
251 value_density => $self->value_density,
252 safety_impact => $self->safety_impact,
253 utility => $self->utility,
254 public_safety_impact => $self->public_safety_impact,
255 decision => $self->decision,
256 };
257  
258 }
259  
260 2 1;
261  
262  
263 __END__
↑ Summary SSVC.pm »