| line |
true |
false |
branch |
|
13
|
11 |
0 |
unless caller |
|
39
|
8 |
0 |
if ($advisory->{'affected_versions'}) |
|
40
|
8 |
0 |
ref $advisory->{'affected_versions'} ? : |
|
46
|
8 |
0 |
if ($advisory->{'fixed_versions'}) |
|
47
|
8 |
0 |
ref $advisory->{'fixed_versions'} ? : |
|
54
|
8 |
0 |
if ($advisory->{'cves'}) |
|
60
|
8 |
0 |
if ($advisory->{'references'}) |
|
62
|
0 |
8 |
unless $advisory->{'references'} |
|
94
|
8 |
0 |
$result->{'meta'}{'command'} eq 'installed' ? : |
|
|
8 |
0 |
scalar @$advisories == 1 ? : |
|
103
|
2 |
0 |
if length $s |
|
105
|
0 |
2 |
if ($opts->{'no-color'} or $opts->{'ascii'}) { } |
|
117
|
2 |
0 |
if length $s |
|
141
|
0 |
11 |
if ($opts->{'interactive'}) |
|
146
|
1 |
10 |
if $opts->{'help'} |
|
147
|
1 |
9 |
if $opts->{'version'} |
|
149
|
0 |
9 |
if ($opts->{'fresh_check'}) |
|
155
|
1 |
8 |
unless defined $command |
|
165
|
0 |
8 |
if (@{$result->{'errors'};} > 0) |
|
167
|
0 |
0 |
unless ($opts->{'no-color'}) |
|
178
|
0 |
8 |
if ($command eq "show") |
|
185
|
0 |
8 |
if $advisory_count > 62 |
|
188
|
1 |
7 |
if ($opts->{'exit_zero'}) { } |
|
|
0 |
7 |
elsif ($advisory_count == 0) { } |
|
220
|
0 |
11 |
unless my $ret = &Getopt::Long::GetOptionsFromArray($args, $options, %$params) |
|
223
|
6 |
5 |
if $params{'json'} |