| blib/lib/Net/NVD.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 16 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 0 | if exists $args{'format'} and $args{'format'} ne "complete" and $args{'format'} ne "cve" |
| 29 | 2 | 0 | if ($res->{'success'}) |
| 32 | 0 | 2 | $self->{'format'} eq 'complete' ? : |
| 39 | 0 | 2 | $api_key ? : |
| 81 | 0 | 4 | unless exists $translation{$p} |
| 82 | 1 | 3 | if ($translation{$p}{'boolean'}) { } |
| 83 | 1 | 0 | if delete $params{$p} |
| 86 | 0 | 3 | unless $params{$p} =~ /$translation{$p}{'validation'}/u |