line |
true |
false |
branch |
69
|
0 |
0 |
unless $self->SUPER::install(@_) |
73
|
0 |
0 |
unless my $dg = "Metabrik::Devel::Git"->new_from_brik_init($self) |
76
|
0 |
0 |
if (-d $repo) { } |
77
|
0 |
0 |
unless $repo = $dg->update($url) |
80
|
0 |
0 |
unless $repo = $dg->clone($url) |
83
|
0 |
0 |
unless $self->sudo_execute("pip3 install -r " . $repo . "/requirements.txt") |
137
|
0 |
0 |
unless $self->brik_help_run_undef_arg("cpe_search", $cpe) |
143
|
0 |
0 |
unless my $json = $self->capture($cmd) |
144
|
0 |
0 |
if (@$json <= 0 or @$json == 1 and $json->[0] eq "undef") |
148
|
0 |
0 |
unless my $sj = "Metabrik::String::Json"->new_from_brik_init($self) |
152
|
0 |
0 |
unless my $r = $sj->decode($this) |
166
|
0 |
0 |
unless $self->brik_help_run_undef_arg("cve_search", $cve) |
168
|
0 |
0 |
unless ($cve =~ /^(cve|can)\-\d+\-\d+$/i) |
176
|
0 |
0 |
unless my $json = $self->capture($cmd) |
177
|
0 |
0 |
if (@$json <= 0 or @$json == 1 and $json->[0] eq "undef") |
181
|
0 |
0 |
unless my $sj = "Metabrik::String::Json"->new_from_brik_init($self) |
185
|
0 |
0 |
unless my $r = $sj->decode($this) |
199
|
0 |
0 |
unless my $xml = $self->capture($cmd) |
200
|
0 |
0 |
if (@$xml <= 0 or @$xml == 1 and $xml->[0] eq "undef") |
206
|
0 |
0 |
unless my $sx = "Metabrik::String::Xml"->new_from_brik_init($self) |
208
|
0 |
0 |
unless my $decoded = $sx->decode($xml) |