| line |
true |
false |
branch |
|
20
|
0 |
0 |
defined $options{'null'} ? : |
|
32
|
0 |
2 |
unless &GetOptionsFromArray(\@args, \%options, ("help|h", "man", "v", "vector-string=s", "severity", "score", "base-score", "base-severity", "temporal-score", "temporal-severity", "environmental-score", "environmental-severity", "exploitability-score", "impact-score", "modified-impact-score", "null|0", "format=s", "json", "xml")) |
|
64
|
0 |
2 |
if defined $options{'man'} |
|
65
|
0 |
2 |
if defined $options{'help'} |
|
67
|
0 |
2 |
if (defined $options{'v'}) |
|
89
|
0 |
2 |
unless $vector_string |
|
91
|
2 |
0 |
if defined $options{'json'} |
|
92
|
1 |
1 |
if defined $options{'xml'} |
|
94
|
0 |
2 |
if defined $options{'severity'} |
|
95
|
0 |
2 |
if defined $options{'score'} |
|
99
|
0 |
2 |
if ($@) |
|
104
|
0 |
2 |
if ($options{'base-severity'}) |
|
109
|
0 |
2 |
if ($options{'base-score'}) |
|
114
|
2 |
0 |
if ($cvss->version <= "3.1") |
|
116
|
0 |
2 |
if ($options{'environmental-score'}) |
|
121
|
0 |
2 |
if ($options{'environmental-severity'}) |
|
126
|
0 |
2 |
if ($options{'temporal-score'}) |
|
131
|
0 |
2 |
if ($options{'temporal-severity'}) |
|
136
|
0 |
2 |
if ($options{'impact-score'}) |
|
141
|
0 |
2 |
if ($options{'exploitability-score'}) |
|
146
|
0 |
2 |
if ($options{'modified-impact-score'}) |
|
153
|
1 |
1 |
if ($options{'format'} eq "json") |
|
158
|
1 |
0 |
if ($options{'format'} eq "xml") |